PandaRoot
BSEmcDigiDCSetterProcess.h
Go to the documentation of this file.
1 #ifndef BSEMCDIGIDCSETTERPROCESS_HH
2 #define BSEMCDIGIDCSETTERPROCESS_HH
3 
4 #include <string>
5 
6 #include "Rtypes.h"
7 #include "TString.h"
8 
9 #include "PndOutputContainerI.h"
10 #include "PndProcess.h"
11 
13 #include "BSEmcDigi.h"
14 
16 class BSEmcDigi;
18 class TBuffer;
19 class TClass;
20 class TMemberInspector;
21 template <class T>
23 
32 class BSEmcDigiDCSetterProcess : public PndProcess<BSEmcDigitizationData> {
33  public:
35  virtual ~BSEmcDigiDCSetterProcess();
36 
37  virtual void SetDetectorName(const std::string &t_detectorName) /*override*/;
38  virtual void SetupParameters(const PndParameterRegister *t_parameterRegister) /*override*/;
39  virtual void SetData(BSEmcDigitizationData *t_data) /*override*/;
40  virtual void Process() /*override*/;
41 
42  private:
43  PndOutputContainerI<BSEmcDigi> *fDigiArray{nullptr};
44  BSEmcDataConcentratorLookUp fDCLookUp{};
45  ClassDef(BSEmcDigiDCSetterProcess, 1);
46 };
47 
48 #endif /*BSEMCDIGIDCSETTERPROCESS_HH*/
Base Process class.
Definition: PndProcess.h:24
rudimentary if-statement heavy lookup for data concentrator number for each crystal (detectorId) deve...
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 b...
Sets the DataConcentrator number for a BSEmcDigi.
represents the reconstructed hit of one emc crystal
Definition: BSEmcDigi.h:47
virtual ~BSEmcDigiDCSetterProcess()
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
virtual void SetupParameters(const PndParameterRegister *t_parameterRegister)
Fetch all parameters from the PndParameterRegister.
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
virtual void SetData(BSEmcDigitizationData *t_data)
Pass the data container ptrs to the process, and store pointers in class members. ...
DataStruct to pass addresses to data Container between BSEmcDigitizerTask and PndProcess<BSEmcDigitiz...