ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalibEvent_E.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MuonCalibEvent_E_h
6#define MuonCalibEvent_E_h
7
8#include <vector>
9
16namespace MuonCalib {
17
34
36 public:
37 using MuonCalibTrkPtr = std::shared_ptr<const MuonCalibTrack_E>;
38 using MuCTPiPtr = std::shared_ptr<const MuonCalibMUCTPI>;
39 using TrigInfoPtr = std::shared_ptr<const MuonCalibTriggerInfo>;
40 using RpcSectorLogicPtr = std::shared_ptr<const MuonCalibRpcSectorLogic>;
41 using RpcCoinPtr = std::shared_ptr<const MuonCalibRawRpcCoin>;
42 using RpcTrigHitPtr = std::shared_ptr<const MuonCalibRawRpcTriggerHit>;
43 using CaloHitPtr = std::shared_ptr<const MuonCalibCaloHit>;
44
46 typedef std::vector<MuonCalibTrkPtr> PhiPatVec;
48
49 typedef std::vector<MuonCalibTrkPtr> TrackVec;
51
52 typedef std::vector<TrigInfoPtr> CtpVec;
54
55 typedef std::vector<MuCTPiPtr> MUCTPIVec;
57 typedef std::vector<RpcSectorLogicPtr> RpcSLVec;
59
60 typedef std::vector<RpcCoinPtr> RpcCoinVec;
62 typedef std::vector<RpcTrigHitPtr> RawRpcTrigVec;
64 typedef std::vector<CaloHitPtr> MBTSVec;
66 typedef std::vector<CaloHitPtr> L1CaloVec;
67
68 MuonCalibEvent_E() = default;
69 MuonCalibEvent_E(const MuonCalibEvent& event);
72 ~MuonCalibEvent_E() = default;
73
74 void addPattern(MuonCalibTrack_E* pat);
75 void addTrack(MuonCalibTrack_E* track);
76 void addCtp(MuonCalibTriggerInfo* trig);
77 void addMUCTPI(MuonCalibMUCTPI* mctp);
79 void addRpcCoin(MuonCalibRawRpcCoin* rpcco);
81 void addMBTS(MuonCalibCaloHit* hit);
82 void addL1Calo(MuonCalibCaloHit* hit);
83
84 void addPattern(const MuonCalibTrkPtr& pat);
85 void addTrack(const MuonCalibTrkPtr& track);
86 void addCtp(const TrigInfoPtr& trig);
87 void addMUCTPI(const MuCTPiPtr& mctp);
88 void addRpcSL(const RpcSectorLogicPtr& rpcsl);
89 void addRpcCoin(const RpcCoinPtr& rpcco);
90 void addRawRpcTrigHit(const RpcTrigHitPtr& rpctr);
91 void addMBTS(const CaloHitPtr& hit);
92 void addL1Calo(const CaloHitPtr& hit);
93
94 unsigned int nrPhiPat() const;
95 unsigned int nrTracks() const;
96 unsigned int nrCtp() const;
97 unsigned int nrMUCTPI() const;
98 unsigned int nrRpcSL() const;
99 unsigned int nrRpcCoin() const;
100 unsigned int nrRawRpcTrigHit() const;
101 unsigned int nrMBTS() const;
102 unsigned int nrL1Calo() const;
103
105 const PhiPatVec& phiPat() const;
106 PhiPatVec& phiPat();
107
109 const TrackVec& tracks() const;
110 TrackVec& tracks();
111
113 const CtpVec& ctp() const;
114 CtpVec& ctp();
115
117 const MUCTPIVec& MUCTPI() const;
118 MUCTPIVec& MUCTPI();
119
120 const RpcSLVec& RpcSL() const;
121 RpcSLVec& RpcSL();
122
123 const RpcCoinVec& RpcCoin() const;
125
126 const RawRpcTrigVec& rawRpcTrig() const;
128
129 const MBTSVec& MBTS() const;
130 MBTSVec& MBTS();
131 const L1CaloVec& L1Calo() const;
132 L1CaloVec& L1Calo();
133
134 private:
135 void copy(const MuonCalibEvent_E& other);
136
146 };
147} // namespace MuonCalib
148
149#endif // MuonCalibEvent_E_h
Simplified class designed to store information of a MBTS hit.
unsigned int nrMBTS() const
returns number of MBTS hits in MuonCalibEvent_E
void addRpcCoin(MuonCalibRawRpcCoin *rpcco)
Adds an RpcCoin obj to RpcCoinVec.
std::vector< RpcCoinPtr > RpcCoinVec
typedef for a set of MuonCalibRawRpcTriggerHit entries
void addCtp(MuonCalibTriggerInfo *trig)
Adds a TriggerInfo to CtpVec.
const L1CaloVec & L1Calo() const
TrackVec m_tracks
set of Tracks belonging to the MuonCalibEvent_E
void addMBTS(MuonCalibCaloHit *hit)
Adds a MBTS hit to MBTSVec.
unsigned int nrL1Calo() const
returns number of L1Calo towers in MuonCalibEvent_E
const RpcSLVec & RpcSL() const
std::shared_ptr< const MuonCalibRpcSectorLogic > RpcSectorLogicPtr
const RawRpcTrigVec & rawRpcTrig() const
void addMUCTPI(MuonCalibMUCTPI *mctp)
Adds a MUCTPI obj to MUCTPIVec.
void addRpcSL(MuonCalibRpcSectorLogic *rpcsl)
Adds an RpcSectorLogic obj to RpcSLVec.
RpcCoinVec m_rpcco
set of RpcCoin objects in MuonCalibEvent_E
unsigned int nrRpcCoin() const
returns number of RpcCoinVec objects in MuonCalibEvent_E
void copy(const MuonCalibEvent_E &other)
std::vector< RpcTrigHitPtr > RawRpcTrigVec
typedef for a set of MuonCalibCalo Hits for the MBTS
unsigned int nrCtp() const
returns number of CTP hits /bits in MuonCalibEvent_E
unsigned int nrTracks() const
returns number of Tracks of the MuonCalibEvent_E
const MBTSVec & MBTS() const
std::shared_ptr< const MuonCalibCaloHit > CaloHitPtr
typedef for a set of MuonCalibTrack_E s describing PhiPatterns
MuonCalibEvent_E & operator=(const MuonCalibEvent_E &right)
assign operator
~MuonCalibEvent_E()=default
destructor
void addRawRpcTrigHit(MuonCalibRawRpcTriggerHit *rpctr)
Adds an RpcCoin obj to RpcCoinVec.
unsigned int nrRpcSL() const
returns number of RpcSectorLogic objects in MuonCalibEvent_E
MUCTPIVec m_mctpi
set of MUCTPI objects in MuonCalibEvent_E
L1CaloVec m_l1calo
set of L1Calo Hits/towers in MuonCalibEvent_E
std::shared_ptr< const MuonCalibRawRpcTriggerHit > RpcTrigHitPtr
std::vector< MuCTPiPtr > MUCTPIVec
typedef for a set of MuonCalibRpcSectorLogic entries
RpcSLVec m_rpcsl
set of RpcSL objects in MuonCalibEvent_E
unsigned int nrRawRpcTrigHit() const
returns number of RpcCoinVec objects in MuonCalibEvent_E
MBTSVec m_mbts
set of MBTS Calo Hits in MuonCalibEvent_E
MuonCalibEvent_E()=default
default constructor
std::shared_ptr< const MuonCalibRawRpcCoin > RpcCoinPtr
std::vector< MuonCalibTrkPtr > TrackVec
typedef for a set of TriggerInfo bits
std::shared_ptr< const MuonCalibTrack_E > MuonCalibTrkPtr
void addTrack(MuonCalibTrack_E *track)
Adds a Track to TrackVec.
const TrackVec & tracks() const
Accesses the tracks of the event directly.
RawRpcTrigVec m_rpctr
set of RawRpcTrig objects in MuonCalibEvent_E
unsigned int nrMUCTPI() const
returns number of MUCTPI objects in MuonCalibEvent_E
std::shared_ptr< const MuonCalibTriggerInfo > TrigInfoPtr
void addPattern(MuonCalibTrack_E *pat)
Adds a PhiPattern to PhiPatVec.
std::vector< MuonCalibTrkPtr > PhiPatVec
typedef for a set of MuonCalibTrack_E s describing Tracks
std::vector< CaloHitPtr > MBTSVec
typedef for a set of MuonCalibCalo Hits for L1Calo
const PhiPatVec & phiPat() const
Accesses the Phi ptterns of the event directly.
const RpcCoinVec & RpcCoin() const
const CtpVec & ctp() const
Access to the Ctp triggerinfo hits / bits.
std::vector< TrigInfoPtr > CtpVec
typedef for a set of MUCTPI entries
std::vector< CaloHitPtr > L1CaloVec
void addL1Calo(MuonCalibCaloHit *hit)
Adds a L1Calo hit/tower to L1CaloVec.
std::vector< RpcSectorLogicPtr > RpcSLVec
typedef for a set of MuonCalibRpcCoin entries
PhiPatVec m_phiPats
set of PhiPatterns belonging to the MuonCalibEvent_E
CtpVec m_ctp
set of CTP trigger bits in MuonCalibEvent_E
const MUCTPIVec & MUCTPI() const
std::shared_ptr< const MuonCalibMUCTPI > MuCTPiPtr
unsigned int nrPhiPat() const
returns number of PhiPatterns of the MuonCalibEvent_E
MuonCalibEvent()=default
Default constructor.
Simplified class designed to store information from MuCTPi processor.
Calib-EDM version of RpcCoinData class.
Calib-EDM version of RpcRawData class.
Simplified class designed to store information from RpcSectorLogic.
Simplified class designed to store information of a Track.
Simplified class designed to store information of a trigger.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.