ATLAS Offline Software
eflowObjectContainerCnv_p2.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 #include "AthLinks/ElementLinkVector.h"
9 
10 void eflowObjectContainerCnv_p2::persToTrans( const eflowObjectContainer_p2 *persObj, eflowObjectContainer *transObj, MsgStream &eflowStream ){
11 
12  transObj->setMissET (persObj->m_misset);
13  transObj->setSumET (persObj->m_sumet);
14  transObj->setpTx (persObj->m_ptx);
15  transObj->setpTy (persObj->m_pty);
16  transObj->setNumEf (persObj->m_numef);
17 
18  transObj->setNumPhot (persObj->m_numphot);
19  transObj->setNumEle (persObj->m_numele);
20  transObj->setNumMuo (persObj->m_nummuo);
21 
22  transObj->setCircularity (persObj->m_circularity);
23  transObj->setThrust (persObj->m_thrust);
24  transObj->setOblateness (persObj->m_oblateness);
25 
26  transObj->set_valid (persObj->m_valid);
27 
28  m_vectorConv.persToTrans(&persObj->m_myPersVector,transObj,eflowStream);
29 
30 }
31 
32 void eflowObjectContainerCnv_p2::transToPers( const eflowObjectContainer *transObj,eflowObjectContainer_p2 *persObj, MsgStream &eflowStream ){
33 
34  persObj->m_misset = transObj->missET();
35 
36  persObj->m_sumet = transObj->sumET();
37  persObj->m_ptx = transObj->pTx();
38  persObj->m_pty = transObj->pTy();
39  persObj->m_numef = transObj->numEf();
40 
41  persObj->m_numphot = transObj->numPhot();
42  persObj->m_numele = transObj->numEle();
43  persObj->m_nummuo = transObj->numMuo();
44 
45  persObj->m_circularity = transObj->circularity();
46  persObj->m_thrust = transObj->thrust();
47  persObj->m_oblateness = transObj->oblateness();
48 
49  persObj->m_valid = transObj->isValid();
50 
51  m_vectorConv.transToPers(transObj,&persObj->m_myPersVector,eflowStream);
52 
53 }
eflowObjectContainer::setThrust
void setThrust(double thrust)
Definition: eflowObjectContainer.h:59
eflowObjectContainer_p2::m_thrust
double m_thrust
Definition: eflowObjectContainer_p2.h:31
eflowObjectContainer::setCircularity
void setCircularity(double circ)
Definition: eflowObjectContainer.h:56
eflowObjectContainer::oblateness
double oblateness() const
Definition: eflowObjectContainer.h:61
eflowObjectContainer_p2::m_circularity
double m_circularity
Definition: eflowObjectContainer_p2.h:30
eflowObjectContainer::setpTy
void setpTy(double pTy)
Definition: eflowObjectContainer.h:35
eflowObjectContainer::missET
double missET() const
Definition: eflowObjectContainer.h:25
eflowObjectContainer::set_valid
void set_valid(bool c_valid)
Definition: eflowObjectContainer.h:50
eflowObjectCnv_p2.h
eflowObjectContainer::numEle
double numEle() const
Definition: eflowObjectContainer.h:43
eflowObjectContainer::sumET
double sumET() const
Definition: eflowObjectContainer.h:28
eflowObjectContainer::setOblateness
void setOblateness(double oblateness)
Definition: eflowObjectContainer.h:62
eflowObjectContainer::setMissET
void setMissET(double MissET)
Definition: eflowObjectContainer.h:26
eflowObjectContainerCnv_p2::m_vectorConv
T_AthenaPoolTPCnvVector< DataVector< eflowObject >, std::vector< eflowObject_p2 >, eflowObjectCnv_p2 > m_vectorConv
Definition: eflowObjectContainerCnv_p2.h:32
eflowObjectContainer::circularity
double circularity() const
Definition: eflowObjectContainer.h:55
eflowObjectContainer::pTx
double pTx() const
Definition: eflowObjectContainer.h:31
eflowObjectContainer::pTy
double pTy() const
Definition: eflowObjectContainer.h:34
eflowObjectContainer_p2::m_numef
double m_numef
Definition: eflowObjectContainer_p2.h:25
eflowObjectContainer_p2::m_numele
double m_numele
Definition: eflowObjectContainer_p2.h:27
eflowObjectContainerCnv_p2::persToTrans
virtual void persToTrans(const eflowObjectContainer_p2 *persObj, eflowObjectContainer *transObj, MsgStream &eflowStream)
Definition: eflowObjectContainerCnv_p2.cxx:10
eflowObjectContainer_p2
Definition: eflowObjectContainer_p2.h:11
eflowObjectContainerCnv_p2.h
eflowObjectContainer::setNumMuo
void setNumMuo(double NumMuo)
Definition: eflowObjectContainer.h:47
eflowObjectContainer_p2::m_misset
double m_misset
Definition: eflowObjectContainer_p2.h:25
eflowObjectContainer::setNumPhot
void setNumPhot(double NumPhot)
Definition: eflowObjectContainer.h:41
eflowObjectContainer::isValid
bool isValid() const
Definition: eflowObjectContainer.h:49
eflowObjectContainer_p2::m_valid
bool m_valid
Definition: eflowObjectContainer_p2.h:34
eflowObjectContainer_p2::m_oblateness
double m_oblateness
Definition: eflowObjectContainer_p2.h:32
eflowObjectContainer::setNumEf
void setNumEf(double NumEf)
Definition: eflowObjectContainer.h:38
eflowObjectContainer::setNumEle
void setNumEle(double NumEle)
Definition: eflowObjectContainer.h:44
eflowObjectContainerCnv_p2::transToPers
virtual void transToPers(const eflowObjectContainer *transObj, eflowObjectContainer_p2 *persObj, MsgStream &eflowStream)
Definition: eflowObjectContainerCnv_p2.cxx:32
eflowObjectContainer_p2::m_sumet
double m_sumet
Definition: eflowObjectContainer_p2.h:25
eflowObjectContainer::setpTx
void setpTx(double pTx)
Definition: eflowObjectContainer.h:32
eflowObjectContainer::numEf
double numEf() const
Definition: eflowObjectContainer.h:37
eflowObjectContainer::numMuo
double numMuo() const
Definition: eflowObjectContainer.h:46
ElementLinkVector_p1.h
This file contains the class definition for the ElementLinkVector_p1 class.
eflowObjectContainer_p2::m_myPersVector
std::vector< eflowObject_p2 > m_myPersVector
Definition: eflowObjectContainer_p2.h:23
eflowObjectContainer_p2::m_pty
double m_pty
Definition: eflowObjectContainer_p2.h:25
eflowObjectContainer_p2::m_numphot
double m_numphot
Definition: eflowObjectContainer_p2.h:27
eflowObjectContainer
Definition: eflowObjectContainer.h:19
eflowObjectContainer_p2::m_ptx
double m_ptx
Definition: eflowObjectContainer_p2.h:25
eflowObjectContainer_p2::m_nummuo
double m_nummuo
Definition: eflowObjectContainer_p2.h:27
eflowObjectContainer::thrust
double thrust() const
Definition: eflowObjectContainer.h:58
eflowObjectContainer::numPhot
double numPhot() const
Definition: eflowObjectContainer.h:40
eflowObjectContainer::setSumET
void setSumET(double SumET)
Definition: eflowObjectContainer.h:29