2 #ifndef AtTPC20MGDECAY_H
3 #define AtTPC20MGDECAY_H
7 #include "FairGenerator.h"
11 class TMemberInspector;
12 class FairPrimaryGenerator;
16 Bool_t fOnlyAPBranch{
false};
17 Bool_t fBoxVtxIsSet{
false};
19 Double32_t fX{0}, fY{0}, fZ{0};
20 Double32_t fX1{0}, fY1{0}, fZ1{0}, fX2{0}, fY2{0}, fZ2{0};
21 Bool_t fNuclearDecayChainIsSet{
false};
22 Int_t fParticlesDefinedInNuclearDecay{0};
23 Double32_t fParticleEnergies[50];
24 Double32_t fParticleBranchingRatios[50];
34 virtual Bool_t
Init();
36 void SetXYZ(Double32_t x = 0, Double32_t
y = 0, Double32_t z = 0)
43 void SetBoxXYZ(Double32_t x1 = 0, Double32_t y1 = 0, Double32_t z1 = 0, Double32_t x2 = 0, Double32_t y2 = 0,
55 virtual Bool_t
ReadEvent(FairPrimaryGenerator *primGen);
59 void SetDecayChainPoint(Double32_t ParticleEnergy = 0, Double32_t ParticleBranchingRatio = 0);