ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalib::MuonCalibEvent_E Class Reference

Extension to the 'original' MuonCalib::MuonCalibEvent class. More...

#include <MuonCalibEvent_E.h>

Inheritance diagram for MuonCalib::MuonCalibEvent_E:
Collaboration diagram for MuonCalib::MuonCalibEvent_E:

Public Types

using MuonCalibTrkPtr = std::shared_ptr<const MuonCalibTrack_E>
using MuCTPiPtr = std::shared_ptr<const MuonCalibMUCTPI>
using TrigInfoPtr = std::shared_ptr<const MuonCalibTriggerInfo>
using RpcSectorLogicPtr = std::shared_ptr<const MuonCalibRpcSectorLogic>
using RpcCoinPtr = std::shared_ptr<const MuonCalibRawRpcCoin>
using RpcTrigHitPtr = std::shared_ptr<const MuonCalibRawRpcTriggerHit>
using CaloHitPtr = std::shared_ptr<const MuonCalibCaloHit>
 typedef for a set of MuonCalibTrack_E s describing PhiPatterns
typedef std::vector< MuonCalibTrkPtrPhiPatVec
 typedef for a set of MuonCalibTrack_E s describing Tracks
typedef std::vector< MuonCalibTrkPtrTrackVec
 typedef for a set of TriggerInfo bits
typedef std::vector< TrigInfoPtrCtpVec
 typedef for a set of MUCTPI entries
typedef std::vector< MuCTPiPtrMUCTPIVec
 typedef for a set of MuonCalibRpcSectorLogic entries
typedef std::vector< RpcSectorLogicPtrRpcSLVec
 typedef for a set of MuonCalibRpcCoin entries
typedef std::vector< RpcCoinPtrRpcCoinVec
 typedef for a set of MuonCalibRawRpcTriggerHit entries
typedef std::vector< RpcTrigHitPtrRawRpcTrigVec
 typedef for a set of MuonCalibCalo Hits for the MBTS
typedef std::vector< CaloHitPtrMBTSVec
 typedef for a set of MuonCalibCalo Hits for L1Calo
typedef std::vector< CaloHitPtrL1CaloVec
using PatternPtr = std::shared_ptr<MuonCalibPattern>
typedef std::vector< PatternPtrMCPVec
 typedef to std::vector<MuonCalibPattern*>

Public Member Functions

 MuonCalibEvent_E ()=default
 default constructor
 MuonCalibEvent_E (const MuonCalibEvent &event)
 constructor starting from a MuonCalib::MuonCalibEvent
 MuonCalibEvent_E (const MuonCalibEvent_E &event)
 copyconstructor
MuonCalibEvent_Eoperator= (const MuonCalibEvent_E &right)
 assign operator
 ~MuonCalibEvent_E ()=default
 destructor
void addPattern (MuonCalibTrack_E *pat)
 Adds a PhiPattern to PhiPatVec.
void addTrack (MuonCalibTrack_E *track)
 Adds a Track to TrackVec.
void addCtp (MuonCalibTriggerInfo *trig)
 Adds a TriggerInfo to CtpVec.
void addMUCTPI (MuonCalibMUCTPI *mctp)
 Adds a MUCTPI obj to MUCTPIVec.
void addRpcSL (MuonCalibRpcSectorLogic *rpcsl)
 Adds an RpcSectorLogic obj to RpcSLVec.
void addRpcCoin (MuonCalibRawRpcCoin *rpcco)
 Adds an RpcCoin obj to RpcCoinVec.
void addRawRpcTrigHit (MuonCalibRawRpcTriggerHit *rpctr)
 Adds an RpcCoin obj to RpcCoinVec.
void addMBTS (MuonCalibCaloHit *hit)
 Adds a MBTS hit to MBTSVec.
void addL1Calo (MuonCalibCaloHit *hit)
 Adds a L1Calo hit/tower to L1CaloVec.
void addPattern (const MuonCalibTrkPtr &pat)
 Adds a PhiPattern to PhiPatVec.
void addTrack (const MuonCalibTrkPtr &track)
 Adds a Track to TrackVec.
void addCtp (const TrigInfoPtr &trig)
 Adds a TriggerInfo to CtpVec.
void addMUCTPI (const MuCTPiPtr &mctp)
 Adds a MUCTPI obj to MUCTPIVec.
void addRpcSL (const RpcSectorLogicPtr &rpcsl)
 Adds an RpcSectorLogic obj to RpcSLVec.
void addRpcCoin (const RpcCoinPtr &rpcco)
 Adds an RpcCoin obj to RpcCoinVec.
void addRawRpcTrigHit (const RpcTrigHitPtr &rpctr)
 Adds an RpcCoin obj to RpcCoinVec.
void addMBTS (const CaloHitPtr &hit)
 Adds a MBTS hit to MBTSVec.
void addL1Calo (const CaloHitPtr &hit)
 Adds a L1Calo hit/tower to L1CaloVec.
unsigned int nrPhiPat () const
 returns number of PhiPatterns of the MuonCalibEvent_E
unsigned int nrTracks () const
 returns number of Tracks of the MuonCalibEvent_E
unsigned int nrCtp () const
 returns number of CTP hits /bits in MuonCalibEvent_E
unsigned int nrMUCTPI () const
 returns number of MUCTPI objects in MuonCalibEvent_E
unsigned int nrRpcSL () const
 returns number of RpcSectorLogic objects in MuonCalibEvent_E
unsigned int nrRpcCoin () const
 returns number of RpcCoinVec objects in MuonCalibEvent_E
unsigned int nrRawRpcTrigHit () const
 returns number of RpcCoinVec objects in MuonCalibEvent_E
unsigned int nrMBTS () const
 returns number of MBTS hits in MuonCalibEvent_E
unsigned int nrL1Calo () const
 returns number of L1Calo towers in MuonCalibEvent_E
const PhiPatVecphiPat () const
 Accesses the Phi ptterns of the event directly.
PhiPatVecphiPat ()
const TrackVectracks () const
 Accesses the tracks of the event directly.
TrackVectracks ()
const CtpVecctp () const
 Access to the Ctp triggerinfo hits / bits.
CtpVecctp ()
 retrieve an iterator of the first MUCTPI triggerinfo bit
const MUCTPIVecMUCTPI () const
MUCTPIVecMUCTPI ()
const RpcSLVecRpcSL () const
RpcSLVecRpcSL ()
const RpcCoinVecRpcCoin () const
RpcCoinVecRpcCoin ()
const RawRpcTrigVecrawRpcTrig () const
RawRpcTrigVecrawRpcTrig ()
const MBTSVecMBTS () const
MBTSVecMBTS ()
const L1CaloVecL1Calo () const
L1CaloVecL1Calo ()
MCPVecpattern ()
 Retrieving the MuonCalibPattern container.
const MCPVecpattern () const
int numberOfPatterns () const
 retrieve the number of MuonCalibPatterns in the event
int numberOfSegments () const
 retrieve the number of MuonCalibSegments in the event
int numberOfHits () const
 retrieve the number of CalibHits in the event (sum of all technologies).
const MuonCalibRawHitCollectionrawHitCollection () const
 retrieve pointer to MuonCalibRawHitCollection
const MuonCalibRawTriggerHitCollectionrawTriggerHitCollection () const
 retrieve the pointer to the MuonCalibTruthCollection.
const MuonCalibTruthCollectioncalibTruthCollection () const
 retrieve the MuonCalibEventInfo.
const MuonCalibEventInfoeventInfo () const
const RpcSectorLogicContainerrpcSectorLogicContainer () const
const MuonCalibTriggerTimeInfotriggerTimeInfo () const
void setMuonCalibTriggerTimeInfo (std::shared_ptr< const MuonCalibTriggerTimeInfo > triggerTimeInfo)
 set the MuonCalibTriggerTimeInfo
void setMuonCalibPatternVec (MuonCalibEvent::MCPVec mcpvec)
 set the MuonCalibPatternVec
void setMuonCalibRawHitCollection (std::shared_ptr< const MuonCalibRawHitCollection > RHColl)
 set the MuonCalibRawHitCollection.
void setMuonCalibRawTriggerHitCollection (std::shared_ptr< const MuonCalibRawTriggerHitCollection > THColl)
 set the MuonCalibRawTriggerHitCollection.
void setMuonCalibTruthCollection (std::shared_ptr< const MuonCalibTruthCollection > MCTColl)
 set the MuonCalibTruthCollection
void setMuonCalibEventInfo (std::shared_ptr< MuonCalibEventInfo > eventInfo)
 set the MuonCalibEventInfo
void setRpcSectorLogicContainer (std::shared_ptr< const RpcSectorLogicContainer > rpcSlContainer)
 set the RpcSectorLogicContainer

Private Member Functions

void copy (const MuonCalibEvent_E &other)

Private Attributes

PhiPatVec m_phiPats
 set of PhiPatterns belonging to the MuonCalibEvent_E
TrackVec m_tracks
 set of Tracks belonging to the MuonCalibEvent_E
CtpVec m_ctp
 set of CTP trigger bits in MuonCalibEvent_E
MUCTPIVec m_mctpi
 set of MUCTPI objects in MuonCalibEvent_E
RpcSLVec m_rpcsl
 set of RpcSL objects in MuonCalibEvent_E
RpcCoinVec m_rpcco
 set of RpcCoin objects in MuonCalibEvent_E
RawRpcTrigVec m_rpctr
 set of RawRpcTrig objects in MuonCalibEvent_E
MBTSVec m_mbts
 set of MBTS Calo Hits in MuonCalibEvent_E
L1CaloVec m_l1calo
 set of L1Calo Hits/towers in MuonCalibEvent_E
MCPVec m_patternVec
 A set of MuonCalibPattern s owned by the MuonCalibEvent.
std::shared_ptr< MuonCalibEventInfom_eventInfo
 MuonCalibEventInfo of the MuonCalibEvent.
std::shared_ptr< const MuonCalibTriggerTimeInfom_triggerTimeInfo
std::shared_ptr< const MuonCalibRawHitCollectionm_rawColl
 raw hits of the MuonCalibEvent
std::shared_ptr< const MuonCalibRawTriggerHitCollectionm_rawTriggerColl
 raw hits of the MuonCalibEvent
std::shared_ptr< const MuonCalibTruthCollectionm_truthColl
 truth collection of the MuonCalibEvent
std::shared_ptr< const RpcSectorLogicContainerm_rpcSlLogicContainer
 RpcSectorLogicContainer.

Detailed Description

Extension to the 'original' MuonCalib::MuonCalibEvent class.

This class makes it possible to store the additional, 'extended' MuonCalib_E classes in the same format.

The Extended MuonCalibEvent stores the following (additional) sets:

  • PhiPatVec, a collection of PhiPatterns (of type MuonCalib::MuonCalibTrack) with its associated PhiHits (of type MuonCalib::MuonCalibHit).
  • TrackVec, a collection of Tracks (of type MuonCalib::MuonCalibTrack) with its associated TrackHits (of type MuonCalib::MuonCalibHit).
  • MBTSVec, a collection of MuonCalibCaloHits that stores the MBTS trigger information.
  • L1CaloVec, a collection of MuonCalibCaloHits that stores the L1Calo tower trigger information.
  • MUCTPIVec, a collection of MuonCalibMUCTPI entries that stores the L1Muon trigger information.
  • RpcSLVec, a collection of MuonCalibRpcSectorLogic entries that stores the Rpc readout information.

Definition at line 35 of file MuonCalibEvent_E.h.

Member Typedef Documentation

◆ CaloHitPtr

typedef for a set of MuonCalibTrack_E s describing PhiPatterns

Definition at line 43 of file MuonCalibEvent_E.h.

◆ CtpVec

typedef for a set of MUCTPI entries

Definition at line 52 of file MuonCalibEvent_E.h.

◆ L1CaloVec

Definition at line 66 of file MuonCalibEvent_E.h.

◆ MBTSVec

typedef for a set of MuonCalibCalo Hits for L1Calo

Definition at line 64 of file MuonCalibEvent_E.h.

◆ MCPVec

typedef std::vector<PatternPtr> MuonCalib::MuonCalibEvent::MCPVec
inherited

typedef to std::vector<MuonCalibPattern*>

Definition at line 51 of file MuonCalibEvent.h.

◆ MuCTPiPtr

Definition at line 38 of file MuonCalibEvent_E.h.

◆ MUCTPIVec

typedef for a set of MuonCalibRpcSectorLogic entries

Definition at line 55 of file MuonCalibEvent_E.h.

◆ MuonCalibTrkPtr

Definition at line 37 of file MuonCalibEvent_E.h.

◆ PatternPtr

using MuonCalib::MuonCalibEvent::PatternPtr = std::shared_ptr<MuonCalibPattern>
inherited

Definition at line 50 of file MuonCalibEvent.h.

◆ PhiPatVec

typedef for a set of MuonCalibTrack_E s describing Tracks

Definition at line 46 of file MuonCalibEvent_E.h.

◆ RawRpcTrigVec

typedef for a set of MuonCalibCalo Hits for the MBTS

Definition at line 62 of file MuonCalibEvent_E.h.

◆ RpcCoinPtr

Definition at line 41 of file MuonCalibEvent_E.h.

◆ RpcCoinVec

typedef for a set of MuonCalibRawRpcTriggerHit entries

Definition at line 60 of file MuonCalibEvent_E.h.

◆ RpcSectorLogicPtr

Definition at line 40 of file MuonCalibEvent_E.h.

◆ RpcSLVec

typedef for a set of MuonCalibRpcCoin entries

Definition at line 57 of file MuonCalibEvent_E.h.

◆ RpcTrigHitPtr

Definition at line 42 of file MuonCalibEvent_E.h.

◆ TrackVec

typedef for a set of TriggerInfo bits

Definition at line 49 of file MuonCalibEvent_E.h.

◆ TrigInfoPtr

Definition at line 39 of file MuonCalibEvent_E.h.

Constructor & Destructor Documentation

◆ MuonCalibEvent_E() [1/3]

MuonCalib::MuonCalibEvent_E::MuonCalibEvent_E ( )
default

default constructor

◆ MuonCalibEvent_E() [2/3]

MuonCalib::MuonCalibEvent_E::MuonCalibEvent_E ( const MuonCalibEvent & event)

constructor starting from a MuonCalib::MuonCalibEvent

Definition at line 10 of file MuonCalibEvent_E.cxx.

10: MuonCalibEvent(event) {}
MuonCalibEvent()=default
Default constructor.

◆ MuonCalibEvent_E() [3/3]

MuonCalib::MuonCalibEvent_E::MuonCalibEvent_E ( const MuonCalibEvent_E & event)

copyconstructor

Definition at line 12 of file MuonCalibEvent_E.cxx.

12: MuonCalibEvent(event) { copy(event); }
void copy(const MuonCalibEvent_E &other)

◆ ~MuonCalibEvent_E()

MuonCalib::MuonCalibEvent_E::~MuonCalibEvent_E ( )
default

destructor

Member Function Documentation

◆ addCtp() [1/2]

void MuonCalib::MuonCalibEvent_E::addCtp ( const TrigInfoPtr & trig)

Adds a TriggerInfo to CtpVec.

Definition at line 86 of file MuonCalibEvent_E.cxx.

86 {
87 if (trig) { m_ctp.emplace_back(trig); }
88 }
CtpVec m_ctp
set of CTP trigger bits in MuonCalibEvent_E

◆ addCtp() [2/2]

void MuonCalib::MuonCalibEvent_E::addCtp ( MuonCalibTriggerInfo * trig)

Adds a TriggerInfo to CtpVec.

Definition at line 122 of file MuonCalibEvent_E.cxx.

122 {
123 if (trig) { m_ctp.emplace_back(trig); }
124 }

◆ addL1Calo() [1/2]

void MuonCalib::MuonCalibEvent_E::addL1Calo ( const CaloHitPtr & hit)

Adds a L1Calo hit/tower to L1CaloVec.

Definition at line 110 of file MuonCalibEvent_E.cxx.

110 {
111 if (hit) { m_l1calo.emplace_back(hit); }
112 }
L1CaloVec m_l1calo
set of L1Calo Hits/towers in MuonCalibEvent_E

◆ addL1Calo() [2/2]

void MuonCalib::MuonCalibEvent_E::addL1Calo ( MuonCalibCaloHit * hit)

Adds a L1Calo hit/tower to L1CaloVec.

Definition at line 146 of file MuonCalibEvent_E.cxx.

146 {
147 if (hit) { m_l1calo.emplace_back(hit); }
148 }

◆ addMBTS() [1/2]

void MuonCalib::MuonCalibEvent_E::addMBTS ( const CaloHitPtr & hit)

Adds a MBTS hit to MBTSVec.

Definition at line 106 of file MuonCalibEvent_E.cxx.

106 {
107 if (hit) { m_mbts.emplace_back(hit); }
108 }
MBTSVec m_mbts
set of MBTS Calo Hits in MuonCalibEvent_E

◆ addMBTS() [2/2]

void MuonCalib::MuonCalibEvent_E::addMBTS ( MuonCalibCaloHit * hit)

Adds a MBTS hit to MBTSVec.

Definition at line 142 of file MuonCalibEvent_E.cxx.

142 {
143 if (hit) { m_mbts.emplace_back(hit); }
144 }

◆ addMUCTPI() [1/2]

void MuonCalib::MuonCalibEvent_E::addMUCTPI ( const MuCTPiPtr & mctp)

Adds a MUCTPI obj to MUCTPIVec.

Definition at line 90 of file MuonCalibEvent_E.cxx.

90 {
91 if (mctpi) { m_mctpi.emplace_back(mctpi); }
92 }
MUCTPIVec m_mctpi
set of MUCTPI objects in MuonCalibEvent_E

◆ addMUCTPI() [2/2]

void MuonCalib::MuonCalibEvent_E::addMUCTPI ( MuonCalibMUCTPI * mctp)

Adds a MUCTPI obj to MUCTPIVec.

Definition at line 126 of file MuonCalibEvent_E.cxx.

126 {
127 if (mctpi) { m_mctpi.emplace_back(mctpi); }
128 }

◆ addPattern() [1/2]

void MuonCalib::MuonCalibEvent_E::addPattern ( const MuonCalibTrkPtr & pat)

Adds a PhiPattern to PhiPatVec.

Definition at line 78 of file MuonCalibEvent_E.cxx.

78 {
79 if (pat) { m_phiPats.emplace_back(pat); }
80 }
PhiPatVec m_phiPats
set of PhiPatterns belonging to the MuonCalibEvent_E

◆ addPattern() [2/2]

void MuonCalib::MuonCalibEvent_E::addPattern ( MuonCalibTrack_E * pat)

Adds a PhiPattern to PhiPatVec.

Definition at line 114 of file MuonCalibEvent_E.cxx.

114 {
115 if (pat) { m_phiPats.emplace_back(pat); }
116 }

◆ addRawRpcTrigHit() [1/2]

void MuonCalib::MuonCalibEvent_E::addRawRpcTrigHit ( const RpcTrigHitPtr & rpctr)

Adds an RpcCoin obj to RpcCoinVec.

Definition at line 102 of file MuonCalibEvent_E.cxx.

102 {
103 if (rpctr) { m_rpctr.emplace_back(rpctr); }
104 }
RawRpcTrigVec m_rpctr
set of RawRpcTrig objects in MuonCalibEvent_E

◆ addRawRpcTrigHit() [2/2]

void MuonCalib::MuonCalibEvent_E::addRawRpcTrigHit ( MuonCalibRawRpcTriggerHit * rpctr)

Adds an RpcCoin obj to RpcCoinVec.

Definition at line 138 of file MuonCalibEvent_E.cxx.

138 {
139 if (rpctr) { m_rpctr.emplace_back(rpctr); }
140 }

◆ addRpcCoin() [1/2]

void MuonCalib::MuonCalibEvent_E::addRpcCoin ( const RpcCoinPtr & rpcco)

Adds an RpcCoin obj to RpcCoinVec.

Definition at line 98 of file MuonCalibEvent_E.cxx.

98 {
99 if (rpcco) { m_rpcco.emplace_back(rpcco); }
100 }
RpcCoinVec m_rpcco
set of RpcCoin objects in MuonCalibEvent_E

◆ addRpcCoin() [2/2]

void MuonCalib::MuonCalibEvent_E::addRpcCoin ( MuonCalibRawRpcCoin * rpcco)

Adds an RpcCoin obj to RpcCoinVec.

Definition at line 134 of file MuonCalibEvent_E.cxx.

134 {
135 if (rpcco) { m_rpcco.emplace_back(rpcco); }
136 }

◆ addRpcSL() [1/2]

void MuonCalib::MuonCalibEvent_E::addRpcSL ( const RpcSectorLogicPtr & rpcsl)

Adds an RpcSectorLogic obj to RpcSLVec.

Definition at line 94 of file MuonCalibEvent_E.cxx.

94 {
95 if (rpcsl) { m_rpcsl.emplace_back(rpcsl); }
96 }
RpcSLVec m_rpcsl
set of RpcSL objects in MuonCalibEvent_E

◆ addRpcSL() [2/2]

void MuonCalib::MuonCalibEvent_E::addRpcSL ( MuonCalibRpcSectorLogic * rpcsl)

Adds an RpcSectorLogic obj to RpcSLVec.

Definition at line 130 of file MuonCalibEvent_E.cxx.

130 {
131 if (rpcsl) { m_rpcsl.emplace_back(rpcsl); }
132 }

◆ addTrack() [1/2]

void MuonCalib::MuonCalibEvent_E::addTrack ( const MuonCalibTrkPtr & track)

Adds a Track to TrackVec.

Definition at line 82 of file MuonCalibEvent_E.cxx.

82 {
83 if (trk) { m_tracks.emplace_back(trk); }
84 }
TrackVec m_tracks
set of Tracks belonging to the MuonCalibEvent_E

◆ addTrack() [2/2]

void MuonCalib::MuonCalibEvent_E::addTrack ( MuonCalibTrack_E * track)

Adds a Track to TrackVec.

Definition at line 118 of file MuonCalibEvent_E.cxx.

118 {
119 if (trk) { m_tracks.emplace_back(trk); }
120 }

◆ calibTruthCollection()

const MuonCalibTruthCollection * MuonCalib::MuonCalibEvent::calibTruthCollection ( ) const
inherited

retrieve the MuonCalibEventInfo.

Definition at line 33 of file MuonCalibEvent.cxx.

33{ return m_truthColl.get(); }
std::shared_ptr< const MuonCalibTruthCollection > m_truthColl
truth collection of the MuonCalibEvent

◆ copy()

void MuonCalib::MuonCalibEvent_E::copy ( const MuonCalibEvent_E & other)
private

Definition at line 14 of file MuonCalibEvent_E.cxx.

14 {
15 m_phiPats.clear();
16 m_tracks.clear();
17 m_ctp.clear();
18 m_mctpi.clear();
19 m_rpcsl.clear();
20 m_rpcco.clear();
21 m_rpctr.clear();
22 m_mbts.clear();
23 m_l1calo.clear();
24
25 for (const MuonCalibTrkPtr& phi : event.phiPat()) { m_phiPats.emplace_back(new MuonCalibTrack_E(*phi)); }
26 for (const MuonCalibTrkPtr& trk : event.tracks()) { m_tracks.emplace_back(new MuonCalibTrack_E(*trk)); }
27 for (const TrigInfoPtr& ctpi : event.ctp()) { m_ctp.emplace_back(new MuonCalibTriggerInfo(*ctpi)); }
28 for (const MuCTPiPtr& mit : event.MUCTPI()) { m_mctpi.emplace_back(new MuonCalibMUCTPI(*mit)); }
29 for (const RpcSectorLogicPtr& logic : event.RpcSL()) { m_rpcsl.emplace_back(new MuonCalibRpcSectorLogic(*logic)); }
30 for (const RpcCoinPtr& coin : event.RpcCoin()) { m_rpcco.emplace_back(new MuonCalibRawRpcCoin(*coin)); }
31 for (const RpcTrigHitPtr& trig_hit : event.rawRpcTrig()) { m_rpctr.emplace_back(new MuonCalibRawRpcTriggerHit(*trig_hit)); }
32 for (const CaloHitPtr& calo_hit : event.MBTS()) { m_mbts.emplace_back(new MuonCalibCaloHit(*calo_hit)); }
33 for (const CaloHitPtr& calo_hit : event.L1Calo()) { m_l1calo.emplace_back(new MuonCalibCaloHit(*calo_hit)); }
34 }
Scalar phi() const
phi method
std::shared_ptr< const MuonCalibRpcSectorLogic > RpcSectorLogicPtr
std::shared_ptr< const MuonCalibCaloHit > CaloHitPtr
typedef for a set of MuonCalibTrack_E s describing PhiPatterns
std::shared_ptr< const MuonCalibRawRpcTriggerHit > RpcTrigHitPtr
std::shared_ptr< const MuonCalibRawRpcCoin > RpcCoinPtr
std::shared_ptr< const MuonCalibTrack_E > MuonCalibTrkPtr
std::shared_ptr< const MuonCalibTriggerInfo > TrigInfoPtr
std::shared_ptr< const MuonCalibMUCTPI > MuCTPiPtr

◆ ctp() [1/2]

MuonCalibEvent_E::CtpVec & MuonCalib::MuonCalibEvent_E::ctp ( )

retrieve an iterator of the first MUCTPI triggerinfo bit

Definition at line 48 of file MuonCalibEvent_E.cxx.

◆ ctp() [2/2]

const MuonCalibEvent_E::CtpVec & MuonCalib::MuonCalibEvent_E::ctp ( ) const

Access to the Ctp triggerinfo hits / bits.

Definition at line 47 of file MuonCalibEvent_E.cxx.

47{ return m_ctp; }

◆ eventInfo()

const MuonCalibEventInfo & MuonCalib::MuonCalibEvent::eventInfo ( ) const
inherited

Definition at line 34 of file MuonCalibEvent.cxx.

34{ return *m_eventInfo; }
std::shared_ptr< MuonCalibEventInfo > m_eventInfo
MuonCalibEventInfo of the MuonCalibEvent.

◆ L1Calo() [1/2]

MuonCalibEvent_E::L1CaloVec & MuonCalib::MuonCalibEvent_E::L1Calo ( )

Definition at line 66 of file MuonCalibEvent_E.cxx.

66{ return m_l1calo; }

◆ L1Calo() [2/2]

const MuonCalibEvent_E::L1CaloVec & MuonCalib::MuonCalibEvent_E::L1Calo ( ) const

Definition at line 65 of file MuonCalibEvent_E.cxx.

65{ return m_l1calo; }

◆ MBTS() [1/2]

MuonCalibEvent_E::MBTSVec & MuonCalib::MuonCalibEvent_E::MBTS ( )

Definition at line 64 of file MuonCalibEvent_E.cxx.

64{ return m_mbts; }

◆ MBTS() [2/2]

const MuonCalibEvent_E::MBTSVec & MuonCalib::MuonCalibEvent_E::MBTS ( ) const

Definition at line 63 of file MuonCalibEvent_E.cxx.

63{ return m_mbts; }

◆ MUCTPI() [1/2]

MuonCalibEvent_E::MUCTPIVec & MuonCalib::MuonCalibEvent_E::MUCTPI ( )

Definition at line 52 of file MuonCalibEvent_E.cxx.

52{ return m_mctpi; }

◆ MUCTPI() [2/2]

const MuonCalibEvent_E::MUCTPIVec & MuonCalib::MuonCalibEvent_E::MUCTPI ( ) const

Definition at line 51 of file MuonCalibEvent_E.cxx.

51{ return m_mctpi; }

◆ nrCtp()

unsigned int MuonCalib::MuonCalibEvent_E::nrCtp ( ) const

returns number of CTP hits /bits in MuonCalibEvent_E

Definition at line 70 of file MuonCalibEvent_E.cxx.

70{ return m_ctp.size(); }

◆ nrL1Calo()

unsigned int MuonCalib::MuonCalibEvent_E::nrL1Calo ( ) const

returns number of L1Calo towers in MuonCalibEvent_E

Definition at line 76 of file MuonCalibEvent_E.cxx.

76{ return m_l1calo.size(); }

◆ nrMBTS()

unsigned int MuonCalib::MuonCalibEvent_E::nrMBTS ( ) const

returns number of MBTS hits in MuonCalibEvent_E

Definition at line 75 of file MuonCalibEvent_E.cxx.

75{ return m_mbts.size(); }

◆ nrMUCTPI()

unsigned int MuonCalib::MuonCalibEvent_E::nrMUCTPI ( ) const

returns number of MUCTPI objects in MuonCalibEvent_E

Definition at line 71 of file MuonCalibEvent_E.cxx.

71{ return m_mctpi.size(); }

◆ nrPhiPat()

unsigned int MuonCalib::MuonCalibEvent_E::nrPhiPat ( ) const

returns number of PhiPatterns of the MuonCalibEvent_E

Definition at line 68 of file MuonCalibEvent_E.cxx.

68{ return m_phiPats.size(); }

◆ nrRawRpcTrigHit()

unsigned int MuonCalib::MuonCalibEvent_E::nrRawRpcTrigHit ( ) const

returns number of RpcCoinVec objects in MuonCalibEvent_E

Definition at line 74 of file MuonCalibEvent_E.cxx.

74{ return m_rpctr.size(); }

◆ nrRpcCoin()

unsigned int MuonCalib::MuonCalibEvent_E::nrRpcCoin ( ) const

returns number of RpcCoinVec objects in MuonCalibEvent_E

Definition at line 73 of file MuonCalibEvent_E.cxx.

73{ return m_rpcco.size(); }

◆ nrRpcSL()

unsigned int MuonCalib::MuonCalibEvent_E::nrRpcSL ( ) const

returns number of RpcSectorLogic objects in MuonCalibEvent_E

Definition at line 72 of file MuonCalibEvent_E.cxx.

72{ return m_rpcsl.size(); }

◆ nrTracks()

unsigned int MuonCalib::MuonCalibEvent_E::nrTracks ( ) const

returns number of Tracks of the MuonCalibEvent_E

Definition at line 69 of file MuonCalibEvent_E.cxx.

69{ return m_tracks.size(); }

◆ numberOfHits()

int MuonCalib::MuonCalibEvent::numberOfHits ( ) const
inherited

retrieve the number of CalibHits in the event (sum of all technologies).

retrieve pointer to MuonCalibRawHitCollection

Definition at line 52 of file MuonCalibEvent.cxx.

52 {
53 int hits = 0;
54 for (const PatternPtr &pat : pattern()) {
55 hits += pat->nmdtHits() % 1000;
56 hits += (pat->nmdtHits() - (pat->nmdtHits() % 1000)) / 1000;
57 hits += pat->nrpcHits() % 1000;
58 hits += (pat->nrpcHits() - (pat->nrpcHits() % 1000)) / 1000;
59 hits += pat->ntgcHits() % 1000;
60 hits += (pat->ntgcHits() - (pat->ntgcHits() % 1000)) / 1000;
61 hits += pat->ncscHits() % 1000;
62 hits += (pat->ncscHits() - (pat->ncscHits() % 1000)) / 1000;
63 }
64 return hits;
65 }
MCPVec & pattern()
Retrieving the MuonCalibPattern container.
std::shared_ptr< MuonCalibPattern > PatternPtr

◆ numberOfPatterns()

int MuonCalib::MuonCalibEvent::numberOfPatterns ( ) const
inherited

retrieve the number of MuonCalibPatterns in the event

Definition at line 43 of file MuonCalibEvent.cxx.

43{ return m_patternVec.size(); }
MCPVec m_patternVec
A set of MuonCalibPattern s owned by the MuonCalibEvent.

◆ numberOfSegments()

int MuonCalib::MuonCalibEvent::numberOfSegments ( ) const
inherited

retrieve the number of MuonCalibSegments in the event

Definition at line 45 of file MuonCalibEvent.cxx.

45 {
46 int segs = 0;
47 for (const PatternPtr &pat : pattern()) segs += pat->muonSegments();
48
49 return segs;
50 }

◆ operator=()

MuonCalibEvent_E & MuonCalib::MuonCalibEvent_E::operator= ( const MuonCalibEvent_E & right)

assign operator

Definition at line 36 of file MuonCalibEvent_E.cxx.

36 {
37 if (this != &event) { copy(event); }
38 return (*this);
39 }

◆ pattern() [1/2]

MuonCalibEvent::MCPVec & MuonCalib::MuonCalibEvent::pattern ( )
inherited

Retrieving the MuonCalibPattern container.

Definition at line 28 of file MuonCalibEvent.cxx.

28{ return m_patternVec; }

◆ pattern() [2/2]

const MuonCalibEvent::MCPVec & MuonCalib::MuonCalibEvent::pattern ( ) const
inherited

Definition at line 29 of file MuonCalibEvent.cxx.

29{ return m_patternVec; }

◆ phiPat() [1/2]

MuonCalibEvent_E::PhiPatVec & MuonCalib::MuonCalibEvent_E::phiPat ( )

Definition at line 41 of file MuonCalibEvent_E.cxx.

41{ return m_phiPats; }

◆ phiPat() [2/2]

const MuonCalibEvent_E::PhiPatVec & MuonCalib::MuonCalibEvent_E::phiPat ( ) const

Accesses the Phi ptterns of the event directly.

Definition at line 40 of file MuonCalibEvent_E.cxx.

40{ return m_phiPats; }

◆ rawHitCollection()

const MuonCalibRawHitCollection * MuonCalib::MuonCalibEvent::rawHitCollection ( ) const
inherited

retrieve pointer to MuonCalibRawHitCollection

Definition at line 31 of file MuonCalibEvent.cxx.

31{ return m_rawColl.get(); }
std::shared_ptr< const MuonCalibRawHitCollection > m_rawColl
raw hits of the MuonCalibEvent

◆ rawRpcTrig() [1/2]

MuonCalibEvent_E::RawRpcTrigVec & MuonCalib::MuonCalibEvent_E::rawRpcTrig ( )

Definition at line 61 of file MuonCalibEvent_E.cxx.

61{ return m_rpctr; }

◆ rawRpcTrig() [2/2]

const MuonCalibEvent_E::RawRpcTrigVec & MuonCalib::MuonCalibEvent_E::rawRpcTrig ( ) const

Definition at line 60 of file MuonCalibEvent_E.cxx.

60{ return m_rpctr; }

◆ rawTriggerHitCollection()

const MuonCalibRawTriggerHitCollection * MuonCalib::MuonCalibEvent::rawTriggerHitCollection ( ) const
inherited

retrieve the pointer to the MuonCalibTruthCollection.

Definition at line 32 of file MuonCalibEvent.cxx.

32{ return m_rawTriggerColl.get(); }
std::shared_ptr< const MuonCalibRawTriggerHitCollection > m_rawTriggerColl
raw hits of the MuonCalibEvent

◆ RpcCoin() [1/2]

MuonCalibEvent_E::RpcCoinVec & MuonCalib::MuonCalibEvent_E::RpcCoin ( )

Definition at line 57 of file MuonCalibEvent_E.cxx.

57{ return m_rpcco; }

◆ RpcCoin() [2/2]

const MuonCalibEvent_E::RpcCoinVec & MuonCalib::MuonCalibEvent_E::RpcCoin ( ) const

Definition at line 58 of file MuonCalibEvent_E.cxx.

58{ return m_rpcco; }

◆ rpcSectorLogicContainer()

const RpcSectorLogicContainer * MuonCalib::MuonCalibEvent::rpcSectorLogicContainer ( ) const
inherited

Definition at line 35 of file MuonCalibEvent.cxx.

35{ return m_rpcSlLogicContainer.get(); }
std::shared_ptr< const RpcSectorLogicContainer > m_rpcSlLogicContainer
RpcSectorLogicContainer.

◆ RpcSL() [1/2]

MuonCalibEvent_E::RpcSLVec & MuonCalib::MuonCalibEvent_E::RpcSL ( )

Definition at line 55 of file MuonCalibEvent_E.cxx.

55{ return m_rpcsl; }

◆ RpcSL() [2/2]

const MuonCalibEvent_E::RpcSLVec & MuonCalib::MuonCalibEvent_E::RpcSL ( ) const

Definition at line 54 of file MuonCalibEvent_E.cxx.

54{ return m_rpcsl; }

◆ setMuonCalibEventInfo()

void MuonCalib::MuonCalibEvent::setMuonCalibEventInfo ( std::shared_ptr< MuonCalibEventInfo > eventInfo)
inherited

set the MuonCalibEventInfo

Definition at line 38 of file MuonCalibEvent.cxx.

38{ m_eventInfo = std::move(eventInfo); }
const MuonCalibEventInfo & eventInfo() const

◆ setMuonCalibPatternVec()

void MuonCalib::MuonCalibEvent::setMuonCalibPatternVec ( MuonCalibEvent::MCPVec mcpvec)
inherited

set the MuonCalibPatternVec

Definition at line 78 of file MuonCalibEvent.cxx.

78{ m_patternVec = std::move(mcpvec); }

◆ setMuonCalibRawHitCollection()

void MuonCalib::MuonCalibEvent::setMuonCalibRawHitCollection ( std::shared_ptr< const MuonCalibRawHitCollection > RHColl)
inherited

set the MuonCalibRawHitCollection.

Definition at line 72 of file MuonCalibEvent.cxx.

72 {
73 m_rawColl = std::move(RHColl);
74 }

◆ setMuonCalibRawTriggerHitCollection()

void MuonCalib::MuonCalibEvent::setMuonCalibRawTriggerHitCollection ( std::shared_ptr< const MuonCalibRawTriggerHitCollection > THColl)
inherited

set the MuonCalibRawTriggerHitCollection.

Definition at line 75 of file MuonCalibEvent.cxx.

75 {
76 m_rawTriggerColl = std::move(THColl);
77 }

◆ setMuonCalibTriggerTimeInfo()

void MuonCalib::MuonCalibEvent::setMuonCalibTriggerTimeInfo ( std::shared_ptr< const MuonCalibTriggerTimeInfo > triggerTimeInfo)
inherited

set the MuonCalibTriggerTimeInfo

Definition at line 66 of file MuonCalibEvent.cxx.

66 {
68 }
const MuonCalibTriggerTimeInfo * triggerTimeInfo() const
std::shared_ptr< const MuonCalibTriggerTimeInfo > m_triggerTimeInfo

◆ setMuonCalibTruthCollection()

void MuonCalib::MuonCalibEvent::setMuonCalibTruthCollection ( std::shared_ptr< const MuonCalibTruthCollection > MCTColl)
inherited

set the MuonCalibTruthCollection

Definition at line 69 of file MuonCalibEvent.cxx.

69 {
70 m_truthColl = std::move(MCTColl);
71 }

◆ setRpcSectorLogicContainer()

void MuonCalib::MuonCalibEvent::setRpcSectorLogicContainer ( std::shared_ptr< const RpcSectorLogicContainer > rpcSlContainer)
inherited

set the RpcSectorLogicContainer

Definition at line 39 of file MuonCalibEvent.cxx.

39 {
40 m_rpcSlLogicContainer = std::move(rpcSlContainer);
41 }

◆ tracks() [1/2]

MuonCalibEvent_E::TrackVec & MuonCalib::MuonCalibEvent_E::tracks ( )

Definition at line 44 of file MuonCalibEvent_E.cxx.

44{ return m_tracks; }

◆ tracks() [2/2]

const MuonCalibEvent_E::TrackVec & MuonCalib::MuonCalibEvent_E::tracks ( ) const

Accesses the tracks of the event directly.

Definition at line 43 of file MuonCalibEvent_E.cxx.

43{ return m_tracks; }

◆ triggerTimeInfo()

const MuonCalibTriggerTimeInfo * MuonCalib::MuonCalibEvent::triggerTimeInfo ( ) const
inherited

Definition at line 36 of file MuonCalibEvent.cxx.

36{ return m_triggerTimeInfo.get(); }

Member Data Documentation

◆ m_ctp

CtpVec MuonCalib::MuonCalibEvent_E::m_ctp
private

set of CTP trigger bits in MuonCalibEvent_E

Definition at line 139 of file MuonCalibEvent_E.h.

◆ m_eventInfo

std::shared_ptr<MuonCalibEventInfo> MuonCalib::MuonCalibEvent::m_eventInfo
privateinherited

MuonCalibEventInfo of the MuonCalibEvent.

Definition at line 99 of file MuonCalibEvent.h.

◆ m_l1calo

L1CaloVec MuonCalib::MuonCalibEvent_E::m_l1calo
private

set of L1Calo Hits/towers in MuonCalibEvent_E

Definition at line 145 of file MuonCalibEvent_E.h.

◆ m_mbts

MBTSVec MuonCalib::MuonCalibEvent_E::m_mbts
private

set of MBTS Calo Hits in MuonCalibEvent_E

Definition at line 144 of file MuonCalibEvent_E.h.

◆ m_mctpi

MUCTPIVec MuonCalib::MuonCalibEvent_E::m_mctpi
private

set of MUCTPI objects in MuonCalibEvent_E

Definition at line 140 of file MuonCalibEvent_E.h.

◆ m_patternVec

MCPVec MuonCalib::MuonCalibEvent::m_patternVec
privateinherited

A set of MuonCalibPattern s owned by the MuonCalibEvent.

Definition at line 98 of file MuonCalibEvent.h.

◆ m_phiPats

PhiPatVec MuonCalib::MuonCalibEvent_E::m_phiPats
private

set of PhiPatterns belonging to the MuonCalibEvent_E

Definition at line 137 of file MuonCalibEvent_E.h.

◆ m_rawColl

std::shared_ptr<const MuonCalibRawHitCollection> MuonCalib::MuonCalibEvent::m_rawColl
privateinherited

raw hits of the MuonCalibEvent

Definition at line 101 of file MuonCalibEvent.h.

◆ m_rawTriggerColl

std::shared_ptr<const MuonCalibRawTriggerHitCollection> MuonCalib::MuonCalibEvent::m_rawTriggerColl
privateinherited

raw hits of the MuonCalibEvent

Definition at line 102 of file MuonCalibEvent.h.

◆ m_rpcco

RpcCoinVec MuonCalib::MuonCalibEvent_E::m_rpcco
private

set of RpcCoin objects in MuonCalibEvent_E

Definition at line 142 of file MuonCalibEvent_E.h.

◆ m_rpcsl

RpcSLVec MuonCalib::MuonCalibEvent_E::m_rpcsl
private

set of RpcSL objects in MuonCalibEvent_E

Definition at line 141 of file MuonCalibEvent_E.h.

◆ m_rpcSlLogicContainer

std::shared_ptr<const RpcSectorLogicContainer> MuonCalib::MuonCalibEvent::m_rpcSlLogicContainer
privateinherited

RpcSectorLogicContainer.

Definition at line 104 of file MuonCalibEvent.h.

◆ m_rpctr

RawRpcTrigVec MuonCalib::MuonCalibEvent_E::m_rpctr
private

set of RawRpcTrig objects in MuonCalibEvent_E

Definition at line 143 of file MuonCalibEvent_E.h.

◆ m_tracks

TrackVec MuonCalib::MuonCalibEvent_E::m_tracks
private

set of Tracks belonging to the MuonCalibEvent_E

Definition at line 138 of file MuonCalibEvent_E.h.

◆ m_triggerTimeInfo

std::shared_ptr<const MuonCalibTriggerTimeInfo> MuonCalib::MuonCalibEvent::m_triggerTimeInfo
privateinherited

Definition at line 100 of file MuonCalibEvent.h.

◆ m_truthColl

std::shared_ptr<const MuonCalibTruthCollection> MuonCalib::MuonCalibEvent::m_truthColl
privateinherited

truth collection of the MuonCalibEvent

Definition at line 103 of file MuonCalibEvent.h.


The documentation for this class was generated from the following files: