ATLAS Offline Software
TauPi0DetailsCnv_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 
6 // Implementation of the TP converter
8 
11 
13 {
14  m_vecTauPi0ClusterCnv.persToTrans( &persObj->m_pi0ClusContainer, &(transObj->pi0ClusterVector()), log );
15  m_vecTauPi0CandidateCnv.persToTrans( &persObj->m_pi0CandContainer, &(transObj->pi0CandidateVector()), log );
16  m_vecTauShotCnv.persToTrans( &persObj->m_shotContainer, &(transObj->shotVector()), log );
17  transObj->setVisTauhlv (persObj->m_visTau_hlv);
18 
19 }
20 
22 {
23  m_vecTauPi0ClusterCnv.transToPers( &(transObj->pi0ClusterVector()), &persObj->m_pi0ClusContainer, log );
24  m_vecTauPi0CandidateCnv.transToPers( &(transObj->pi0CandidateVector()), &persObj->m_pi0CandContainer, log );
25  m_vecTauShotCnv.transToPers( &(transObj->shotVector()), &persObj->m_shotContainer, log );
26  persObj->m_visTau_hlv = transObj->visTauhlv();
27 }
28 
Analysis::TauPi0Details::pi0ClusterVector
const std::vector< TauPi0Cluster * > & pi0ClusterVector() const
Analysis::TauPi0Details::shotVector
const std::vector< TauShot * > & shotVector() const
Analysis::TauPi0Details
Definition: TauPi0Details.h:35
TauPi0DetailsCnv_p2.h
TauPi0Details_p2::m_shotContainer
std::vector< TPObjRef > m_shotContainer
Definition: TauPi0Details_p2.h:36
TauPi0Details_p2::m_visTau_hlv
CLHEP::HepLorentzVector m_visTau_hlv
Definition: TauPi0Details_p2.h:38
TauPi0Details.h
TauPi0DetailsCnv_p2::m_vecTauPi0ClusterCnv
T_AthenaPoolTPPtrVectorCnv< std::vector< Analysis::TauPi0Cluster * >, std::vector< TPObjRef >, ITPConverterFor< Analysis::TauPi0Cluster > > m_vecTauPi0ClusterCnv
Definition: TauPi0DetailsCnv_p2.h:61
TauPi0DetailsCnv_p2::persToTrans
virtual void persToTrans(const TauPi0Details_p2 *persObj, Analysis::TauPi0Details *transObj, MsgStream &log)
Fills a transient object from a persistent object.
Definition: TauPi0DetailsCnv_p2.cxx:12
Analysis::TauPi0Details::pi0CandidateVector
const std::vector< TauPi0Candidate * > & pi0CandidateVector() const
TauPi0DetailsCnv_p2::m_vecTauPi0CandidateCnv
T_AthenaPoolTPPtrVectorCnv< std::vector< Analysis::TauPi0Candidate * >, std::vector< TPObjRef >, ITPConverterFor< Analysis::TauPi0Candidate > > m_vecTauPi0CandidateCnv
converter for the TauPi0Candidate
Definition: TauPi0DetailsCnv_p2.h:60
Analysis::TauPi0Details::setVisTauhlv
void setVisTauhlv(CLHEP::HepLorentzVector visTauhlv)
TauPi0DetailsCnv_p2::m_vecTauShotCnv
T_AthenaPoolTPPtrVectorCnv< std::vector< Analysis::TauShot * >, std::vector< TPObjRef >, ITPConverterFor< Analysis::TauShot > > m_vecTauShotCnv
Definition: TauPi0DetailsCnv_p2.h:62
TauPi0Details_p2::m_pi0CandContainer
std::vector< TPObjRef > m_pi0CandContainer
Definition: TauPi0Details_p2.h:34
TauPi0Details_p2::m_pi0ClusContainer
std::vector< TPObjRef > m_pi0ClusContainer
Definition: TauPi0Details_p2.h:35
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
Analysis::TauPi0Details::visTauhlv
CLHEP::HepLorentzVector visTauhlv() const
TauPi0Details_p2
persistent class version 1 for TauPi0Details
Definition: TauPi0Details_p2.h:25
TauPi0DetailsCnv_p2::transToPers
virtual void transToPers(const Analysis::TauPi0Details *transObj, TauPi0Details_p2 *persObj, MsgStream &log)
Fills a persistent object from a transient object.
Definition: TauPi0DetailsCnv_p2.cxx:21