7 #ifndef AtTPCGAMMADUMMYGENERAtOR_H
8 #define AtTPCGAMMADUMMYGENERAtOR_H
10 #include <FairGenerator.h>
14 class FairPrimaryGenerator;
17 class TMemberInspector;
40 void SetPRange(Double32_t pmin = 0, Double32_t pmax = 10)
47 void SetPtRange(Double32_t ptmin = 0, Double32_t ptmax = 10)
51 fPtRangeIsSet = kTRUE;
54 void SetPhiRange(Double32_t phimin = 0, Double32_t phimax = 360)
60 void SetEtaRange(Double32_t etamin = -5, Double32_t etamax = 7)
64 fEtaRangeIsSet = kTRUE;
67 void SetYRange(Double32_t ymin = -5, Double32_t ymax = 7)
78 fThetaRangeIsSet = kTRUE;
83 void SetXYZ(Double32_t x = 0, Double32_t
y = 0, Double32_t z = 0)
88 fPointVtxIsSet = kTRUE;
91 void SetBoxXYZ(Double32_t x1 = 0, Double32_t y1 = 0, Double32_t z1 = 0, Double32_t x2 = 0, Double32_t y2 = 0,
100 fBoxVtxIsSet = kTRUE;
103 void SetDebug(Bool_t debug = 0) { fDebug = debug; }
110 fLorentzBoostIsSet = kTRUE;
120 virtual Bool_t
Init();
125 virtual Bool_t
ReadEvent(FairPrimaryGenerator *primGen);
132 Double32_t fPtMin, fPtMax;
133 Double32_t fPhiMin, fPhiMax;
134 Double32_t fEtaMin, fEtaMax;
135 Double32_t fYMin, fYMax;
136 Double32_t fPMin, fPMax;
137 Double32_t fThetaMin, fThetaMax;
138 Double32_t fX, fY, fZ;
139 Double32_t fX1, fY1, fZ1, fX2, fY2, fZ2;
141 Bool_t fEtaRangeIsSet;
143 Bool_t fThetaRangeIsSet;
144 Bool_t fCosThetaIsSet;
146 Bool_t fPtRangeIsSet;
148 Bool_t fPointVtxIsSet;
153 Double32_t fGammaEnergies[8]{};
154 Double32_t fGammaBranchingRatios[8]{};
155 Int_t fGammasDefinedInNuclearDecay;
156 Double32_t fBetaOfEmittingFragment;
157 Double32_t fGammaFactor;
159 Bool_t fLorentzBoostIsSet;
160 Bool_t fNuclearDecayChainIsSet;