ATLAS Offline Software
TrigMuonClusterFeatureCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 
9 //-----------------------------------------------------------------------------
10 // Persistent to transient
11 //-----------------------------------------------------------------------------
13  TrigMuonClusterFeature *transObj,
14  MsgStream &log )
15 {
16  log << MSG::DEBUG << "TrigMuonClusterFeatureCnv_p1::persToTrans called " << endmsg;
17 
18  *transObj = TrigMuonClusterFeature (persObj->m_eta,
19  persObj->m_phi,
20  persObj->m_nroi,
21  persObj->m_njet,
22  persObj->m_ntrk);
23 }
24 
25 //-----------------------------------------------------------------------------
26 // Transient to persistent
27 //-----------------------------------------------------------------------------
30  MsgStream &log )
31 {
32  log << MSG::DEBUG << "TrigMuonClusterFeatureCnv_p1::transToPers called " << endmsg;
33 
34  persObj->m_eta = transObj->eta() ;
35  persObj->m_phi = transObj->phi() ;
36  persObj->m_nroi = transObj->getNRoi() ;
37  persObj->m_njet = transObj->getNJet() ;
38  persObj->m_ntrk = transObj->getNTRK() ;
39 
40 
41 }
TrigMuonClusterFeature_p1
Definition: TrigMuonClusterFeature_p1.h:23
TrigMuonClusterFeature_p1.h
TrigMuonClusterFeatureCnv_p1::persToTrans
virtual void persToTrans(const TrigMuonClusterFeature_p1 *persObj, TrigMuonClusterFeature *transObj, MsgStream &log)
Definition: TrigMuonClusterFeatureCnv_p1.cxx:12
TrigMuonClusterFeatureCnv_p1::transToPers
virtual void transToPers(const TrigMuonClusterFeature *transObj, TrigMuonClusterFeature_p1 *persObj, MsgStream &log)
Definition: TrigMuonClusterFeatureCnv_p1.cxx:28
TrigMuonClusterFeature::getNRoi
int getNRoi() const
Definition: TrigMuonClusterFeature.h:59
TrigMuonClusterFeature_p1::m_njet
int m_njet
Definition: TrigMuonClusterFeature_p1.h:48
TrigMuonClusterFeature_p1::m_eta
float m_eta
Definition: TrigMuonClusterFeature_p1.h:45
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigMuonClusterFeature::getNTRK
int getNTRK() const
Definition: TrigMuonClusterFeature.h:60
TrigMuonClusterFeature_p1::m_ntrk
int m_ntrk
Definition: TrigMuonClusterFeature_p1.h:49
TrigMuonClusterFeature::phi
double phi(void) const
phi in [-pi,pi[
Definition: TrigMuonClusterFeature.h:56
TrigMuonClusterFeature
Definition: TrigMuonClusterFeature.h:35
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigMuonClusterFeatureCnv_p1.h
TrigMuonClusterFeature_p1::m_phi
float m_phi
Definition: TrigMuonClusterFeature_p1.h:46
TrigMuonClusterFeature::getNJet
int getNJet() const
Definition: TrigMuonClusterFeature.h:61
TrigMuonClusterFeature_p1::m_nroi
int m_nroi
Definition: TrigMuonClusterFeature_p1.h:47
TrigMuonClusterFeature::eta
double eta(void) const
pseudo rapidity
Definition: TrigMuonClusterFeature.h:55
TrigMuonClusterFeature.h