ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSpShowerCnv_p1.cxx
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5*/
6
7// MuonSpShowerCnv_p1.cxx
8// Implementation file for class MuonSpShowerCnv_p1
9// Author: Edward.Moyse@cern.ch
11
12// muonEvent includes
14
15// RecTPCnv includes
17
18
20 Rec::MuonSpShower* trans,
21 MsgStream& /*msg*/ ) const
22{
23 trans->set_eta (pers->m_eta);
24 trans->set_phi (pers->m_phi);
32 return;
33}
34
36 MuonSpShower_p1* pers,
37 MsgStream& /*msg*/ ) const
38{
39 pers->m_eta = trans->eta();
40 pers->m_phi = trans->phi();
42 pers->m_numberOfInnerHits = trans->numberOfInnerHits() ;
46 pers->m_numberOfOuterHits = trans->numberOfOuterHits() ;
48 return;
49}
virtual void transToPers(const Rec::MuonSpShower *transObj, MuonSpShower_p1 *persObj, MsgStream &msg) const override
Method creating the persistent representation MuonSpShower_p1 from its transient representation Rec::...
virtual void persToTrans(const MuonSpShower_p1 *persObj, Rec::MuonSpShower *transObj, MsgStream &msg) const override
Method creating the transient representation of Rec::MuonSpShower from its persistent representation ...
Persisent representation of the transient Rec::MuonSpShower class.
unsigned short m_numberOfMiddleSegments
unsigned short m_numberOfOuterHits
unsigned short m_numberOfMiddleHits
unsigned short m_numberOfTriggerHits
unsigned short m_numberOfInnerHits
unsigned short m_numberOfInnerSegments
unsigned short m_numberOfOuterSegments
unsigned short numberOfInnerSegments() const
return the number of Inner segments
unsigned short numberOfTriggerHits() const
return the number of Trigger hits
void set_numberOfOuterHits(const unsigned short nHit)
set the number of Outer Hits
unsigned short numberOfMiddleHits() const
return the number of Middle hits
void set_phi(const float axisPhi)
set the Jet axis - phi
unsigned short numberOfOuterHits() const
return the number of Outer hits
void set_numberOfInnerHits(const unsigned short nHit)
set the number of Inner Hits
void set_numberOfInnerSegments(const unsigned short nSeg)
set the number of Inner segments
unsigned short numberOfOuterSegments() const
return the number of Outer segments
void set_numberOfMiddleHits(const unsigned short nHit)
set the number of Middle Hits
float phi() const
return the Jet axis - phi
unsigned short numberOfMiddleSegments() const
return the number of Middle segments
float eta() const
return the Jet axis - eta
void set_numberOfTriggerHits(const unsigned short nHit)
set the number of Trigger Hits
unsigned short numberOfInnerHits() const
return the number of Inner hits
void set_numberOfOuterSegments(const unsigned short nSeg)
set the number of Outer segments
void set_numberOfMiddleSegments(const unsigned short nSeg)
set the number of Middle segments
void set_eta(const float axisEta)
set the Jet axis - eta