CbmRoot
|
#include <CbmLitPolarizedGenerator.h>
Public Types | |
enum | Frame_t { kNoPol = 0, kColSop = 1, kHelicity = 2 } |
enum | DecayMode_t { kDiElectron = 1, kDiMuon = 2 } |
Public Member Functions | |
CbmLitPolarizedGenerator () | |
CbmLitPolarizedGenerator (Int_t pdgid, Int_t mult=1) | |
virtual | ~CbmLitPolarizedGenerator () |
Bool_t | GenerateDaughters (const TVector3 p, FairPrimaryGenerator *primGen) |
void | SetPDGType (Int_t pdg) |
void | SetMultiplicity (Int_t mult) |
void | SetDistributionPt (Double_t T=0.154319, Double_t mass=-1.) |
void | SetDistributionY (Double_t y0=1.98604, Double_t sigma=0.617173) |
void | SetRangePt (Double_t ptMin=0, Double_t ptMax=3) |
void | SetRangeY (Double_t yMin=0, Double_t yMax=4) |
void | SetAlpha (Double_t alpha=0) |
void | SetRefFrame (Frame_t frame=kColSop) |
void | SetDecayMode (DecayMode_t decayMode=kDiMuon) |
void | SetBeamMomentum (Double_t mom) |
void | SetBox (Bool_t box) |
Bool_t | Init () |
virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
Private Member Functions | |
CbmLitPolarizedGenerator (const CbmLitPolarizedGenerator &) | |
CbmLitPolarizedGenerator & | operator= (const CbmLitPolarizedGenerator &) |
ClassDef (CbmLitPolarizedGenerator, 1) | |
Private Attributes | |
Int_t | fPDGType |
Particle type (PDG encoding) More... | |
Int_t | fMult |
Multiplicity. More... | |
Double_t | fT |
Temperature in the Pt distribution. More... | |
Double_t | fPtDistMass |
Mass in Pt distribution. More... | |
Double_t | fY0 |
Mean rapidity. More... | |
Double_t | fSigma |
Simga in the rapidity distribution. More... | |
Double_t | fPtMin |
Max value of Pt. More... | |
Double_t | fPtMax |
Min value of Pt. More... | |
Double_t | fYMin |
Max value of Pt. More... | |
Double_t | fYMax |
Min value of Pt. More... | |
Double_t | fPDGMass |
Particle mass [GeV]. More... | |
TF1 * | fDistPt |
Double_t | fAlpha |
Pointer to the Pt function. More... | |
Frame_t | fFrame |
DecayMode_t | fDecayMode |
Double_t | fBeamMomentum |
TF1 * | fPol |
Bool_t | fBox |
Polarization function. More... | |
Definition at line 33 of file CbmLitPolarizedGenerator.h.
Enumerator | |
---|---|
kDiElectron | |
kDiMuon |
Definition at line 36 of file CbmLitPolarizedGenerator.h.
Enumerator | |
---|---|
kNoPol | |
kColSop | |
kHelicity |
Definition at line 35 of file CbmLitPolarizedGenerator.h.
CbmLitPolarizedGenerator::CbmLitPolarizedGenerator | ( | ) |
Default constructor.
Definition at line 16 of file CbmLitPolarizedGenerator.cxx.
References fAlpha, fBeamMomentum, fBox, fDecayMode, fFrame, fMult, fPDGType, fPol, kDiMuon, and kHelicity.
CbmLitPolarizedGenerator::CbmLitPolarizedGenerator | ( | 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 31 of file CbmLitPolarizedGenerator.cxx.
References fAlpha, fBeamMomentum, fBox, fDecayMode, fFrame, fMult, fPDGType, fPol, kDiMuon, kHelicity, SetDistributionPt(), SetDistributionY(), SetRangePt(), and SetRangeY().
|
inlinevirtual |
Destructor
Definition at line 48 of file CbmLitPolarizedGenerator.h.
|
private |
|
private |
Bool_t CbmLitPolarizedGenerator::GenerateDaughters | ( | const TVector3 | p, |
FairPrimaryGenerator * | primGen | ||
) |
Definition at line 107 of file CbmLitPolarizedGenerator.cxx.
References fBeamMomentum, fDecayMode, fFrame, fPDGMass, fPol, kColSop, kDiElectron, kDiMuon, kHelicity, m, and v.
Referenced by ReadEvent().
Bool_t CbmLitPolarizedGenerator::Init | ( | ) |
|
private |
|
virtual |
|
inline |
Definition at line 80 of file CbmLitPolarizedGenerator.h.
References fAlpha.
|
inline |
Set beam momentum (used in Collins-Soper reference frame)
mom | beam momentum in GeV/c |
Definition at line 95 of file CbmLitPolarizedGenerator.h.
References fBeamMomentum.
|
inline |
Set box generator - flat distributions in rapidity and pt
box | = 1 - box, 0 - thermal |
Definition at line 100 of file CbmLitPolarizedGenerator.h.
References fBox.
|
inline |
Set decay mode (kDiMuon/kDiElectron)
Definition at line 88 of file CbmLitPolarizedGenerator.h.
References fDecayMode.
|
inline |
Definition at line 57 of file CbmLitPolarizedGenerator.h.
References fPtDistMass, and fT.
Referenced by CbmLitPolarizedGenerator().
|
inline |
Definition at line 63 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator().
|
inline |
Definition at line 54 of file CbmLitPolarizedGenerator.h.
References fMult.
|
inline |
|
inline |
Definition at line 70 of file CbmLitPolarizedGenerator.h.
References fPtMax, and fPtMin.
Referenced by CbmLitPolarizedGenerator().
|
inline |
Definition at line 74 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator().
Set reference frame for polarization calculation
frame | = kColSop - Collins-Soper/ kHelicity - Helicity |
Definition at line 85 of file CbmLitPolarizedGenerator.h.
References fFrame.
|
private |
Pointer to the Pt function.
Definition at line 123 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), Init(), and SetAlpha().
|
private |
Definition at line 126 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), GenerateDaughters(), and SetBeamMomentum().
|
private |
Polarization function.
Definition at line 128 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), ReadEvent(), and SetBox().
|
private |
Definition at line 125 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), GenerateDaughters(), and SetDecayMode().
|
private |
Definition at line 122 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), and ReadEvent().
|
private |
Definition at line 124 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), GenerateDaughters(), and SetRefFrame().
|
private |
Multiplicity.
Definition at line 112 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), ReadEvent(), and SetMultiplicity().
|
private |
Particle mass [GeV].
Definition at line 121 of file CbmLitPolarizedGenerator.h.
Referenced by GenerateDaughters(), Init(), and ReadEvent().
|
private |
Particle type (PDG encoding)
Definition at line 111 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), Init(), and SetPDGType().
|
private |
Definition at line 127 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), GenerateDaughters(), and Init().
|
private |
Mass in Pt distribution.
Definition at line 114 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), and SetDistributionPt().
|
private |
Min value of Pt.
Definition at line 118 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), ReadEvent(), and SetRangePt().
|
private |
Max value of Pt.
Definition at line 117 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), ReadEvent(), and SetRangePt().
|
private |
Simga in the rapidity distribution.
Definition at line 116 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), ReadEvent(), and SetDistributionY().
|
private |
Temperature in the Pt distribution.
Definition at line 113 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), and SetDistributionPt().
|
private |
Mean rapidity.
Definition at line 115 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), ReadEvent(), and SetDistributionY().
|
private |
Min value of Pt.
Definition at line 120 of file CbmLitPolarizedGenerator.h.
Referenced by ReadEvent(), and SetRangeY().
|
private |
Max value of Pt.
Definition at line 119 of file CbmLitPolarizedGenerator.h.
Referenced by ReadEvent(), and SetRangeY().