18 #ifndef CHIGENCONTEXT_H 19 #define CHIGENCONTEXT_H 26 #define CHIGEN_LOG_FILE "ChiGen.log" 31 #include "EvtGen/EvtGen.hh" 32 #include "EvtGenExternal/EvtExternalGenList.hh" 33 #include "EvtGenBase/EvtAbsRadCorr.hh" 34 #include "EvtGenBase/EvtDecayBase.hh" 41 #define PROTON_MASS 1.0 43 #define CHI1_MASS 3.51 44 #define CHI2_MASS 3.556 45 #define X3872_MASS 3.872 47 #define GAMMA_PDG_ID 22 50 #define PSI_PDG_ID 443 52 #define CHI1_PDG_ID 20443 53 #define CHI1_STRING "chi_c1" 55 #define X3872_PDG_ID 9920443 56 #define X3872_STRING "X_1(3872)" 58 #define CHI2_PDG_ID 445 59 #define CHI2_STRING "chi_c2" 184 #define __chigen_cout__ (*chigen::ostreams::chigen_cout) << std::fixed << "[" << chigen::elapsedTimeSeconds() << " ChiGen] " 185 #define __chigen_direct_cout__ (*chigen::ostreams::chigen_cout) 192 extern Pythia8::Pythia *
pythia;
196 extern Pythia8::PDF *
pdf;
bool isPWaveCharmonia(int pdgCode)
void ensure_chigen_is_initialized()
bool isCharmonia(int pdgCode)
Pythia8::Rndm * pythia_random_engine
void ensure_evt_gen_is_inialized()
bool suppress_pandaroot_cout
std::ostream * chigen_cout
EvtId pdgId2EvtId(int pdgId)
void read_dec_file(char *dec_file_name)
std::ostream * tee_stream
double elapsedTimeSeconds()
std::string EvtGenChiDecFile
ChiGenRandomEngine * random_engine
std::string EvtGenDecFile