#include <IO_EPOS.h>
Public Member Functions | |
bool | fill_next_event (HepMC::GenEvent *) |
IO_EPOS () | |
void | print (std::ostream &ostr=std::cout) const |
bool | print_inconsistency_errors () const |
void | set_print_inconsistency_errors (bool b=true) |
void | set_skip_nuclear_fragments (bool b=true) |
!!MODIFICATION More... | |
void | set_trust_beam_particles (bool b=true) |
void | set_trust_both_mothers_and_daughters (bool b=false) |
void | set_trust_mothers_before_daughters (bool b=true) |
bool | trust_beam_particles () const |
bool | trust_both_mothers_and_daughters () const |
bool | trust_mothers_before_daughters () const |
void | write_event (const HepMC::GenEvent *) |
virtual | ~IO_EPOS () |
Protected Member Functions | |
void | build_end_vertex (int i, std::vector< HepMC::GenParticle * > &hepevt_particle, HepMC::GenEvent *evt) |
HepMC::GenParticle * | build_particle (int index) |
void | build_production_vertex (int i, std::vector< HepMC::GenParticle * > &hepevt_particle, HepMC::GenEvent *evt) |
int | find_in_map (const std::map< HepMC::GenParticle *, int > &m, HepMC::GenParticle *p) const |
Private Member Functions | |
IO_EPOS (const IO_EPOS &) | |
Private Attributes | |
bool | m_print_inconsistency_errors |
bool | m_skip_nucl_frag |
bool | m_trust_beam_particles |
bool | m_trust_both_mothers_and_daughters |
bool | m_trust_mothers_before_daughters |
EPOS::IO_EPOS::IO_EPOS | ( | ) |
Definition at line 16 of file IO_EPOS.cc.
|
virtual |
Definition at line 23 of file IO_EPOS.cc.
|
inlineprivate |
|
protected |
Definition at line 251 of file IO_EPOS.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, EPOS::EPOS_Wrapper::event_number(), EPOS::EPOS_Wrapper::first_child(), GenParticle::GenParticle, i, EPOS::EPOS_Wrapper::last_child(), EPOS::EPOS_Wrapper::number_children(), AlCaHLTBitMon_ParallelJobs::p, EPOS::EPOS_Wrapper::t(), EPOS::EPOS_Wrapper::x(), EPOS::EPOS_Wrapper::y(), and EPOS::EPOS_Wrapper::z().
Referenced by fill_next_event().
|
protected |
Definition at line 317 of file IO_EPOS.cc.
References EPOS::EPOS_Wrapper::e(), GenParticle::GenParticle, EPOS::EPOS_Wrapper::id(), EPOS::EPOS_Wrapper::m(), AlCaHLTBitMon_ParallelJobs::p, EPOS::EPOS_Wrapper::px(), EPOS::EPOS_Wrapper::py(), EPOS::EPOS_Wrapper::pz(), and EPOS::EPOS_Wrapper::status().
Referenced by fill_next_event().
|
protected |
Definition at line 188 of file IO_EPOS.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, EPOS::EPOS_Wrapper::event_number(), EPOS::EPOS_Wrapper::first_parent(), GenParticle::GenParticle, i, EPOS::EPOS_Wrapper::last_parent(), m_print_inconsistency_errors, EPOS::EPOS_Wrapper::number_parents(), AlCaHLTBitMon_ParallelJobs::p, EPOS::EPOS_Wrapper::t(), EPOS::EPOS_Wrapper::x(), EPOS::EPOS_Wrapper::y(), and EPOS::EPOS_Wrapper::z().
Referenced by fill_next_event().
bool EPOS::IO_EPOS::fill_next_event | ( | HepMC::GenEvent * | evt | ) |
Definition at line 36 of file IO_EPOS.cc.
References funct::abs(), build_end_vertex(), build_particle(), build_production_vertex(), ecal_dqm_sourceclient-live_cfg::cerr, EPOS::EPOS_Wrapper::event_number(), i, m_skip_nucl_frag, m_trust_both_mothers_and_daughters, m_trust_mothers_before_daughters, EPOS::EPOS_Wrapper::number_entries(), HLT_FULL_cff::primaryVertex, and trust_beam_particles().
|
protected |
Definition at line 331 of file IO_EPOS.cc.
Referenced by write_event().
void EPOS::IO_EPOS::print | ( | std::ostream & | ostr = std::cout | ) | const |
Definition at line 25 of file IO_EPOS.cc.
References m_print_inconsistency_errors, m_trust_both_mothers_and_daughters, and m_trust_mothers_before_daughters.
|
inline |
Definition at line 67 of file IO_EPOS.h.
References m_print_inconsistency_errors.
|
inline |
Definition at line 76 of file IO_EPOS.h.
References b, and m_print_inconsistency_errors.
|
inline |
|
inline |
|
inline |
Definition at line 70 of file IO_EPOS.h.
References b, and m_trust_both_mothers_and_daughters.
|
inline |
Definition at line 73 of file IO_EPOS.h.
References b, and m_trust_mothers_before_daughters.
|
inline |
Definition at line 79 of file IO_EPOS.h.
References m_trust_beam_particles.
Referenced by fill_next_event().
|
inline |
Definition at line 61 of file IO_EPOS.h.
References m_trust_both_mothers_and_daughters.
|
inline |
Definition at line 64 of file IO_EPOS.h.
References m_trust_mothers_before_daughters.
void EPOS::IO_EPOS::write_event | ( | const HepMC::GenEvent * | ) |
Definition at line 112 of file IO_EPOS.cc.
References find_in_map(), i, visualization-live-secondInstance_cfg::m, EPOS::EPOS_Wrapper::max_number_entries(), AlCaHLTBitMon_ParallelJobs::p, p1, p2, EPOS::EPOS_Wrapper::set_children(), EPOS::EPOS_Wrapper::set_event_number(), EPOS::EPOS_Wrapper::set_id(), EPOS::EPOS_Wrapper::set_mass(), EPOS::EPOS_Wrapper::set_momentum(), EPOS::EPOS_Wrapper::set_number_entries(), EPOS::EPOS_Wrapper::set_parents(), EPOS::EPOS_Wrapper::set_position(), EPOS::EPOS_Wrapper::set_status(), mps_update::status, and findQualityFiles::v.
|
private |
Definition at line 55 of file IO_EPOS.h.
Referenced by build_production_vertex(), print(), print_inconsistency_errors(), and set_print_inconsistency_errors().
|
private |
Definition at line 57 of file IO_EPOS.h.
Referenced by fill_next_event(), and set_skip_nuclear_fragments().
|
private |
Definition at line 56 of file IO_EPOS.h.
Referenced by set_trust_beam_particles(), and trust_beam_particles().
|
private |
Definition at line 54 of file IO_EPOS.h.
Referenced by fill_next_event(), print(), set_trust_both_mothers_and_daughters(), and trust_both_mothers_and_daughters().
|
private |
Definition at line 53 of file IO_EPOS.h.
Referenced by fill_next_event(), print(), set_trust_mothers_before_daughters(), and trust_mothers_before_daughters().