17 #ifndef PNDGEMDIGIPAR_H 18 #define PNDGEMDIGIPAR_H 24 #include "FairParGenericSet.h" 25 #include "FairParamList.h" 32 PndGemDigiPar(
const char *name =
"PndGemParTest",
const char *title =
"PndGem digi parameter",
const char *context =
"TestDefaultContext");
50 Int_t
GetStationNr(Int_t sensorId) {
return (sensorId & (15 << 8)) >> 8; }
51 Int_t
GetSensorNr(Int_t sensorId) {
return (sensorId & (15 << 4)) >> 4; }
52 Int_t
GetSegmentNr(Int_t sensorId) {
return (sensorId & (15 << 0)) >> 0; }
72 void CreateStations();
74 TArrayD fGemParameters;
80 Double_t fTrackFinderOnHits_ParThetaA;
81 Double_t fTrackFinderOnHits_ParThetaB;
83 Double_t fTrackFinderOnHits_ParTheta0;
84 Double_t fTrackFinderOnHits_ParTheta1;
85 Double_t fTrackFinderOnHits_ParTheta2;
86 Double_t fTrackFinderOnHits_ParTheta3;
88 Double_t fTrackFinderOnHits_ParRadPhi0;
89 Double_t fTrackFinderOnHits_ParRadPhi2;
91 TArrayD fTrackFinderOnHits_ParMat0;
92 TArrayD fTrackFinderOnHits_ParMat1;
94 std::map<Int_t, PndGemStation *> fStationMap;
95 std::map<TString, Int_t> fDetIdByName;
96 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()