|
FairRoot/PandaRoot
|
#include <PndVolGenerator.h>
Public Member Functions | |
| PndVolGenerator () | |
| PndVolGenerator (Int_t pdgid, Int_t mult=1) | |
| virtual | ~PndVolGenerator () |
| 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 | SetVolXYZ (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) |
| void | SetVolTarg (Int_t quad=2, Int_t abs=5) |
| void | SetVolTgFc (Int_t quad=2, TF1 *func=0) |
| Bool_t | Init () |
| virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
Private Member Functions | |
| ClassDef (PndVolGenerator, 3) | |
Private Attributes | |
| Int_t | fPDGType |
| Int_t | fMult |
| Int_t | fQuad |
| Int_t | fAbs |
| TF1 * | fFunc |
| TGeoHMatrix * | fCurrentTransMat |
| 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 | fVolVtxIsSet |
| Bool_t | fDebug |
| Bool_t | fExt |
Definition at line 30 of file PndVolGenerator.h.
| PndVolGenerator::PndVolGenerator | ( | ) |
| PndVolGenerator::PndVolGenerator | ( | 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 39 of file PndVolGenerator.cxx.
References SetPhiRange().
|
inlinevirtual |
|
private |
| Bool_t PndVolGenerator::Init | ( | ) |
Initializer
Definition at line 53 of file PndVolGenerator.cxx.
References fEtaRangeIsSet, fInversePIsSet, fPDGMass, fPDGType, fPhiMax, fPhiMin, fPMax, fPMin, fPointVtxIsSet, fPRangeIsSet, fPtMax, fPtMin, fPtRangeIsSet, fThetaRangeIsSet, fVolVtxIsSet, fYRangeIsSet, gGeoManager, and particle.
|
virtual |
Creates an event with given type and multiplicity.
| primGen | pointer to the FairPrimaryGenerator |
Definition at line 87 of file PndVolGenerator.cxx.
References acos(), CAMath::Cos(), cos(), Double_t, eta, fAbs, fCosThetaIsSet, fCurrentTransMat, fDebug, fEtaMax, fEtaMin, fEtaRangeIsSet, fExt, fFunc, fInversePIsSet, fMult, fPDGMass, fPDGType, fPhiMax, fPhiMin, fPMax, fPMin, fPRangeIsSet, fPtMax, fPtMin, fPtRangeIsSet, fQuad, fThetaMax, fThetaMin, fThetaRangeIsSet, fVolVtxIsSet, fX, fX1, fX2, fY, fY1, fY2, fYMax, fYMin, fYRangeIsSet, fZ, gGeoManager, CAMath::Nint(), phi, printf(), pt(), pz, CAMath::Sin(), CAMath::Sqrt(), CAMath::Tan(), theta, top, and y.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 49 of file PndVolGenerator.h.
|
inline |
|
inline |
Definition at line 57 of file PndVolGenerator.h.
References fPhiMax, and fPhiMin.
Referenced by PndVolGenerator().
|
inline |
Definition at line 51 of file PndVolGenerator.h.
References fPMax, fPMin, and fPRangeIsSet.
Referenced by sim_Gamma().
|
inline |
|
inline |
Definition at line 66 of file PndVolGenerator.h.
References fThetaMax, fThetaMin, and fThetaRangeIsSet.
|
inline |
|
inline |
Definition at line 86 of file PndVolGenerator.h.
References fExt, fFunc, fQuad, and func.
Referenced by sim_Gamma().
|
inline |
Definition at line 78 of file PndVolGenerator.h.
References fVolVtxIsSet, fX1, fX2, fY1, fY2, fZ, and z.
|
inline |
Definition at line 75 of file PndVolGenerator.h.
References fPointVtxIsSet, fX, fY, fZ, x, y, and z.
|
inline |
|
private |
Definition at line 101 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetVolTarg().
|
private |
Definition at line 119 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetCosTheta().
|
private |
Definition at line 103 of file PndVolGenerator.h.
Referenced by ReadEvent().
|
private |
Definition at line 125 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetDebug().
|
private |
Definition at line 108 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetEtaRange().
|
private |
Definition at line 108 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetEtaRange().
|
private |
Definition at line 116 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetEtaRange().
|
private |
Definition at line 126 of file PndVolGenerator.h.
Referenced by ReadEvent(), SetVolTarg(), and SetVolTgFc().
|
private |
Definition at line 102 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetVolTgFc().
|
private |
Definition at line 120 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetInverseP().
|
private |
Definition at line 99 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetMultiplicity().
|
private |
Definition at line 105 of file PndVolGenerator.h.
Referenced by Init(), and ReadEvent().
|
private |
Definition at line 98 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetPDGType().
|
private |
Definition at line 107 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetPhiRange().
|
private |
Definition at line 107 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetPhiRange().
|
private |
Definition at line 110 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetPRange().
|
private |
Definition at line 110 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetPRange().
|
private |
Definition at line 123 of file PndVolGenerator.h.
|
private |
Definition at line 122 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetPRange().
|
private |
Definition at line 106 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetPtRange().
|
private |
Definition at line 106 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetPtRange().
|
private |
Definition at line 121 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetPtRange().
|
private |
Definition at line 100 of file PndVolGenerator.h.
Referenced by ReadEvent(), SetVolTarg(), and SetVolTgFc().
|
private |
Definition at line 111 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetThetaRange().
|
private |
Definition at line 111 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetThetaRange().
|
private |
Definition at line 118 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetThetaRange().
|
private |
Definition at line 124 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetVolXYZ().
|
private |
Definition at line 112 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetXYZ().
|
private |
Definition at line 113 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetVolXYZ().
|
private |
Definition at line 113 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetVolXYZ().
|
private |
Definition at line 112 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetXYZ().
|
private |
Definition at line 113 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetVolXYZ().
|
private |
Definition at line 113 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetVolXYZ().
|
private |
Definition at line 109 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetYRange().
|
private |
Definition at line 109 of file PndVolGenerator.h.
Referenced by ReadEvent(), and SetYRange().
|
private |
Definition at line 117 of file PndVolGenerator.h.
Referenced by Init(), ReadEvent(), and SetYRange().
|
private |
Definition at line 112 of file PndVolGenerator.h.
Referenced by ReadEvent(), SetVolXYZ(), and SetXYZ().
1.8.5