|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CALOEVENT_CALOCLUSTERMOMENTSTORE_H
6 #define CALOEVENT_CALOCLUSTERMOMENTSTORE_H
47 # define ATH_CLING_BODY(BODY) ;
49 # define ATH_CLING_BODY(BODY) __attribute__((used)) BODY
261 m_store = std::move(rMomStore);
JetConstituentVector::iterator iterator
moment_store::iterator moment_store_iter
Internal moment store iterator type.
MomentType
enums to identify different moments
CaloClusterMoment::MomentType moment_type
Moment type.
virtual const moment_store & momentStore() const
Access to internal store.
virtual void setMomentStore(const moment_store &rMomStore)
Set internal store.
CaloClusterMomentStore & operator=(const CaloClusterMomentStore &rMomStore)
Assignment.
moment_store::const_iterator moment_store_const_iter
Internal moment store const iterator type.
Internally used iterator.
#define ATH_CLING_BODY(BODY)
CaloClusterMomentIterator moment_iterator
External moment iterator type.
bool const RAWDATA *ch2 const
CaloClusterMoment moment_value
Moment data.
virtual bool retrieveMomentTypes(moment_type_list &rMomTypeList) const
Retrieve list of moment types in store.
virtual bool contains(const moment_type &rMomType) const
Containment check.
Stores CaloClusterMoment in a keyed map.
virtual moment_iterator begin() const
{
bool operator==(const CaloClusterMomentIterator &anOtherIter) const bool operator
Equality comparator.
virtual ~CaloClusterMomentStore()
Default destructor.
CaloClusterMomentIterator prev() CaloClusterMomentIterator operator--()
Iterator reverse method.
CaloClusterMomentIterator() ATH_CLING_BODY(
Default constructor.
virtual moment_iterator find(const moment_type &rMomType) const
}
int moment_key
Moment key type.
std::vector< moment_type > moment_type_list
List of moment types.
CaloClusterMomentIterator operator++(int)
Iterator prior advance operator.
virtual void insert(const moment_type &rMomType, const moment_value &rMomData)
Insert key/data pair.
virtual bool retrieve(const moment_type &rMomType, moment_value &rMomData) const
Retrieve cluster moment for a given key.
CaloClusterMomentIterator operator--(int)
Iterator prior reverse operator.
std::map< moment_key, moment_value > moment_store
Internal moment store type.
virtual moment_iterator end() const
iterator loop terminator
CaloClusterMomentIterator next() CaloClusterMomentIterator operator++()
Iterator advance method.
defines enums and data types for different moments of CaloCluster
CaloClusterMomentStore()
Default constructor.
size_t size() const
Number of stored moments.
CaloClusterMomentIterator(moment_store_const_iter iStore) ~CaloClusterMomentIterator() ATH_CLING_BODY(
Useful constructor.