13 #ifndef BSEMCPARAMETERLOADINGPROCESS_HH 14 #define BSEMCPARAMETERLOADINGPROCESS_HH 16 #include "TObjString.h" 38 BSEmcParameterLoadingProcess(
const TString &t_neighbouringFilename =
"EmcCrystalsNeighbouringRelations.txt",
const TString &t_positionparFilename =
"")
39 :
PndProcess(
"BSEmcParameterLoadingProcess"), fNeighbouringFilename(t_neighbouringFilename), fPositionParFilename(t_positionparFilename){};
51 TString fNeighbouringFilename{
"EmcCrystalsNeighbouringRelations.txt"};
52 TString fPositionParFilename{
""};
54 void GetPositionParameterFromCrystals(
BSEmcCrystalPositionPar *t_par, Int_t t_lowerDetectorId, Int_t t_upperDetectorId);
56 void ReadPositionParParameter(
BSEmcCrystalPositionPar *t_par, Int_t t_lowerDetectorId, Int_t t_upperDetectorId);
58 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...