1 #ifndef BSEMCPARAMETERLOADINGPROCESS_HH 2 #define BSEMCPARAMETERLOADINGPROCESS_HH 4 #include "TObjString.h" 26 BSEmcParameterLoadingProcess(
const TString &t_neighbouringFilename =
"EmcCrystalsNeighbouringRelations.txt",
const TString &t_positionparFilename =
"")
27 :
PndProcess(
"BSEmcParameterLoadingProcess"), fNeighbouringFilename(t_neighbouringFilename), fPositionParFilename(t_positionparFilename){};
39 TString fNeighbouringFilename{
"EmcCrystalsNeighbouringRelations.txt"};
40 TString fPositionParFilename{
""};
42 void GetPositionParameterFromCrystals(
BSEmcCrystalPositionPar *t_par, Int_t t_lowerDetectorId, Int_t t_upperDetectorId);
44 void ReadPositionParParameter(
BSEmcCrystalPositionPar *t_par, Int_t t_lowerDetectorId, Int_t t_upperDetectorId);
46 void FillPositionParameter(
BSEmcCrystalPositionPar *t_posPar, Int_t t_inputVersion, Int_t t_lowerDetectorId, Int_t t_upperDetectorId);
Parameter for crystal positions.
void SetPositionParFilename(const TString &t_positionFilename)
void SetupParameters(const PndParameterRegister *t_parameter)
Fetch all parameters from the PndParameterRegister.
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
Neigbouring Relations based on a list of detectorIds.
virtual ~BSEmcParameterLoadingProcess()
void SetNeighbouringFilename(const TString &t_neighbouringFilename)
Mini parameter set to contain position relevant parameter.
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...
BSEmcParameterLoadingProcess(const TString &t_neighbouringFilename="EmcCrystalsNeighbouringRelations.txt", const TString &t_positionparFilename="")
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Process to load neighbouring and position parameters from txtfiles or position values via BSEmcStruct...