PandaRoot
BSEmcPlotMultiHitCluster Class Reference

Plots events where a cluster contains several maxima. More...

#include <BSEmcPlotMultiHitCluster.h>

Inheritance diagram for BSEmcPlotMultiHitCluster:
BSEmcPlotProcess PndProcess< BSEmcPlotData >

Public Member Functions

 BSEmcPlotMultiHitCluster (BSEmc2DMapper *t_mapper=nullptr)
 
virtual ~BSEmcPlotMultiHitCluster ()
 
virtual void Process ()
 The actual data transformation (digitizing, clustering, etc.) should be defined here. More...
 
virtual void InitHistos (const TString &t_folderprefix)
 
void SetMapper (BSEmc2DMapper *t_mapper)
 
- Public Member Functions inherited from BSEmcPlotProcess
 BSEmcPlotProcess ()
 
 BSEmcPlotProcess (const std::string &t_processname)
 
virtual ~BSEmcPlotProcess ()
 
virtual void SetDetectorName (const std::string &t_detectorName)
 Set the Detector name. Important, as most EmcParameter need to know for which detector they need to be fetched (each Emc Subdetector has its own set of parameters) More...
 
virtual void SetData (BSEmcPlotData *t_data)
 Pass the data container ptrs to the process, and store pointers in class members. More...
 
virtual void SetupParameters (const PndParameterRegister *t_parameterRegister)
 Fetch all parameters from the PndParameterRegister. More...
 
void SetFolderPrefix (TString t_prefix)
 
- Public Member Functions inherited from PndProcess< BSEmcPlotData >
 PndProcess ()
 
 PndProcess (const std::string &t_processname)
 
virtual ~PndProcess ()
 
const std::vector< std::string > & GetListOfRequiredParameters () const
 Get the List Of Required Parameters. More...
 
virtual void PreProcess ()
 PreProcess() is called before the actual Process() call in each event. More...
 
virtual void PostProcess ()
 Immediately after calling Process() PostProcess() is called for cleanup of internal process data, or if not needed, to end the time and memory increase measurement started by PreProcess() More...
 
virtual void TearDown ()
 Last actions at the end of the run. More...
 

Additional Inherited Members

- Protected Member Functions inherited from BSEmcPlotProcess
Double_t GetPhiOfInDeg (const TVector3 &t_pos) const
 
Double_t GetThetaOfInDeg (const TVector3 &t_pos) const
 
- Protected Attributes inherited from BSEmcPlotProcess
std::string fPositionParName
 
std::string fNeighbouringRelationParName
 
PndContainerI< PndMCTrack > * fMCTrackArray {nullptr}
 
PndContainerI< BSEmcMCPoint > * fMCPointArray {nullptr}
 
PndContainerI< BSEmcMCHit > * fMCHitArray {nullptr}
 
PndContainerI< BSEmcMultiWaveform > * fWaveformArray {nullptr}
 
PndContainerI< BSEmcDigi > * fDigiArray {nullptr}
 
PndContainerI< BSEmcCluster > * fClusterArray {nullptr}
 
PndContainerI< BSEmcSubCluster > * fSubClusterArray {nullptr}
 
PndContainerI< BSEmcRecoHit > * fRecoHitArray {nullptr}
 
BSEmcGeoNeighbouringRelationParfNeighbouringRelationPar {nullptr}
 
BSEmcCrystalPositionParfPositionPar {nullptr}
 
BSEmcHistogrammerfHistogrammer {nullptr}
 
TString fFolderprefix {""}
 
- Protected Attributes inherited from PndProcess< BSEmcPlotData >
std::vector< std::string > fParameterList
 Parameter names required by this PndProcess. Needs to be populated in derived class. More...
 
std::string fDetectorName
 Set Detector name this PndProcess transforms data for. Required for example by EMC Processes to fetch right parameters. More...
 
std::string fProcessName
 Name of current PndProcess (for debugging) More...
 
TStopwatch fTimer
 Timer to monitor Process() time. More...
 
Double_t fTotalTime
 Time taken by this Process' Process() More...
 
ProcInfo_t fProcInfo
 Helper to access cpu process Memory Info. More...
 
Long_t fLastMemSize
 

Detailed Description

Plots events where a cluster contains several maxima.

Uses a Emc-Detector specific BSEmc2DMapper to create 2D map plots showing digis and their energy

Author
Ben Salisbury salis.nosp@m.bury.nosp@m.@hisk.nosp@m.p.un.nosp@m.i-bon.nosp@m.n.de, HISKP Bonn
Date
2021-02

Definition at line 27 of file BSEmcPlotMultiHitCluster.h.

Constructor & Destructor Documentation

◆ BSEmcPlotMultiHitCluster()

BSEmcPlotMultiHitCluster::BSEmcPlotMultiHitCluster ( BSEmc2DMapper t_mapper = nullptr)

◆ ~BSEmcPlotMultiHitCluster()

virtual BSEmcPlotMultiHitCluster::~BSEmcPlotMultiHitCluster ( )
virtual

Member Function Documentation

◆ InitHistos()

virtual void BSEmcPlotMultiHitCluster::InitHistos ( const TString &  t_folderprefix)
virtual

Implements BSEmcPlotProcess.

◆ Process()

virtual void BSEmcPlotMultiHitCluster::Process ( )
virtual

The actual data transformation (digitizing, clustering, etc.) should be defined here.

Implements BSEmcPlotProcess.

◆ SetMapper()

void BSEmcPlotMultiHitCluster::SetMapper ( BSEmc2DMapper t_mapper)
inline

Definition at line 34 of file BSEmcPlotMultiHitCluster.h.

34 { fMapper = t_mapper; }

The documentation for this class was generated from the following file: