29 #ifndef PNDGEMDIGIPAR_H 30 #define PNDGEMDIGIPAR_H 36 #include "FairParGenericSet.h" 37 #include "FairParamList.h" 44 PndGemDigiPar(
const char *name =
"PndGemParTest",
const char *title =
"PndGem digi parameter",
const char *context =
"TestDefaultContext");
62 Int_t
GetStationNr(Int_t sensorId) {
return (sensorId & (15 << 8)) >> 8; }
63 Int_t
GetSensorNr(Int_t sensorId) {
return (sensorId & (15 << 4)) >> 4; }
64 Int_t
GetSegmentNr(Int_t sensorId) {
return (sensorId & (15 << 0)) >> 0; }
84 void CreateStations();
86 TArrayD fGemParameters;
92 Double_t fTrackFinderOnHits_ParThetaA;
93 Double_t fTrackFinderOnHits_ParThetaB;
95 Double_t fTrackFinderOnHits_ParTheta0;
96 Double_t fTrackFinderOnHits_ParTheta1;
97 Double_t fTrackFinderOnHits_ParTheta2;
98 Double_t fTrackFinderOnHits_ParTheta3;
100 Double_t fTrackFinderOnHits_ParRadPhi0;
101 Double_t fTrackFinderOnHits_ParRadPhi2;
103 TArrayD fTrackFinderOnHits_ParMat0;
104 TArrayD fTrackFinderOnHits_ParMat1;
106 std::map<Int_t, PndGemStation *> fStationMap;
107 std::map<TString, Int_t> fDetIdByName;
108 std::map<TString, PndGemSensor *> fSensorByName;
PndGemStation * GetStation(Int_t iStation)
Double_t GetTrackFinderOnHits_ParTheta1()
Double_t GetTrackFinderOnHits_ParThetaB()
Double_t GetTrackFinderOnHits_ParTheta3()
PndGemStation * GetStationByNr(Int_t stationNr)
Double_t GetTrackFinderOnHits_ParMat1(Int_t in)
Digitization Parameter Class for GEM part.
Int_t GetSensorNr(Int_t sensorId)
Bool_t getParams(FairParamList *list)
Int_t GetSegmentNr(Int_t sensorId)
PndGemDigiPar(const char *name="PndGemParTest", const char *title="PndGem digi parameter", const char *context="TestDefaultContext")
Double_t GetTrackFinderOnHits_ParTheta0()
void putParams(FairParamList *list)
Double_t GetTrackFinderOnHits_ParMat0(Int_t in)
Int_t GetDetectorIdByName(TString sensorName)
TString GetNodeName(Int_t sensorId)
Int_t GetStationNr(Int_t sensorId)
PndGemSensor * GetSensorByName(TString sensorName)
Double_t GetTrackFinderOnHits_ParRadPhi2()
PndGemSensor * GetSensor(Int_t stationNr, Int_t sensorNr)
PndGemSensor * GetSensor(Int_t sensorId)
Double_t GetTrackFinderOnHits_ParThetaA()
Double_t GetTrackFinderOnHits_ParTheta2()
Double_t GetTrackFinderOnHits_ParRadPhi0()
TObjArray * GetStations()