ATLAS Offline Software
Loading...
Searching...
No Matches
TrigIDHitStatsCnv_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
7
8
9
11 TrigIDHitStats* transObj,
12 MsgStream &log)
13{
14 log << MSG::DEBUG << "TrigIDHitStatsCnv_p1::persToTrans called " << endmsg;
15
16 for(unsigned i=0; i<3; i++) {
17 (*transObj)[static_cast<TrigIDHitStats::IDSubDetType>(i)] = persObj->numHits[i];
18 }
19
20}
21
22
24 TrigIDHitStats_p1* persObj,
25 MsgStream &log)
26{
27 log << MSG::DEBUG << "TrigIDHitStatsCnv_p1::transToPers called " << endmsg;
28
29 for(unsigned i=0; i<3; i++) {
30 persObj->numHits[i] = (*transObj)[static_cast<TrigIDHitStats::IDSubDetType>(i)];
31 }
32
33}
#define endmsg
virtual void transToPers(const TrigIDHitStats *transObj, TrigIDHitStats_p1 *persObj, MsgStream &log)
virtual void persToTrans(const TrigIDHitStats_p1 *persObj, TrigIDHitStats *transObj, MsgStream &log)
unsigned char numHits[3]