|
ATLAS Offline Software
|
Go to the documentation of this file.
34 <<
"Not converting CaloClusterContainer.";
41 std::vector<float> temp_Moments;
45 std::vector<float>::const_iterator i_mom = temp_Moments.begin();
48 unsigned int nkeys =
keys.size();
64 for (
unsigned short i=0;
i<nkeys;++
i) {
65 transStore.insert (transStore.end(), CaloClusterMomentStore::moment_store::value_type(
keys[
i], (*i_mom) ) );
104 for (
int w=0;
w<nMom;
w++){
114 std::vector<float> temp_Moments;
126 for(;itm!=itm_e;++itm) {
127 temp_Moments.push_back(itm.getMoment().getValue());
148 MsgStream&
log)
const
177 MsgStream&
log)
const
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
unsigned int m_samplingPattern
double phi0() const
Returns raw of cluster seed.
CaloClusterMomentStore m_momentStore
cluster moments
Const iterator class for DataVector/DataList.
void setTime(double theTime)
Set cluster time.
static const AthenaBarCode_t UNDEFINEDBARCODE
virtual const CaloTowerSeg & getTowerSeg() const
Retrieve tower segmentation.
virtual void transToPers(const P4EEtaPhiM *transObj, P4EEtaPhiM_p1 *persObj, MsgStream &log) const override
Method creating the persistent representation P4EEtaPhiM_p1 from its transient representation P4EEtaP...
void transToPers(State &state, const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
double m_eta0
Cluster seed
virtual void setMomentStore(const moment_store &rMomStore)
Set internal store.
Storable container for CaloCluster.
CaloTowerSegCnv_p1 m_caloTowerSegCnv
void persToTrans(const CaloSamplingDataContainer_p1 *pers, CaloSamplingData *trans, State &state) const
unsigned short m_nMoments
Internally used iterator.
virtual double getBasicEnergy() const
Access basic energy scale signal.
bool setDefaultSignalState(signalstate_t s)
Sets default signal state.
std::vector< unsigned int > m_Mvalue
contType::const_iterator const_iterator
Stores CaloClusterMoment in a keyed map.
void persToTrans(const CaloTowerSeg_p1 *, CaloTowerSeg *) const
cell_link_type m_cellLink
Local pointer to cell store.
data_link_type m_dataLink
{
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p3 *pers, MsgStream &log) const override
CaloSamplingDataContainerCnv_p1 m_samplingDataContainerCnv
double m_phi0
Cluster seed
ElementLinkInt_p2 m_cellLink
bool m_endcap
Flag is true if at least one cell in EMB.
CaloSamplingData m_dataStore
{\ brief Cached Stores
Principal data class for CaloCell clusters.
CaloSamplingDataContainer_p1 m_samplingDataContainer
void transToPers(const CaloTowerSeg *, CaloTowerSeg_p1 *) const
unsigned int m_samplingPattern
Sampling pattern.
ElementLinkContNames_p2 m_linkNames
virtual void persToTrans(const P4EEtaPhiM_p1 *persObj, P4EEtaPhiM *transObj, MsgStream &log) const override
Method creating the transient representation of P4EEtaPhiM from its persistent representation P4EEtaP...
ElementLinkInt_p2 m_dataLink
void clear()
Erase all the elements in the collection.
void persToTrans(State &state, const PersLink_t &pers, Link_t &trans, MsgStream &log) const
unsigned int m_clusterSize
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
P4EEtaPhiMCnv_p1 m_P4EEtaPhiMCnv
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
CaloTowerSeg_p1 m_towerSeg
double getTime() const
Access cluster time.
Helpers for checking error return status codes and reporting errors.
void transToPers(const CaloSamplingData *trans, CaloSamplingDataContainer_p1 *pers, MsgStream &log) const
value_type push_back(value_type pElem)
Add an element to the end of the collection.
CaloRecoStatus m_status
Calorimeter reconstruction status.
P4EEtaPhiM_p1 m_P4EEtaPhiM
contType::iterator iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > >::State ShowerLinkState
unsigned int getClusterSize() const
Get cluster size.
virtual void persToTrans(const CaloClusterContainer_p3 *pers, CaloClusterContainer *trans, MsgStream &log) const override
std::map< moment_key, moment_value > moment_store
Internal moment store type.
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > >::State CellLinkState
std::vector< unsigned short > m_Mkey
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
bool setState(const CaloSamplingDataContainer_p1 *pers, unsigned int ncluster, State &state) const
void setClusterSize(unsigned int theClusterSize)
Set cluster size.
a typed memory pool that saves time spent allocation small object. This is typically used by containe...
virtual const store_type & getStatusWord() const
retrieve the entire status word
unsigned int m_caloRecoStatus
double eta0() const
Returns raw of cluster seed.
Data object stores CaloTower segmentation.
virtual void setTowerSeg(const CaloTowerSeg &towerSeg)
Set tower segmentation into CaloClusterContainer.
virtual void setBasicEnergy(double theEnergy)
Set basic energy scale signal.
size_type size() const noexcept
Returns the number of elements in the collection.
bool m_barrel
Flag is true if at least one cell in EMB.
reconstruction status indicator
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
CaloClusterMomentContainer_p2 m_momentContainer