Static Public Member Functions | |
static int | set (PhotosBranch *branch) |
static void | get () |
static void | prepare () |
static void | check_ME_channel () |
static void | complete () |
static void | clear () |
Static Public Attributes | |
static int | decay_idx = 0 |
static int | ME_channel = 0 |
Static Private Member Functions | |
static void | add_particle (int i, PhotosParticle *particle, int first_mother, int last_mother, int first_daughter, int last_daughter) |
Static Private Attributes | |
static std::vector < PhotosParticle * > | m_particle_list |
Definition at line 40 of file PH_HEPEVT_Interface.h.
void add_particle | ( | int | i, | |
PhotosParticle * | particle, | |||
int | first_mother, | |||
int | last_mother, | |||
int | first_daughter, | |||
int | last_daughter | |||
) | [static, private] |
Add single particle to HEPEVT
Definition at line 45 of file PH_HEPEVT_Interface.cxx.
References Photos::forceMassList, PhotosParticle::getE(), PhotosParticle::getMass(), PhotosParticle::getPdgID(), PhotosParticle::getPx(), PhotosParticle::getPy(), PhotosParticle::getPz(), PhotosParticle::getStatus(), PhotosParticle::getVirtuality(), PH_HEPEVT_Interface::m_particle_list, and Photos::massFrom4Vector.
void check_ME_channel | ( | ) | [static] |
Check channel for complete matrix element calculation
Definition at line 418 of file PH_HEPEVT_Interface.cxx.
References Log::Debug(), PH_HEPEVT_Interface::decay_idx, PH_HEPEVT_Interface::ME_channel, Photos::meCorrectionWtForW, and Photos::meCorrectionWtForZ.
void clear | ( | ) | [static] |
Clear HEPEVT
for(int i=0; i < NMXHEP; i++){
ph_hepevt_.isthep[i]=0; ph_hepevt_.idhep[i]=0;
for(int j=0; j<2; j++){ ph_hepevt_.jmohep[i][j]=0; ph_hepevt_.jdahep[i][j]=0; }
for(int j=0; j<5; j++) ph_hepevt_.phep[i][j]=0;
for(int j=0; j<4; j++) ph_hepevt_.vhep[i][j]=0;
ph_phoqed_.qedrad[i]=0;
}
Definition at line 16 of file PH_HEPEVT_Interface.cxx.
References PH_HEPEVT_Interface::m_particle_list.
void complete | ( | ) | [static] |
Finalize processing
Definition at line 413 of file PH_HEPEVT_Interface.cxx.
void get | ( | ) | [static] |
Update event record with data from HEPEVT
Definition at line 160 of file PH_HEPEVT_Interface.cxx.
References PhotosParticle::addDaughter(), PhotosParticle::boostDaughtersFromRestFrame(), PhotosParticle::boostDaughtersToRestFrame(), PhotosParticle::boostFromRestFrame(), PhotosParticle::boostToRestFrame(), PhotosParticle::createHistoryEntry(), Log::Fatal(), PhotosParticle::GAMMA, PhotosParticle::getDaughters(), PhotosParticle::getE(), PhotosParticle::getPdgID(), PhotosParticle::getPx(), PhotosParticle::getPy(), PhotosParticle::getPz(), Photos::isCreateHistoryEntries, PH_HEPEVT_Interface::m_particle_list, PhotosParticle::setE(), PhotosParticle::setPx(), PhotosParticle::setPy(), and PhotosParticle::setPz().
void prepare | ( | ) | [static] |
Prepare particles for processing
Definition at line 408 of file PH_HEPEVT_Interface.cxx.
References PH_HEPEVT_Interface::check_ME_channel().
int set | ( | PhotosBranch * | branch | ) | [static] |
Convert PhotosBranch to HEPEVT
Definition at line 109 of file PH_HEPEVT_Interface.cxx.
References PH_HEPEVT_Interface::add_particle(), PH_HEPEVT_Interface::clear(), Log::Debug(), PH_HEPEVT_Interface::decay_idx, PhotosBranch::getDaughters(), PhotosBranch::getDecayingParticle(), and PhotosBranch::getMothers().
int decay_idx = 0 [static] |
Index of decaying particle
Definition at line 62 of file PH_HEPEVT_Interface.h.
vector< PhotosParticle * > m_particle_list [static, private] |
List of particles added to HEPEVT
Definition at line 72 of file PH_HEPEVT_Interface.h.
int ME_channel = 0 [static] |
Number of channel to be used - flag for fortran routines
Definition at line 64 of file PH_HEPEVT_Interface.h.