![]() |
PandaRoot
|
Process to create BSEmcMCDeposits out of BSEmcMCPoints. More...
#include <BSEmcMCDepositProductionProcess.h>
Public Member Functions | |
BSEmcMCDepositProductionProcess () | |
virtual | ~BSEmcMCDepositProductionProcess () |
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 | SetupParameters (const PndParameterRegister *t_parameter) |
Fetch all parameters from the PndParameterRegister. More... | |
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 | Process () |
The actual data transformation (digitizing, clustering, etc.) should be defined here. More... | |
void | SetMCParName (const std::string &t_parName) |
void | SetPositionParName (const std::string &t_parName) |
void | SetVolume (BSEmcVolume *t_volume) |
void | SetTrackBranchName (const TString &t_branchname) |
void | SetMCPointBranchName (const TString &t_branchname) |
void | SetMCDepositBranchName (const TString &t_branchname) |
![]() | |
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 | |
virtual Double_t | GetEnergy (const BSEmcMCPoint *t_point) const |
virtual Double_t | GetTime (const BSEmcMCPoint *t_point) const |
virtual Bool_t | GetEntering (const BSEmcMCPoint *t_point) const |
virtual Bool_t | GetExiting (const BSEmcMCPoint *t_point) const |
virtual FairMultiLinkedData | GetTracks (const BSEmcMCPoint *t_point) const |
virtual Int_t | GetMCTrackID (const BSEmcMCPoint *t_point) const |
virtual Bool_t | SkipPoint (const BSEmcMCPoint *t_point) const |
virtual void | CreateDeposits (std::vector< BSEmcMCPoint *> t_points) |
void | Reset () |
Int_t | FindMCIndex (const BSEmcMCPoint *t_point) |
Int_t | FindMCIndexIterative (const BSEmcMCPoint *t_point, Int_t t_mcIndex) |
void | SetClusterIdForPoint (BSEmcMCPoint *t_point) |
void | StoreDeposits () |
virtual void | StoreDeposit (Int_t t_detId, Double_t t_time, std::vector< Int_t > &t_mctrackIds, const FairMultiLinkedData &t_entering, const FairMultiLinkedData &t_exiting) |
ClassDef (BSEmcMCDepositProductionProcess, 1) | |
Protected Attributes | |
std::string | fMCParName {""} |
std::string | fPositionParName {""} |
TString | fTrackBranchname {""} |
TString | fMCPointBranchname {""} |
TString | fMCDepositBranchname {""} |
PndContainerI< PndMCTrack > * | fMCTrackArray {nullptr} |
PndMutableContainerI< BSEmcMCPoint > * | fPointArray {nullptr} |
PndMutableContainerI< BSEmcMCDeposit > * | fMCDepositArray {nullptr} |
Double_t | fEnergyThreshold {-1} |
Double_t | fCutMotherParticle {-1} |
Double_t | fCutSameTrack {-1} |
BSEmcCrystalPositionPar * | fPositionPar {nullptr} |
BSEmcVolume * | fBoundaryVolume {nullptr} |
std::map< Int_t, Float_t > | fTrackEnergy {} |
std::map< Int_t, Float_t > | fTrackTime {} |
std::map< Int_t, std::vector< Int_t > > | fTrackMcTruth {} |
std::map< Int_t, std::vector< Int_t > > | fPointMatch {} |
std::map< Int_t, FairMultiLinkedData > | fTrackEntering {} |
std::map< Int_t, FairMultiLinkedData > | fTrackExiting {} |
std::map< Int_t, const BSEmcMCPoint * > | fLastPointForTrack {} |
std::map< Int_t, std::map< Int_t, Double_t > > | fShower {} |
![]() | |
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 |
Process to create BSEmcMCDeposits out of BSEmcMCPoints.
Based on PndEmcDepositProducer. Sums up all BSEmcMCPoints of a crystals are summed up and stored as BSEmcMCDeposit Additionally Tobias Stockmanns implemented algorithm to determine energy contributions from different entering tracks This process Will set the default BSEmcMCDeposit Container to be fMCDepositBranchname if set. Processes attached to the same task that follow this task will fetch fMCDepositBranchname if they themselves do not specify the requested MCDeposit-Branchname.
Definition at line 102 of file BSEmcMCDepositProductionProcess.h.
BSEmcMCDepositProductionProcess::BSEmcMCDepositProductionProcess | ( | ) |
|
virtual |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
|
virtual |
Pass the container register to the process, and set the processes container requirements.
t_register |
Reimplemented from PndProcess.
|
protectedvirtual |
Reimplemented in BSEmcBarrelZDependentMCDepositProductionProcess.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Implements PndProcess.
|
virtual |
Pass the container register to the process, and get the processes container requirements.
t_register |
Reimplemented from PndProcess.
|
protected |
|
protected |
|
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.
|
inline |
Definition at line 117 of file BSEmcMCDepositProductionProcess.h.
|
inline |
Definition at line 111 of file BSEmcMCDepositProductionProcess.h.
|
inline |
Definition at line 116 of file BSEmcMCDepositProductionProcess.h.
|
inline |
Definition at line 112 of file BSEmcMCDepositProductionProcess.h.
|
inline |
Definition at line 115 of file BSEmcMCDepositProductionProcess.h.
|
virtual |
Fetch all parameters from the PndParameterRegister.
t_parameter |
Implements PndProcess.
Reimplemented in BSEmcBarrelZDependentMCDepositProductionProcess.
|
inline |
Definition at line 113 of file BSEmcMCDepositProductionProcess.h.
|
protectedvirtual |
Reimplemented in BSEmcBarrelZDependentMCDepositProductionProcess.
|
protectedvirtual |
|
protected |
|
protected |
Definition at line 151 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 148 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 149 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 147 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 159 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 146 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 143 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 138 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 142 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 144 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 145 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 156 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 150 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 139 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 160 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 141 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 153 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 157 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 158 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 155 of file BSEmcMCDepositProductionProcess.h.
|
protected |
Definition at line 154 of file BSEmcMCDepositProductionProcess.h.