PandaRoot
BSEmcPlotSubCluster Class Reference

Creates plots showing the subcluster energy, size, etc. More...

#include <BSEmcPlotSubCluster.h>

Inheritance diagram for BSEmcPlotSubCluster:
BSEmcPlotProcess PndProcess

Public Member Functions

 BSEmcPlotSubCluster ()
 
virtual void RequestDataContainer (PndContainerRegister *t_register)
 Pass the container register to the process, and get the processes container requirements. More...
 
virtual void GetDataContainer (PndContainerRegister *t_register)
 Pass the container register to the process, and set the processes container requirements. More...
 
virtual void Process ()
 The actual data transformation (digitizing, clustering, etc.) should be defined here. More...
 
virtual void InitHistos (const TString &t_folderprefix)
 
- 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 SetupParameters (const PndParameterRegister *)
 Fetch all parameters from the PndParameterRegister. More...
 
void SetFolderPrefix (TString t_prefix)
 
void SetHistogrammer (BSEmcHistogrammer *t_histogrammer)
 
- Public Member Functions inherited from PndProcess
 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< BSEmcMCDeposit > * fMCDepositArray {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
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 {"PndProcess"}
 Name of current PndProcess (for debugging) More...
 
TStopwatch fTimer {}
 Timer to monitor Process() time. More...
 
Double_t fTotalTime {0}
 Time taken by this Process' Process() More...
 
ProcInfo_t fProcInfo
 Helper to access cpu process Memory Info. More...
 
Long_t fLastMemSize
 

Detailed Description

Creates plots showing the subcluster energy, size, etc.

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 21 of file BSEmcPlotSubCluster.h.

Constructor & Destructor Documentation

◆ BSEmcPlotSubCluster()

BSEmcPlotSubCluster::BSEmcPlotSubCluster ( )
inline

Definition at line 23 of file BSEmcPlotSubCluster.h.

References GetDataContainer(), InitHistos(), Process(), and RequestDataContainer().

23 : BSEmcPlotProcess("BSEmcPlotSubCluster") {}

Member Function Documentation

◆ GetDataContainer()

virtual void BSEmcPlotSubCluster::GetDataContainer ( PndContainerRegister )
virtual

Pass the container register to the process, and set the processes container requirements.

Parameters
t_register

Reimplemented from BSEmcPlotProcess.

Referenced by BSEmcPlotSubCluster().

◆ InitHistos()

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

Implements BSEmcPlotProcess.

Referenced by BSEmcPlotSubCluster().

◆ Process()

virtual void BSEmcPlotSubCluster::Process ( )
virtual

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

Implements BSEmcPlotProcess.

Referenced by BSEmcPlotSubCluster().

◆ RequestDataContainer()

virtual void BSEmcPlotSubCluster::RequestDataContainer ( PndContainerRegister )
virtual

Pass the container register to the process, and get the processes container requirements.

Parameters
t_register

Reimplemented from BSEmcPlotProcess.

Referenced by BSEmcPlotSubCluster().


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