#include <IO_EPOS.h>
Public Member Functions | |
bool | fill_next_event (HepMC::GenEvent *) override |
IO_EPOS () | |
void | print (std::ostream &ostr=std::cout) const override |
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 *) override |
~IO_EPOS () override | |
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.
|
override |
Definition at line 23 of file IO_EPOS.cc.
|
inlineprivate |
|
protected |
Definition at line 229 of file IO_EPOS.cc.
References build_production_vertex(), DMR_cfg::cerr, EPOS::EPOS_Wrapper::event_number(), EPOS::EPOS_Wrapper::first_child(), GenParticle::GenParticle, mps_fire::i, EPOS::EPOS_Wrapper::last_child(), m_print_inconsistency_errors, 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 292 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 174 of file IO_EPOS.cc.
References DMR_cfg::cerr, EPOS::EPOS_Wrapper::event_number(), EPOS::EPOS_Wrapper::first_parent(), GenParticle::GenParticle, mps_fire::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 build_end_vertex(), and fill_next_event().
|
override |
Definition at line 33 of file IO_EPOS.cc.
References funct::abs(), build_end_vertex(), build_particle(), build_production_vertex(), DMR_cfg::cerr, EPOS::EPOS_Wrapper::event_number(), mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i3, m_skip_nucl_frag, m_trust_both_mothers_and_daughters, m_trust_mothers_before_daughters, EPOS::EPOS_Wrapper::number_entries(), HiggsValidation_cfi::pdg_id, BeamMonitor_cff::primaryVertex, and trust_beam_particles().
|
protected |
Definition at line 303 of file IO_EPOS.cc.
References visualization-live-secondInstance_cfg::m, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by write_event().
|
override |
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 61 of file IO_EPOS.h.
References m_print_inconsistency_errors.
|
inline |
Definition at line 67 of file IO_EPOS.h.
References b, and m_print_inconsistency_errors.
|
inline |
!!MODIFICATION
Definition at line 74 of file IO_EPOS.h.
References b, and m_skip_nucl_frag.
Referenced by gen::ReggeGribovPartonMCHadronizer::generatePartonsAndHadronize().
|
inline |
Definition at line 71 of file IO_EPOS.h.
References b, and m_trust_beam_particles.
Referenced by gen::ReggeGribovPartonMCHadronizer::generatePartonsAndHadronize().
|
inline |
Definition at line 63 of file IO_EPOS.h.
References b, and m_trust_both_mothers_and_daughters.
|
inline |
Definition at line 65 of file IO_EPOS.h.
References b, and m_trust_mothers_before_daughters.
|
inline |
Definition at line 69 of file IO_EPOS.h.
References m_trust_beam_particles.
Referenced by fill_next_event().
|
inline |
Definition at line 57 of file IO_EPOS.h.
References m_trust_both_mothers_and_daughters.
|
inline |
Definition at line 59 of file IO_EPOS.h.
References m_trust_mothers_before_daughters.
|
override |
Definition at line 104 of file IO_EPOS.cc.
References find_in_map(), mps_fire::i, visualization-live-secondInstance_cfg::m, EPOS::EPOS_Wrapper::max_number_entries(), AlCaHLTBitMon_ParallelJobs::p, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, HiggsValidation_cfi::pdg_id, 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 51 of file IO_EPOS.h.
Referenced by build_end_vertex(), build_production_vertex(), print(), print_inconsistency_errors(), and set_print_inconsistency_errors().
|
private |
Definition at line 53 of file IO_EPOS.h.
Referenced by fill_next_event(), and set_skip_nuclear_fragments().
|
private |
Definition at line 52 of file IO_EPOS.h.
Referenced by set_trust_beam_particles(), and trust_beam_particles().
|
private |
Definition at line 50 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 49 of file IO_EPOS.h.
Referenced by fill_next_event(), print(), set_trust_mothers_before_daughters(), and trust_mothers_before_daughters().