ATLAS Offline Software
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 
16 namespace MuonCalib {
17 
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;
72  ~MuonCalibEvent_E() = default;
73 
76  void addCtp(MuonCalibTriggerInfo* trig);
77  void addMUCTPI(MuonCalibMUCTPI* mctp);
78  void addRpcSL(MuonCalibRpcSectorLogic* rpcsl);
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;
124  RpcCoinVec& RpcCoin();
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
MuonCalib::MuonCalibEvent_E::m_mbts
MBTSVec m_mbts
set of MBTS Calo Hits in MuonCalibEvent_E
Definition: MuonCalibEvent_E.h:144
MuonCalib::MuonCalibEvent_E::MuonCalibTrkPtr
std::shared_ptr< const MuonCalibTrack_E > MuonCalibTrkPtr
Definition: MuonCalibEvent_E.h:37
MuonCalib::MuonCalibEvent_E::MuCTPiPtr
std::shared_ptr< const MuonCalibMUCTPI > MuCTPiPtr
Definition: MuonCalibEvent_E.h:38
MuonCalib::MuonCalibEvent
Definition: MuonCalibEvent.h:48
MuonCalib::MuonCalibEvent_E::RpcTrigHitPtr
std::shared_ptr< const MuonCalibRawRpcTriggerHit > RpcTrigHitPtr
Definition: MuonCalibEvent_E.h:42
MuonCalib::MuonCalibEvent_E::L1Calo
const L1CaloVec & L1Calo() const
Definition: MuonCalibEvent_E.cxx:65
MuonCalib::MuonCalibEvent_E::tracks
const TrackVec & tracks() const
Accesses the tracks of the event directly.
Definition: MuonCalibEvent_E.cxx:43
MuonCalib::MuonCalibEvent_E::m_rpcsl
RpcSLVec m_rpcsl
set of RpcSL objects in MuonCalibEvent_E
Definition: MuonCalibEvent_E.h:141
MuonCalib::MuonCalibEvent_E::operator=
MuonCalibEvent_E & operator=(const MuonCalibEvent_E &right)
assign operator
Definition: MuonCalibEvent_E.cxx:36
MuonCalib::MuonCalibEvent_E::nrRawRpcTrigHit
unsigned int nrRawRpcTrigHit() const
returns number of RpcCoinVec objects in MuonCalibEvent_E
Definition: MuonCalibEvent_E.cxx:74
MuonCalib::MuonCalibEvent_E::nrL1Calo
unsigned int nrL1Calo() const
returns number of L1Calo towers in MuonCalibEvent_E
Definition: MuonCalibEvent_E.cxx:76
MuonCalib::MuonCalibEvent_E::addTrack
void addTrack(MuonCalibTrack_E *track)
Adds a Track to TrackVec.
Definition: MuonCalibEvent_E.cxx:118
MuonCalib::MuonCalibEvent_E::PhiPatVec
std::vector< MuonCalibTrkPtr > PhiPatVec
typedef for a set of MuonCalibTrack_E s describing Tracks
Definition: MuonCalibEvent_E.h:46
MuonCalib::MuonCalibEvent_E::addL1Calo
void addL1Calo(MuonCalibCaloHit *hit)
Adds a L1Calo hit/tower to L1CaloVec.
Definition: MuonCalibEvent_E.cxx:146
MuonCalib::MuonCalibEvent_E::~MuonCalibEvent_E
~MuonCalibEvent_E()=default
destructor
MuonCalib::MuonCalibEvent_E::addRpcSL
void addRpcSL(MuonCalibRpcSectorLogic *rpcsl)
Adds an RpcSectorLogic obj to RpcSLVec.
Definition: MuonCalibEvent_E.cxx:130
MuonCalib::MuonCalibEvent_E::MBTSVec
std::vector< CaloHitPtr > MBTSVec
typedef for a set of MuonCalibCalo Hits for L1Calo
Definition: MuonCalibEvent_E.h:64
MuonCalib::MuonCalibEvent_E::RpcSectorLogicPtr
std::shared_ptr< const MuonCalibRpcSectorLogic > RpcSectorLogicPtr
Definition: MuonCalibEvent_E.h:40
MuonCalib::MuonCalibEvent_E::CtpVec
std::vector< TrigInfoPtr > CtpVec
typedef for a set of MUCTPI entries
Definition: MuonCalibEvent_E.h:52
MuonCalib::MuonCalibEvent_E::addPattern
void addPattern(MuonCalibTrack_E *pat)
Adds a PhiPattern to PhiPatVec.
Definition: MuonCalibEvent_E.cxx:114
MuonCalib::MuonCalibEvent_E::MBTS
const MBTSVec & MBTS() const
Definition: MuonCalibEvent_E.cxx:63
MuonCalibMUCTPI.h
MuonCalib::MuonCalibRpcSectorLogic
Simplified class designed to store information from RpcSectorLogic.
Definition: MuonCalibRpcSectorLogic.h:16
MuonCalib::MuonCalibMUCTPI
Simplified class designed to store information from MuCTPi processor.
Definition: MuonCalibMUCTPI.h:16
MuonCalibRpcSectorLogic.h
MuonCalibTrack_E.h
MuonCalib::MuonCalibEvent_E::TrackVec
std::vector< MuonCalibTrkPtr > TrackVec
typedef for a set of TriggerInfo bits
Definition: MuonCalibEvent_E.h:49
MuonCalib::MuonCalibEvent_E::nrRpcSL
unsigned int nrRpcSL() const
returns number of RpcSectorLogic objects in MuonCalibEvent_E
Definition: MuonCalibEvent_E.cxx:72
MuonCalib::MuonCalibEvent_E::nrTracks
unsigned int nrTracks() const
returns number of Tracks of the MuonCalibEvent_E
Definition: MuonCalibEvent_E.cxx:69
MuonCalib::MuonCalibCaloHit
Simplified class designed to store information of a MBTS hit.
Definition: MuonCalibCaloHit.h:20
MuonCalib::MuonCalibTrack_E
Definition: MuonCalibTrack_E.h:24
MuonCalib::MuonCalibEvent_E::addMUCTPI
void addMUCTPI(MuonCalibMUCTPI *mctp)
Adds a MUCTPI obj to MUCTPIVec.
Definition: MuonCalibEvent_E.cxx:126
MuonCalib::MuonCalibEvent_E::m_rpcco
RpcCoinVec m_rpcco
set of RpcCoin objects in MuonCalibEvent_E
Definition: MuonCalibEvent_E.h:142
MuonCalib::MuonCalibEvent_E::MUCTPIVec
std::vector< MuCTPiPtr > MUCTPIVec
typedef for a set of MuonCalibRpcSectorLogic entries
Definition: MuonCalibEvent_E.h:55
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
MuonCalib::MuonCalibEvent_E::m_mctpi
MUCTPIVec m_mctpi
set of MUCTPI objects in MuonCalibEvent_E
Definition: MuonCalibEvent_E.h:140
MuonCalib::MuonCalibEvent_E::nrCtp
unsigned int nrCtp() const
returns number of CTP hits /bits in MuonCalibEvent_E
Definition: MuonCalibEvent_E.cxx:70
MuonCalib::MuonCalibEvent_E::nrMUCTPI
unsigned int nrMUCTPI() const
returns number of MUCTPI objects in MuonCalibEvent_E
Definition: MuonCalibEvent_E.cxx:71
MuonCalib::MuonCalibEvent_E::addRpcCoin
void addRpcCoin(MuonCalibRawRpcCoin *rpcco)
Adds an RpcCoin obj to RpcCoinVec.
Definition: MuonCalibEvent_E.cxx:134
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MuonCalibEvent_E::addCtp
void addCtp(MuonCalibTriggerInfo *trig)
Adds a TriggerInfo to CtpVec.
Definition: MuonCalibEvent_E.cxx:122
MuonCalib::MuonCalibEvent_E::MuonCalibEvent_E
MuonCalibEvent_E()=default
default constructor
MuonCalib::MuonCalibEvent_E::ctp
const CtpVec & ctp() const
Access to the Ctp triggerinfo hits / bits.
Definition: MuonCalibEvent_E.cxx:47
MuonCalib::MuonCalibEvent_E::rawRpcTrig
const RawRpcTrigVec & rawRpcTrig() const
Definition: MuonCalibEvent_E.cxx:60
MuonCalib::MuonCalibEvent_E::CaloHitPtr
std::shared_ptr< const MuonCalibCaloHit > CaloHitPtr
typedef for a set of MuonCalibTrack_E s describing PhiPatterns
Definition: MuonCalibEvent_E.h:45
MuonCalib::MuonCalibEvent_E::RpcSL
const RpcSLVec & RpcSL() const
Definition: MuonCalibEvent_E.cxx:54
MuonCalib::MuonCalibEvent_E::m_l1calo
L1CaloVec m_l1calo
set of L1Calo Hits/towers in MuonCalibEvent_E
Definition: MuonCalibEvent_E.h:145
dso-stats.pat
pat
Definition: dso-stats.py:39
MuonCalib::MuonCalibTriggerInfo
Simplified class designed to store information of a trigger.
Definition: MuonCalibTriggerInfo.h:74
MuonCalib::MuonCalibEvent_E::copy
void copy(const MuonCalibEvent_E &other)
Definition: MuonCalibEvent_E.cxx:14
MuonCalib::MuonCalibRawRpcCoin
Definition: MuonCalibRawRpcCoin.h:20
MuonCalib::MuonCalibEvent_E::RpcCoin
const RpcCoinVec & RpcCoin() const
Definition: MuonCalibEvent_E.cxx:58
MuonCalib::MuonCalibEvent_E::nrMBTS
unsigned int nrMBTS() const
returns number of MBTS hits in MuonCalibEvent_E
Definition: MuonCalibEvent_E.cxx:75
MuonCalib::MuonCalibEvent_E::nrPhiPat
unsigned int nrPhiPat() const
returns number of PhiPatterns of the MuonCalibEvent_E
Definition: MuonCalibEvent_E.cxx:68
MuonCalib::MuonCalibEvent_E::L1CaloVec
std::vector< CaloHitPtr > L1CaloVec
Definition: MuonCalibEvent_E.h:66
MuonCalibCaloHit.h
MuonCalib::MuonCalibEvent_E::m_tracks
TrackVec m_tracks
set of Tracks belonging to the MuonCalibEvent_E
Definition: MuonCalibEvent_E.h:138
MuonCalib::MuonCalibEvent_E::m_rpctr
RawRpcTrigVec m_rpctr
set of RawRpcTrig objects in MuonCalibEvent_E
Definition: MuonCalibEvent_E.h:143
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
MuonCalib::MuonCalibEvent_E::MUCTPI
const MUCTPIVec & MUCTPI() const
Definition: MuonCalibEvent_E.cxx:51
MuonCalib::MuonCalibEvent_E::addMBTS
void addMBTS(MuonCalibCaloHit *hit)
Adds a MBTS hit to MBTSVec.
Definition: MuonCalibEvent_E.cxx:142
MuonCalib::MuonCalibEvent_E::RawRpcTrigVec
std::vector< RpcTrigHitPtr > RawRpcTrigVec
typedef for a set of MuonCalibCalo Hits for the MBTS
Definition: MuonCalibEvent_E.h:62
MuonCalib::MuonCalibEvent_E::phiPat
const PhiPatVec & phiPat() const
Accesses the Phi ptterns of the event directly.
Definition: MuonCalibEvent_E.cxx:40
MuonCalib::MuonCalibEvent_E::m_ctp
CtpVec m_ctp
set of CTP trigger bits in MuonCalibEvent_E
Definition: MuonCalibEvent_E.h:139
MuonCalib::MuonCalibEvent_E::TrigInfoPtr
std::shared_ptr< const MuonCalibTriggerInfo > TrigInfoPtr
Definition: MuonCalibEvent_E.h:39
MuonCalib::MuonCalibEvent_E::nrRpcCoin
unsigned int nrRpcCoin() const
returns number of RpcCoinVec objects in MuonCalibEvent_E
Definition: MuonCalibEvent_E.cxx:73
MuonCalib::MuonCalibEvent_E::RpcCoinVec
std::vector< RpcCoinPtr > RpcCoinVec
typedef for a set of MuonCalibRawRpcTriggerHit entries
Definition: MuonCalibEvent_E.h:60
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
MuonCalib::MuonCalibEvent_E::m_phiPats
PhiPatVec m_phiPats
set of PhiPatterns belonging to the MuonCalibEvent_E
Definition: MuonCalibEvent_E.h:137
MuonCalib::MuonCalibEvent_E::addRawRpcTrigHit
void addRawRpcTrigHit(MuonCalibRawRpcTriggerHit *rpctr)
Adds an RpcCoin obj to RpcCoinVec.
Definition: MuonCalibEvent_E.cxx:138
MuonCalib::MuonCalibEvent_E::RpcSLVec
std::vector< RpcSectorLogicPtr > RpcSLVec
typedef for a set of MuonCalibRpcCoin entries
Definition: MuonCalibEvent_E.h:57
MuonCalib::MuonCalibEvent_E
Definition: MuonCalibEvent_E.h:35
MuonCalib::MuonCalibEvent_E::RpcCoinPtr
std::shared_ptr< const MuonCalibRawRpcCoin > RpcCoinPtr
Definition: MuonCalibEvent_E.h:41
MuonCalibEvent.h
MuonCalib::MuonCalibRawRpcTriggerHit
Definition: MuonCalibRawRpcTriggerHit.h:23
MuonCalibTriggerInfo.h