const_iterator begin() const
size_type max_size() const
std::list< int >::iterator iterator
void push_back(const int &id)
forward the std::list<int>::push_back() method
virtual ~ParticleCandidateList()
Destructor:
void clear()
forward the std::list<int>::clear() method
const std::list< int > & list() const
Return the wrapped STL list.
std::list< int >::size_type size_type
ParticleCandidateList & operator=(const ParticleCandidateList &rhs)
Assignment operator:
bool hasInList(const int &pdgID, const bool tightMatch=false) const
Tells if a given particle or pID is in the list if tightMatch = false : look only if std::abs() of pa...
const_iterator end() const
std::list< int >::const_iterator const_iterator
A simple wrapper for std::list<int> to model a list of particle identity candidates.
void add(const int &partID)