27 if (
this != &rMomStore)
41 return this->
retrieve(fIter,rMomData);
46 if ( rMomIter != this->
end() )
48 rMomData = rMomIter.getMoment();
61 size_t oldSize = rMomList.size();
64 for ( ; fMom != lMom; ++fMom )
68 return oldSize < rMomList.size();
73CaloClusterMomentStore::CaloClusterMomentIterator::~CaloClusterMomentIterator() {}
Stores CaloClusterMoment in a keyed map.
std::vector< moment_type > moment_type_list
List of moment types.
moment_store::const_iterator moment_store_const_iter
Internal moment store const iterator type.
virtual ~CaloClusterMomentStore()
Default destructor.
virtual moment_iterator end() const
iterator loop terminator
CaloClusterMomentIterator moment_iterator
External moment iterator type.
CaloClusterMomentStore & operator=(const CaloClusterMomentStore &rMomStore)
Assignment.
CaloClusterMoment::MomentType moment_type
Moment type.
virtual bool retrieveMomentTypes(moment_type_list &rMomTypeList) const
Retrieve list of moment types in store.
CaloClusterMomentStore()
Default constructor.
virtual bool retrieve(const moment_type &rMomType, moment_value &rMomData) const
Retrieve cluster moment for a given key.
CaloClusterMoment moment_value
Moment data.
virtual moment_iterator find(const moment_type &rMomType) const
}