ATLAS Offline Software
Loading...
Searching...
No Matches
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
#define endmsg
virtual void transToPers(const TrigMuonEFIsolation *transObj, TrigMuonEFIsolation_p1 *persObj, MsgStream &log)
Convert from transient to persistent.
virtual void persToTrans(const TrigMuonEFIsolation_p1 *persObj, TrigMuonEFIsolation *transObj, MsgStream &log)
Convert from persistent to transient.
Persistent partner class for TrigMuonEFIsolation.
int m_trkPos
array to hold the floats
EDM class for holding results of EF muon isolation calculation.
int trackPosition() const
Position of the muon in the TrigMuonEFInfoTrack container.
void setSumTrkPtCone02(const double ptcone02)
set sum of track Pt in 0.2 cone
void setSumTrkPtCone03(const double ptcone03)
set sum of track Pt in 0.3 cone
void setEFMuonInfoTrackLink(const int itrk)
Set the link to the muon we calculated the isolation for.