ATLAS Offline Software
TauPi0DetailsCnv_p1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
13 #ifndef TAUEVENTTPCNV_TAUPI0DETAILSCNV_P1_H
14 #define TAUEVENTTPCNV_TAUPI0DETAILSCNV_P1_H
15 
18 
20 #include "tauEvent/TauPi0Details.h"
22 
23 #include "tauEvent/TauPi0Candidate.h" //forward declartion possible?
24 #include "tauEvent/TauPi0Cluster.h" //forward declartion possible?
25 
27 class MsgStream;
28 //class TauPi0Candidate;
29 
30 class TauPi0DetailsCnv_p1 : public T_AthenaPoolTPPolyCnvBase<Analysis::TauDetails, Analysis::TauPi0Details, TauPi0Details_p1 >
31 {
32 public:
34 
40  virtual void persToTrans(const TauPi0Details_p1 *persObj, Analysis::TauPi0Details *transObj, MsgStream &log);
41 
47  virtual void transToPers(const Analysis::TauPi0Details *transObj, TauPi0Details_p1 *persObj, MsgStream &log);
48 
51  {
52  m_vecTauPi0CandidateCnv.setTopConverter( topCnv, 0 );
53  m_vecTauPi0ClusterCnv.setTopConverter( topCnv, 0 );
54  }
55 
56 private:
60 };
61 #endif
ITPConverterFor< Analysis::TauPi0Candidate >
TauPi0DetailsCnv_p1::m_vecTauPi0CandidateCnv
T_AthenaPoolTPPtrVectorCnv< std::vector< Analysis::TauPi0Candidate * >, std::vector< TPObjRef >, ITPConverterFor< Analysis::TauPi0Candidate > > m_vecTauPi0CandidateCnv
converter for the TauPi0Candidate
Definition: TauPi0DetailsCnv_p1.h:58
Analysis::TauPi0Details
Definition: TauPi0Details.h:35
TauPi0Details_p1
persistent class version 1 for TauPi0Details
Definition: TauPi0Details_p1.h:25
TauPi0Candidate.h
TauPi0Details_p1.h
TauPi0DetailsCnv_p1::persToTrans
virtual void persToTrans(const TauPi0Details_p1 *persObj, Analysis::TauPi0Details *transObj, MsgStream &log)
Fills a transient object from a persistent object.
Definition: TauPi0DetailsCnv_p1.cxx:12
TauPi0DetailsCnv_p1::transToPers
virtual void transToPers(const Analysis::TauPi0Details *transObj, TauPi0Details_p1 *persObj, MsgStream &log)
Fills a persistent object from a transient object.
Definition: TauPi0DetailsCnv_p1.cxx:20
TauPi0Details.h
TPPolyCnvBase
Definition: TPConverter.h:674
T_AthenaPoolTPConverter.h
TauPi0Cluster.h
TauPi0DetailsCnv_p1::initPrivateConverters
virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *topCnv)
make sure that the private converter is known
Definition: TauPi0DetailsCnv_p1.h:50
TauPi0DetailsCnv_p1
Definition: TauPi0DetailsCnv_p1.h:31
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition: TopLevelTPCnvBase.h:32
TauPi0DetailsCnv_p1::TauPi0DetailsCnv_p1
TauPi0DetailsCnv_p1()
Definition: TauPi0DetailsCnv_p1.h:33
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TauPi0DetailsCnv_p1::m_vecTauPi0ClusterCnv
T_AthenaPoolTPPtrVectorCnv< std::vector< Analysis::TauPi0Cluster * >, std::vector< TPObjRef >, ITPConverterFor< Analysis::TauPi0Cluster > > m_vecTauPi0ClusterCnv
Definition: TauPi0DetailsCnv_p1.h:59
TPPtrVectorCnv
Definition: TPConverter.h:919