ATLAS Offline Software
Public Member Functions | List of all members
CaloClusterMomentStoreCnv_p1 Class Reference

#include <CaloClusterMomentStoreCnv_p1.h>

Collaboration diagram for CaloClusterMomentStoreCnv_p1:

Public Member Functions

 CaloClusterMomentStoreCnv_p1 ()
 
void transToPers (const CaloClusterMomentStore *, CaloClusterMomentStore_p1 *) const
 
void persToTrans (const CaloClusterMomentStore_p1 *, CaloClusterMomentStore *) const
 

Detailed Description

Definition at line 16 of file CaloClusterMomentStoreCnv_p1.h.

Constructor & Destructor Documentation

◆ CaloClusterMomentStoreCnv_p1()

CaloClusterMomentStoreCnv_p1::CaloClusterMomentStoreCnv_p1 ( )

Definition at line 11 of file CaloClusterMomentStoreCnv_p1.cxx.

12 {
13 }

Member Function Documentation

◆ persToTrans()

void CaloClusterMomentStoreCnv_p1::persToTrans ( const CaloClusterMomentStore_p1 pers,
CaloClusterMomentStore trans 
) const

Definition at line 22 of file CaloClusterMomentStoreCnv_p1.cxx.

24 {
25  std::vector<CaloClusterMomentStore_p1::ClusterMoment>::const_iterator it=pers->m_store.begin();
26  std::vector<CaloClusterMomentStore_p1::ClusterMoment>::const_iterator it_e=pers->m_store.end();
27  for (;it!=it_e;++it)
29 }

◆ transToPers()

void CaloClusterMomentStoreCnv_p1::transToPers ( const CaloClusterMomentStore trans,
CaloClusterMomentStore_p1 pers 
) const

Definition at line 40 of file CaloClusterMomentStoreCnv_p1.cxx.

42 {
45 
47  for(;it!=it_e;++it) {
48  mom.key=it.getMomentType();
49  mom.value=it.getMoment().getValue();
50  pers->m_store.push_back(mom);
51  }
52 }

The documentation for this class was generated from the following files:
CaloClusterMomentStore_p1::m_store
std::vector< ClusterMoment > m_store
Definition: CaloClusterMomentStore_p1.h:19
CaloClusterMoment::MomentType
MomentType
enums to identify different moments
Definition: CaloClusterMoment.h:38
CaloClusterMomentStore_p1::ClusterMoment
Definition: CaloClusterMomentStore_p1.h:15
skel.it
it
Definition: skel.GENtoEVGEN.py:396
CaloClusterMomentStore::CaloClusterMomentIterator
Internally used iterator.
Definition: CaloClusterMomentStore.h:54
CaloClusterMomentStore::begin
virtual moment_iterator begin() const
{
Definition: CaloClusterMomentStore.h:220
ParticleGun_EoverP_Config.mom
mom
Definition: ParticleGun_EoverP_Config.py:63
CaloClusterMomentStore::insert
virtual void insert(const moment_type &rMomType, const moment_value &rMomData)
Insert key/data pair.
Definition: CaloClusterMomentStore.h:213
CaloClusterMomentStore::end
virtual moment_iterator end() const
iterator loop terminator
Definition: CaloClusterMomentStore.h:226
CaloClusterMoment
defines enums and data types for different moments of CaloCluster
Definition: CaloClusterMoment.h:29