![]() |
PandaRoot
|
Base Processclass for plotting. More...
#include <BSEmcPlotProcess.h>
Public Member Functions | |
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) |
virtual void | InitHistos (const TString &t_folderprefix)=0 |
virtual void | Process ()=0 |
The actual data transformation (digitizing, clustering, etc.) should be defined here. More... | |
![]() | |
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... | |
Protected Member Functions | |
Double_t | GetPhiOfInDeg (const TVector3 &t_pos) const |
Double_t | GetThetaOfInDeg (const TVector3 &t_pos) const |
Protected Attributes | |
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} |
BSEmcGeoNeighbouringRelationPar * | fNeighbouringRelationPar {nullptr} |
BSEmcCrystalPositionPar * | fPositionPar {nullptr} |
BSEmcHistogrammer * | fHistogrammer {nullptr} |
TString | fFolderprefix {""} |
![]() | |
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 |
Base Processclass for plotting.
Fetches and sets pointers to Emc-Detector Data Containers and fetches often used Emc Parameters
Definition at line 47 of file BSEmcPlotProcess.h.
BSEmcPlotProcess::BSEmcPlotProcess | ( | ) |
BSEmcPlotProcess::BSEmcPlotProcess | ( | const std::string & | t_processname | ) |
|
virtual |
|
protected |
Referenced by SetFolderPrefix().
|
protected |
Referenced by SetFolderPrefix().
|
pure virtual |
|
pure virtual |
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Implements PndProcess< BSEmcPlotData >.
Implemented in BSEmcPlotBarrelFwEndcapOverlap, BSEmcPlotMultiHitCluster, BSEmcPlotRecoHitVsMC, BSEmcPlotAllRecoHits, BSEmcPlotWaveforms, BSEmcPlotCluster, BSEmcPlotDigis, BSEmcPlotMCHits, BSEmcPlotMCPoints, BSEmcPlotRecoHits, and BSEmcPlotSubCluster.
Referenced by SetFolderPrefix().
|
virtual |
Pass the data container ptrs to the process, and store pointers in class members.
t_data |
Implements PndProcess< BSEmcPlotData >.
|
virtual |
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)
t_detectorname |
Reimplemented from PndProcess< BSEmcPlotData >.
|
inline |
Definition at line 56 of file BSEmcPlotProcess.h.
References fFolderprefix, GetPhiOfInDeg(), GetThetaOfInDeg(), InitHistos(), and Process().
|
virtual |
Fetch all parameters from the PndParameterRegister.
t_parameter |
Implements PndProcess< BSEmcPlotData >.
|
protected |
Definition at line 71 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 70 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 78 of file BSEmcPlotProcess.h.
Referenced by SetFolderPrefix().
|
protected |
Definition at line 77 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 68 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 67 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 66 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 75 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 65 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 76 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 64 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 73 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 72 of file BSEmcPlotProcess.h.
|
protected |
Definition at line 69 of file BSEmcPlotProcess.h.