|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARRAWUTILS_LARTT_SELECTOR_H
6 #define LARRAWUTILS_LARTT_SELECTOR_H
8 #include "Identifier/Identifier.h"
13 template <
class CONTAINER >
32 typedef typename CONTAINER::const_iterator
COLL_IT;
33 typedef typename COLLECTION::const_iterator
OBJ_IT;
34 typedef typename COLLECTION::OBJECT
OBJECT;
36 typedef typename std::vector<COLL_ID>::const_iterator
COLL_ID_IT;
49 typedef std::pair<OBJ_IT,OBJ_IT>
ITPAIR;
51 typedef typename VEC_ITPAIR::const_iterator
ITPAIR_IT;
56 typedef typename MAP_COLL_ROI::const_iterator
MAP_IT ;
89 const CONTAINER*
c=NULL );
const CONTAINER * m_container
MAP_COLL_ROI::const_iterator MAP_IT
CONTAINER::IDENTIFIABLE COLLECTION
Constructors.
VEC_TT_SAM_ID::const_iterator TT_SAM_ID_IT
void setContainer(const CONTAINER *c)
std::vector< Identifier > ID
const_iterator end() const
std::vector< ITPAIR > VEC_ITPAIR
std::vector< TT_ID > VEC_TT_ID
const OBJECT * operator*()
bool operator!=(const const_iterator &it) const
friend class const_iterator
const_iterator(const VEC_ITPAIR *v)
virtual ~LArTT_Selector()
VEC_ITPAIR::const_iterator ITPAIR_IT
const_iterator begin() const
COLLECTION::OBJECT OBJECT
CONTAINER::const_iterator COLL_IT
void setRoIs(const VEC_TT_ID &ids)
std::vector< COLL_ID >::const_iterator COLL_ID_IT
const VEC_ITPAIR * m_vec_itpair
const LArRoIMap * m_roiMap
LArTT_Selector(const LArRoIMap *map=0, const CONTAINER *c=NULL)
std::pair< OBJ_IT, OBJ_IT > ITPAIR
std::vector< TT_SAM_ID > VEC_TT_SAM_ID
void setMap(const LArRoIMap *map)
Mapping between calorimeter trigger id to offline/online Identifier.
VEC_TT_ID::const_iterator TT_ID_IT
std::map< const COLLECTION *, VEC_TT_ID > MAP_COLL_ROI
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
bool operator==(const const_iterator &it) const
const_iterator & operator++()
const_iterator(const VEC_ITPAIR *v, const ITPAIR_IT &it)
COLLECTION::const_iterator OBJ_IT