 |
ATLAS Offline Software
|
Go to the documentation of this file.
20 #ifndef TRUTHHELPER_PILEUPTYPE_H
21 #define TRUTHHELPER_PILEUPTYPE_H
44 template<
class Selector>
46 const Selector&
select )
const;
60 template<
class Selector>
62 const Selector&
select )
const;
68 template<
class Selector>
70 const Selector&
select )
const;
73 template<
class Selector>
75 const Selector&
select )
const;
78 template<
class Selector>
80 const Selector&
select )
const;
83 template<
class Selector>
85 const Selector&
select )
const;
void particles_in_two_bunch_crossings(std::vector< HepMC::ConstGenParticlePtr > &particleList, const Selector &select) const
return the MC events in [-2BC, +2BC], including the signal McEvent at BC=0
void in_time_minimum_bias_particles(std::vector< HepMC::ConstGenParticlePtr > &particleList, const Selector &select) const
Const iterator class for DataVector/DataList.
McEventCollection::const_iterator in_time_event_begin() const
the in-time particles - this includes in the signal
void signal_particles(std::vector< HepMC::ConstGenParticlePtr > &particleList, const Selector &select) const
PileUpType(const McEventCollection *collection)
need to pass the McEvntCollection this class does not own this collection and will NOT delete it at t...
McEventCollection::const_iterator in_time_event_end() const
McEventCollection::const_iterator signal_and_in_time_minimum_bias_event_end() const
void in_time_particles(std::vector< HepMC::ConstGenParticlePtr > &particleList, const Selector &select) const
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
const McEventCollection * m_particleList
McEventCollection::const_iterator in_time_minimum_bias_event_begin() const
extract the in-time minimum bias McEvent Particles from the McEventCollection A pair of iterators is ...
void cavern_background_particles(std::vector< HepMC::ConstGenParticlePtr > &particleList, const Selector &select) const
return the MC events of the cavern background
For details on how the MC particles are defined and organized see https://twiki.cern....
void particles_outside_two_bunch_crossings(std::vector< HepMC::ConstGenParticlePtr > &particleList, const Selector &select) const
return the MC events in [-inf,-2BC] and [2BC,+inf], excluding the cavern background and the beam halo
McEventCollection::const_iterator in_time_minimum_bias_event_end() const
McEventCollection::const_iterator signal_and_in_time_minimum_bias_event_begin() const
extract the signal and the in-time minimum bias McEvent Particles from the McEventCollection A pair o...
void select(const xAOD::IParticle *particle, const float coneSize, const xAOD::CaloClusterContainer *clusters, std::vector< bool > &mask)
const HepMC::GenEvent * signal_mc_event() const