ATLAS Offline Software
TrigMuonEFIsolationCnv_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 
14 
15  log << MSG::DEBUG << "Called TrigMuonEFIsolationCnv_p1::persToTrans" << endmsg;
16 
17  transObj->setSumTrkPtCone02 (persObj->allTheFloats[0]);
18  transObj->setSumTrkPtCone03 (persObj->allTheFloats[1]);
19 
20  transObj->setEFMuonInfoTrackLink (persObj->m_trkPos);
21 
22 }//persToTrans
23 
28 
29  log << MSG::DEBUG << "Called TrigMuonEFIsolationCnv_p1::transToPers" << endmsg;
30 
31  persObj->allTheFloats[0] = transObj->sumTrkPtCone02();
32  persObj->allTheFloats[1] = transObj->sumTrkPtCone03();
33 
34  persObj->m_trkPos = transObj->trackPosition();
35 
36 }//transToPers
TrigMuonEFIsolationCnv_p1.h
TrigMuonEFIsolation::setSumTrkPtCone02
void setSumTrkPtCone02(const double ptcone02)
set sum of track Pt in 0.2 cone
Definition: TrigMuonEFIsolation.h:79
TrigMuonEFIsolation_p1::m_trkPos
int m_trkPos
array to hold the floats
Definition: TrigMuonEFIsolation_p1.h:32
TrigMuonEFIsolation_p1.h
TrigMuonEFIsolationCnv_p1::persToTrans
virtual void persToTrans(const TrigMuonEFIsolation_p1 *persObj, TrigMuonEFIsolation *transObj, MsgStream &log)
Convert from persistent to transient.
Definition: TrigMuonEFIsolationCnv_p1.cxx:13
TrigMuonEFIsolation.h
TrigMuonEFIsolation
Definition: TrigMuonEFIsolation.h:24
TrigMuonEFIsolation_p1::allTheFloats
float allTheFloats[2]
Definition: TrigMuonEFIsolation_p1.h:30
TrigMuonEFIsolation::sumTrkPtCone02
float sumTrkPtCone02() const
Definition: TrigMuonEFIsolation.h:54
TrigMuonEFIsolation_p1
Persistent partner class for TrigMuonEFIsolation.
Definition: TrigMuonEFIsolation_p1.h:18
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigMuonEFIsolation::setSumTrkPtCone03
void setSumTrkPtCone03(const double ptcone03)
set sum of track Pt in 0.3 cone
Definition: TrigMuonEFIsolation.h:81
TrigMuonEFIsolation::setEFMuonInfoTrackLink
void setEFMuonInfoTrackLink(const int itrk)
Set the link to the muon we calculated the isolation for.
Definition: TrigMuonEFIsolation.cxx:106
TrigMuonEFIsolation::trackPosition
int trackPosition() const
Position of the muon in the TrigMuonEFInfoTrack container.
Definition: TrigMuonEFIsolation.h:68
TrigMuonEFIsolation::sumTrkPtCone03
float sumTrkPtCone03() const
Definition: TrigMuonEFIsolation.h:56
TrigMuonEFIsolationCnv_p1::transToPers
virtual void transToPers(const TrigMuonEFIsolation *transObj, TrigMuonEFIsolation_p1 *persObj, MsgStream &log)
Convert from transient to persistent.
Definition: TrigMuonEFIsolationCnv_p1.cxx:27
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20