FairRoot/PandaRoot
|
#include <PndBoxGenerator.h>
Public Member Functions | |
PndBoxGenerator () | |
PndBoxGenerator (Int_t pdgid, Int_t mult=1) | |
virtual | ~PndBoxGenerator () |
void | SetPDGType (Int_t pdg) |
void | SetMultiplicity (Int_t mult) |
void | SetPRange (Double32_t pmin=0, Double32_t pmax=10) |
void | SetPtRange (Double32_t ptmin=0, Double32_t ptmax=10) |
void | SetPhiRange (Double32_t phimin=0, Double32_t phimax=360) |
void | SetEtaRange (Double32_t etamin=-5, Double32_t etamax=7) |
void | SetYRange (Double32_t ymin=-5, Double32_t ymax=7) |
void | SetThetaRange (Double32_t thetamin=0, Double32_t thetamax=90) |
void | SetCosTheta () |
void | SetInverseP () |
void | SetXYZ (Double32_t x=0, Double32_t y=0, Double32_t z=0) |
void | SetBoxXYZ (Double32_t x1=0, Double32_t y1=0, Double32_t x2=0, Double32_t y2=0, Double32_t z=0) |
void | SetDebug (Bool_t debug=0) |
Bool_t | Init () |
virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
Private Member Functions | |
ClassDef (PndBoxGenerator, 1) | |
Private Attributes | |
Int_t | fPDGType |
Int_t | fMult |
Double32_t | fPDGMass |
Double32_t | fPtMin |
Double32_t | fPtMax |
Double32_t | fPhiMin |
Double32_t | fPhiMax |
Double32_t | fEtaMin |
Double32_t | fEtaMax |
Double32_t | fYMin |
Double32_t | fYMax |
Double32_t | fPMin |
Double32_t | fPMax |
Double32_t | fThetaMin |
Double32_t | fThetaMax |
Double32_t | fX |
Double32_t | fY |
Double32_t | fZ |
Double32_t | fX1 |
Double32_t | fY1 |
Double32_t | fX2 |
Double32_t | fY2 |
Bool_t | fEtaRangeIsSet |
Bool_t | fYRangeIsSet |
Bool_t | fThetaRangeIsSet |
Bool_t | fCosThetaIsSet |
Bool_t | fInversePIsSet |
Bool_t | fPtRangeIsSet |
Bool_t | fPRangeIsSet |
Bool_t | fPointVtxIsSet |
Bool_t | fBoxVtxIsSet |
Bool_t | fDebug |
Definition at line 25 of file PndBoxGenerator.h.
PndBoxGenerator::PndBoxGenerator | ( | ) |
PndBoxGenerator::PndBoxGenerator | ( | Int_t | pdgid, |
Int_t | mult = 1 |
||
) |
Constructor with PDG-ID, multiplicity
pdgid | Particle type (PDG encoding) |
mult | Multiplicity (default is 1) |
Definition at line 28 of file PndBoxGenerator.cxx.
References SetPhiRange().
|
inlinevirtual |
|
private |
Bool_t PndBoxGenerator::Init | ( | ) |
Initializer
Definition at line 42 of file PndBoxGenerator.cxx.
References fBoxVtxIsSet, fEtaRangeIsSet, fInversePIsSet, fPDGMass, fPDGType, fPhiMax, fPhiMin, fPMax, fPMin, fPointVtxIsSet, fPRangeIsSet, fPtMax, fPtMin, fPtRangeIsSet, fThetaRangeIsSet, fYRangeIsSet, and particle.
|
virtual |
Creates an event with given type and multiplicity.
primGen | pointer to the FairPrimaryGenerator |
Definition at line 71 of file PndBoxGenerator.cxx.
References acos(), CAMath::Cos(), cos(), eta, fBoxVtxIsSet, fCosThetaIsSet, fDebug, fEtaMax, fEtaMin, fEtaRangeIsSet, fInversePIsSet, fMult, fPDGMass, fPDGType, fPhiMax, fPhiMin, fPMax, fPMin, fPRangeIsSet, fPtMax, fPtMin, fPtRangeIsSet, fThetaMax, fThetaMin, fThetaRangeIsSet, fX, fX1, fX2, fY, fY1, fY2, fYMax, fYMin, fYRangeIsSet, fZ, phi, printf(), pt(), pz, CAMath::Sin(), CAMath::Sqrt(), CAMath::Tan(), theta, and y.
|
inline |
Definition at line 73 of file PndBoxGenerator.h.
References fBoxVtxIsSet, fX1, fX2, fY1, fY2, fZ, and z.
|
inline |
Definition at line 64 of file PndBoxGenerator.h.
References fCosThetaIsSet.
Referenced by quickfsimana(), runMC(), sim_Gamma(), and PndMasterRunSim::UseBoxGenerator().
|
inline |
Definition at line 76 of file PndBoxGenerator.h.
References fDebug.
Referenced by quickfsimana(), and PndMasterRunSim::UseBoxGenerator().
|
inline |
|
inline |
|
inline |
Definition at line 44 of file PndBoxGenerator.h.
|
inline |
|
inline |
Definition at line 52 of file PndBoxGenerator.h.
References fPhiMax, and fPhiMin.
Referenced by PndBoxGenerator(), quickfsimana(), run(), run_test(), runMC(), runSimHF_GiB_DC(), sim_Gamma(), sim_hypGe_COSY(), sim_hypGe_COSY2014(), sim_hypGe_CrystalsOnly(), sim_hypGe_TestGeo(), sim_hypGe_TestGeoCableTest(), sim_pid_runSimHF_GiB_DC(), and PndMasterRunSim::UseBoxGenerator().
|
inline |
Definition at line 46 of file PndBoxGenerator.h.
References fPMax, fPMin, and fPRangeIsSet.
Referenced by quickfsimana(), run(), run_test(), runMC(), runSimHF_GiB_DC(), sim_Gamma(), sim_hypGe_COSY(), sim_hypGe_COSY2014(), sim_hypGe_CrystalsOnly(), sim_hypGe_TestGeo(), sim_hypGe_TestGeoCableTest(), sim_pid_runSimHF_GiB_DC(), and PndMasterRunSim::UseBoxGenerator().
|
inline |
Definition at line 49 of file PndBoxGenerator.h.
References fPtMax, fPtMin, and fPtRangeIsSet.
Referenced by PndMasterRunSim::UseBoxGenerator().
|
inline |
Definition at line 61 of file PndBoxGenerator.h.
References fThetaMax, fThetaMin, and fThetaRangeIsSet.
Referenced by quickfsimana(), run(), run_test(), runMC(), runSimHF_GiB_DC(), sim_Gamma(), sim_hypGe_COSY(), sim_hypGe_COSY2014(), sim_hypGe_CrystalsOnly(), sim_hypGe_TestGeo(), sim_hypGe_TestGeoCableTest(), sim_pid_runSimHF_GiB_DC(), and PndMasterRunSim::UseBoxGenerator().
|
inline |
Definition at line 70 of file PndBoxGenerator.h.
References fPointVtxIsSet, fX, fY, fZ, x, y, and z.
Referenced by quickfsimana(), run(), run_test(), runSimHF_GiB_DC(), sim_Gamma(), sim_hypGe_COSY(), sim_hypGe_COSY2014(), sim_hypGe_CrystalsOnly(), sim_hypGe_TestGeo(), sim_hypGe_TestGeoCableTest(), sim_pid_runSimHF_GiB_DC(), and PndMasterRunSim::UseBoxGenerator().
|
inline |
|
private |
Definition at line 108 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetBoxXYZ().
|
private |
Definition at line 103 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetCosTheta().
|
private |
Definition at line 109 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetDebug().
|
private |
Definition at line 93 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetEtaRange().
|
private |
Definition at line 93 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetEtaRange().
|
private |
Definition at line 100 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetEtaRange().
|
private |
Definition at line 104 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetInverseP().
|
private |
Definition at line 88 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetMultiplicity().
|
private |
Definition at line 90 of file PndBoxGenerator.h.
Referenced by Init(), and ReadEvent().
|
private |
Definition at line 87 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetPDGType().
|
private |
Definition at line 92 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetPhiRange().
|
private |
Definition at line 92 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetPhiRange().
|
private |
Definition at line 95 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetPRange().
|
private |
Definition at line 95 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetPRange().
|
private |
Definition at line 107 of file PndBoxGenerator.h.
|
private |
Definition at line 106 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetPRange().
|
private |
Definition at line 91 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetPtRange().
|
private |
Definition at line 91 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetPtRange().
|
private |
Definition at line 105 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetPtRange().
|
private |
Definition at line 96 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetThetaRange().
|
private |
Definition at line 96 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetThetaRange().
|
private |
Definition at line 102 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetThetaRange().
|
private |
Definition at line 97 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetXYZ().
|
private |
Definition at line 98 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetBoxXYZ().
|
private |
Definition at line 98 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetBoxXYZ().
|
private |
Definition at line 97 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetXYZ().
|
private |
Definition at line 98 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetBoxXYZ().
|
private |
Definition at line 98 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetBoxXYZ().
|
private |
Definition at line 94 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetYRange().
|
private |
Definition at line 94 of file PndBoxGenerator.h.
Referenced by ReadEvent(), and SetYRange().
|
private |
Definition at line 101 of file PndBoxGenerator.h.
Referenced by Init(), ReadEvent(), and SetYRange().
|
private |
Definition at line 97 of file PndBoxGenerator.h.
Referenced by ReadEvent(), SetBoxXYZ(), and SetXYZ().