8 #ifndef SIM_PARTICLENAVIGATOR_H 9 #define SIM_PARTICLENAVIGATOR_H 20 class EveIdCalculator;
108 void Cut(
const double& );
110 const key_type&
TrackId(
const size_type )
const;
111 mapped_type
Particle(
const size_type )
const;
112 mapped_type
Particle(
const size_type );
167 mapped_type
operator[](
const key_type& key );
180 size_type
erase(
const key_type& key );
204 #endif // SIM_PARTICLENAVIGATOR_H list_type::size_type size_type
const_iterator find(const key_type &key) const
list_type::key_type key_type
const_reverse_iterator rend() const
list_type fParticleList
Sorted list of particles in the event.
friend std::ostream & operator<<(std::ostream &output, const ParticleNavigator &)
primaries_type::iterator primaries_iterator
static void AdoptEveIdCalculator(EveIdCalculator *)
list_type::key_compare key_compare
list_type::const_iterator const_iterator
const_iterator begin() const
const_reverse_iterator rbegin() const
list_type::reverse_iterator reverse_iterator
list_type::iterator iterator
iterator upper_bound(const key_type &key)
size_type erase(const key_type &key)
list_type::mapped_type mapped_type
list_type::difference_type difference_type
const key_type & TrackId(const size_type) const
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic >::Index size_type
ParticleNavigator operator+(const int &value) const
void swap(ParticleNavigator &other)
const sim::Particle * Primary(const int) const
const XML_Char int const XML_Char * value
virtual ~ParticleNavigator()
const_iterator end() const
list_type::allocator_type allocator_type
std::set< int > primaries_type
void Add(sim::Particle *value)
const_iterator lower_bound(const key_type &key) const
list_type::const_reverse_iterator const_reverse_iterator
const_iterator upper_bound(const key_type &key) const
primaries_type::const_iterator primaries_const_iterator
Example routine for calculating the "ultimate e-m mother" of a particle in a simulated event...
bool IsPrimary(int trackID) const
reverse_iterator rbegin()
void insert(sim::Particle *value)
mapped_type operator[](const key_type &key) const
std::map< int, sim::Particle * > list_type
ParticleNavigator Add(const int &offset) const
ParticleNavigator & operator=(const ParticleNavigator &rhs)
mapped_type at(const key_type &key)
iterator find(const key_type &key)
mapped_type at(const key_type &key) const
list_type::value_type value_type
primaries_type fPrimaries
Sorted list of the track IDs of primary particles.
iterator lower_bound(const key_type &key)
int NumberOfPrimaries() const
mapped_type Particle(const size_type) const
int EveId(const int trackID) const