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) | |
Int_t | fMult |
Multiplicity. | |
Double_t | fT |
Temperature in the Pt distribution. | |
Double_t | fPtDistMass |
Mass in Pt distribution. | |
Double_t | fY0 |
Mean rapidity. | |
Double_t | fSigma |
Simga in the rapidity distribution. | |
Double_t | fPtMin |
Max value of Pt. | |
Double_t | fPtMax |
Min value of Pt. | |
Double_t | fYMin |
Max value of Pt. | |
Double_t | fYMax |
Min value of Pt. | |
Double_t | fPDGMass |
Particle mass [GeV]. | |
TF1 * | fDistPt |
Double_t | fAlpha |
Pointer to the Pt function. | |
Frame_t | fFrame |
DecayMode_t | fDecayMode |
Double_t | fBeamMomentum |
TF1 * | fPol |
Bool_t | fBox |
Polarization function. | |
Definition at line 37 of file CbmLitPolarizedGenerator.h.
Enumerator | |
---|---|
kDiElectron | |
kDiMuon |
Definition at line 45 of file CbmLitPolarizedGenerator.h.
Enumerator | |
---|---|
kNoPol | |
kColSop | |
kHelicity |
Definition at line 39 of file CbmLitPolarizedGenerator.h.
CbmLitPolarizedGenerator::CbmLitPolarizedGenerator | ( | ) |
Default constructor.
Definition at line 22 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 38 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 61 of file CbmLitPolarizedGenerator.h.
|
private |
|
private |
Bool_t CbmLitPolarizedGenerator::GenerateDaughters | ( | const TVector3 | p, |
FairPrimaryGenerator * | primGen ) |
Definition at line 109 of file CbmLitPolarizedGenerator.cxx.
References fBeamMomentum, fDecayMode, fFrame, fPDGMass, fPol, kColSop, kDiElectron, kDiMuon, kHelicity, and v.
Referenced by ReadEvent().
Bool_t CbmLitPolarizedGenerator::Init | ( | ) |
|
private |
|
virtual |
|
inline |
Definition at line 96 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 109 of file CbmLitPolarizedGenerator.h.
References fBeamMomentum.
|
inline |
Set box generator - flat distributions in rapidity and pt
box | = 1 - box, 0 - thermal |
Definition at line 114 of file CbmLitPolarizedGenerator.h.
References fBox.
|
inline |
Set decay mode (kDiMuon/kDiElectron)
Definition at line 104 of file CbmLitPolarizedGenerator.h.
References fDecayMode.
|
inline |
Definition at line 70 of file CbmLitPolarizedGenerator.h.
References fPtDistMass, and fT.
Referenced by CbmLitPolarizedGenerator().
|
inline |
Definition at line 77 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator().
|
inline |
Definition at line 67 of file CbmLitPolarizedGenerator.h.
References fMult.
|
inline |
|
inline |
Definition at line 84 of file CbmLitPolarizedGenerator.h.
References fPtMax, and fPtMin.
Referenced by CbmLitPolarizedGenerator().
|
inline |
Definition at line 89 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator().
Set reference frame for polarization calculation
frame | = kColSop - Collins-Soper/ kHelicity - Helicity |
Definition at line 101 of file CbmLitPolarizedGenerator.h.
References fFrame.
|
private |
Pointer to the Pt function.
Definition at line 137 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), CbmLitPolarizedGenerator(), Init(), and SetAlpha().
|
private |
Definition at line 140 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), CbmLitPolarizedGenerator(), GenerateDaughters(), and SetBeamMomentum().
|
private |
Polarization function.
Definition at line 142 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), CbmLitPolarizedGenerator(), ReadEvent(), and SetBox().
|
private |
Definition at line 139 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), CbmLitPolarizedGenerator(), GenerateDaughters(), and SetDecayMode().
|
private |
Definition at line 136 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), and ReadEvent().
|
private |
Definition at line 138 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), CbmLitPolarizedGenerator(), GenerateDaughters(), and SetRefFrame().
|
private |
Multiplicity.
Definition at line 126 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), CbmLitPolarizedGenerator(), ReadEvent(), and SetMultiplicity().
|
private |
Particle mass [GeV].
Definition at line 135 of file CbmLitPolarizedGenerator.h.
Referenced by GenerateDaughters(), Init(), and ReadEvent().
|
private |
Particle type (PDG encoding)
Definition at line 125 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), CbmLitPolarizedGenerator(), Init(), and SetPDGType().
|
private |
Definition at line 141 of file CbmLitPolarizedGenerator.h.
Referenced by CbmLitPolarizedGenerator(), CbmLitPolarizedGenerator(), GenerateDaughters(), and Init().
|
private |
Mass in Pt distribution.
Definition at line 128 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), and SetDistributionPt().
|
private |
Min value of Pt.
Definition at line 132 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), ReadEvent(), and SetRangePt().
|
private |
Max value of Pt.
Definition at line 131 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), ReadEvent(), and SetRangePt().
|
private |
Simga in the rapidity distribution.
Definition at line 130 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), ReadEvent(), and SetDistributionY().
|
private |
Temperature in the Pt distribution.
Definition at line 127 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), and SetDistributionPt().
|
private |
Mean rapidity.
Definition at line 129 of file CbmLitPolarizedGenerator.h.
Referenced by Init(), ReadEvent(), and SetDistributionY().
|
private |
Min value of Pt.
Definition at line 134 of file CbmLitPolarizedGenerator.h.
Referenced by ReadEvent(), and SetRangeY().
|
private |
Max value of Pt.
Definition at line 133 of file CbmLitPolarizedGenerator.h.
Referenced by ReadEvent(), and SetRangeY().