BoxGenerator¶
-
class PndBoxGenerator : public PndTargetGenerator¶
Public Functions
-
PndBoxGenerator()¶
Default constructor.
-
PndBoxGenerator(Int_t pdgid, Int_t mult = 1)¶
Constructor with PDG-ID, multiplicity
- Parameters
pdgid – Particle type (PDG encoding)
mult – Multiplicity (default is 1)
-
inline virtual ~PndBoxGenerator()¶
Destructor
-
inline void SetPDGType(Int_t pdg)¶
Modifiers
-
inline void SetMultiplicity(Int_t mult)¶
-
inline void SetPRange(Double32_t pmin = 0, Double32_t pmax = 10)¶
-
inline void SetPtRange(Double32_t ptmin = 0, Double32_t ptmax = 10)¶
-
inline void SetPhiRange(Double32_t phimin = 0, Double32_t phimax = 360)¶
-
inline void SetEtaRange(Double32_t etamin = -5, Double32_t etamax = 7)¶
-
inline void SetYRange(Double32_t ymin = -5, Double32_t ymax = 7)¶
-
inline void SetThetaRange(Double32_t thetamin = 0, Double32_t thetamax = 90)¶
-
inline void SetCosTheta()¶
-
inline void SetInverseP()¶
-
inline void SetXYZ(Double32_t x = 0, Double32_t y = 0, Double32_t z = 0)¶
-
inline void SetBoxXYZ(Double32_t x1 = 0, Double32_t y1 = 0, Double32_t x2 = 0, Double32_t y2 = 0, Double32_t z = 0)¶
-
inline void SetDebug(Bool_t debug = 0)¶
-
virtual Bool_t Init()¶
Initializer
-
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)¶
Creates an event with given type and multiplicity.
- Parameters
primGen – pointer to the FairPrimaryGenerator
-
PndBoxGenerator()¶