FairRoot/PandaRoot
|
Namespaces | |
evtgen | |
models | |
ostreams | |
pythia | |
random | |
Classes | |
class | ChiGen |
class | ChiGenRandomEngine |
class | PartonicModel |
class | PndChiGen |
class | PndChiGenExclusive |
class | PythiaChiGen |
Functions | |
double | elapsedTimeSeconds () |
void | ensure_chigen_is_initialized () |
void | initialize () |
void | initialize (long seed) |
long | get_seed () |
EvtId | pdgId2EvtId (int pdgId) |
bool | isPWaveCharmonia (int pdgCode) |
bool | isCharmonia (int pdgCode) |
double chigen::elapsedTimeSeconds | ( | ) |
Elapsed time in seconds
Definition at line 23 of file ChiGenContext.cxx.
References __millisecondsTime__.
void chigen::ensure_chigen_is_initialized | ( | ) |
Ensures that all required stuff is loaded and loads otherwise.
Definition at line 211 of file ChiGenContext.cxx.
References initialize().
Referenced by chigen::ChiGen::ChiGen(), chigen::models::createSpinDensity(), chigen::PartonicModel::PartonicModel(), chigen::PndChiGen::PndChiGen(), chigen::PndChiGenExclusive::PndChiGenExclusive(), and chigen::PythiaChiGen::PythiaChiGen().
long chigen::get_seed | ( | ) |
Returns random seed which was set at initialization
Definition at line 246 of file ChiGenContext.cxx.
void chigen::initialize | ( | ) |
Initialize ChiGen with default seed (
).
Definition at line 216 of file ChiGenContext.cxx.
Referenced by ensure_chigen_is_initialized(), main(), and simInclusive().
void chigen::initialize | ( | long | seed | ) |
Initialize ChiGen with specified seed.
seed | seed |
Definition at line 220 of file ChiGenContext.cxx.
References __chigen_cout__, __chigen_direct_cout__, chigen::evtgen::initialize_evtgen(), chigen::pythia::initialize_pythia(), chigen::random::initialize_random(), chigen::ostreams::initialize_streams(), and seed.
bool chigen::isCharmonia | ( | int | pdgCode | ) |
Returns true, if specified PDG code corresponds to charmonia
pdgCode | PDG code |
Definition at line 268 of file ChiGenContext.cxx.
References CHI1_PDG_ID, CHI2_PDG_ID, PSI_PDG_ID, and X3872_PDG_ID.
Referenced by chigen::PythiaChiGen::decay().
bool chigen::isPWaveCharmonia | ( | int | pdgCode | ) |
Returns true, if specified PDG code corresponds to P-wave charmonia
pdgCode | PDG code |
Definition at line 264 of file ChiGenContext.cxx.
References CHI1_PDG_ID, CHI2_PDG_ID, and X3872_PDG_ID.
EvtId chigen::pdgId2EvtId | ( | int | pdgId | ) |
Returns EvtGen particle id from its pdg code
pdgId | PDG code |
Definition at line 250 of file ChiGenContext.cxx.
References CHI1_PDG_ID, CHI2_PDG_ID, chigen::evtgen::chi_c1_evt_id, chigen::evtgen::chi_c2_evt_id, chigen::evtgen::ensure_evt_gen_is_inialized(), chigen::evtgen::x3872_evt_id, and X3872_PDG_ID.