ATLAS Offline Software
MissingETCompositionCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 
11 
12 // specializing template for Weight_p1, filling weights
13 
14 static const NavigableCnv_t navCnv;
15 
16 namespace MissingETHandlers
17 {
18  template <>
20  this->setWpx(w.wx); this->setWpy(w.wy); this->setWet(w.wet); this->setStatusWord(w.statusWord);
21  }
22 
23  template <>
25  this->setWpx(w.wx); this->setWpy(w.wy); this->setWet(w.wet); this->setStatusWord(w.statusWord);
26  }
27 }
28 
29 void
31  MissingETComposition_p1* persObj,
32  MsgStream &reporter ) const
33 {
34  reporter << MSG::DEBUG << "MissingETCompositionCnv_p1 toPers()" << endmsg;
35 
36  navCnv.transToPers( transObj, &persObj->m_nav, reporter );
37 
38  reporter << MSG::DEBUG << "MissingETCompositionCnv_p1 toPers() done ..." << endmsg;
39 }
40 
41 void
43  MissingETComposition* transObj,
44  MsgStream &reporter ) const
45 {
46  reporter << MSG::DEBUG << "MissingETCompositionCnv toTrans()" << endmsg;
47 
48  navCnv.persToTrans( &(persObj->m_nav), transObj, reporter );
49 
50  reporter << MSG::DEBUG << "MissingETCompositionCnv_p1 toTrans() done ..." << endmsg;
51 }
52 
MissingETHandlers::Weight::setWpy
void setWpy(float wpy)
Definition: Reconstruction/MissingETEvent/MissingETEvent/MissingETComposition.h:214
MissingETComposition.h
NavigableCnv_p2
Definition: NavigableCnv_p2.h:30
MissingETCompositionConverterBase< MissingETComposition_p1 >::transToPers
virtual void transToPers(const MissingETComposition *transObj, MissingETComposition_p1 *persObj, MsgStream &reporter) const override
Method creating the persistent representation MissingETComposition_p1 from its transient representati...
Definition: MissingETCompositionCnv_p1.cxx:30
MissingETComposition_p1::Weight_p1::wet
float wet
Definition: MissingETComposition_p1.h:24
NavigableCnv_t
NavigableCnv_p2< MissingETComposition, MissingETComposition_p1::Weight_p1 > NavigableCnv_t
Definition: MissingETCompositionCnv_p1.cxx:10
MissingETHandlers
Definition: Reconstruction/MissingETEvent/MissingETEvent/MissingETComposition.h:179
NavigableCnv_p1::persToTrans
void persToTrans(const PersNavigable_t &pers, Navigable_t &trans, MsgStream &log) const
MissingETComposition_p1::Weight_p1::statusWord
unsigned short int statusWord
Definition: MissingETComposition_p1.h:25
MissingETHandlers::Weight::setWpx
void setWpx(float wpx)
Definition: Reconstruction/MissingETEvent/MissingETEvent/MissingETComposition.h:213
MissingETComposition_p1
Definition: MissingETComposition_p1.h:16
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
MissingETComposition_p1::Weight_p1
Definition: MissingETComposition_p1.h:19
MissingETComposition_p1::Weight_p1::wy
float wy
Definition: MissingETComposition_p1.h:23
MissingETHandlers::Weight::Weight
Weight()
Definition: Reconstruction/MissingETEvent/MissingETEvent/MissingETComposition.h:200
MissingETComposition
Definition: Reconstruction/MissingETEvent/MissingETEvent/MissingETComposition.h:297
MissingETComposition_p1::Weight_p1::wx
float wx
Definition: MissingETComposition_p1.h:22
MissingETComposition_p1::m_nav
Navigable_p2< unsigned int, MissingETComposition_p1::Weight_p1 > m_nav
Definition: MissingETComposition_p1.h:35
NavigableCnv_p1::transToPers
void transToPers(const Navigable_t &trans, PersNavigable_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
MissingETHandlers::Weight::setStatusWord
void setStatusWord(unsigned short int status)
Definition: Reconstruction/MissingETEvent/MissingETEvent/MissingETComposition.h:216
DEBUG
#define DEBUG
Definition: page_access.h:11
MissingETCompositionConverterBase< MissingETComposition_p1 >::persToTrans
virtual void persToTrans(const MissingETComposition_p1 *persObj, MissingETComposition *transObj, MsgStream &reporter) const override
Method creating the transient representation MissingETComposition from its persistent representation ...
Definition: MissingETCompositionCnv_p1.cxx:42
MissingETCompositionCnv_p1.h
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200
MissingETHandlers::Weight::setWet
void setWet(float wet)
Definition: Reconstruction/MissingETEvent/MissingETEvent/MissingETComposition.h:215
NavigableCnv_p2.h
This file contains the class definition for the NavigableCnv_p2 class. NOTE: it should be included fi...
NavigableCnv_p1
Definition: NavigableCnv_p1.h:29