ATLAS Offline Software
RpcCoinData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // RpcCoinData.h
7 // Header file for class RpcCoinData
9 // (c) ATLAS Detector software
11 
12 #ifndef MUONTRIGCOINDATA_RPCCOINDATA_H
13 #define MUONTRIGCOINDATA_RPCCOINDATA_H
14 
18 
20 
21 namespace Muon
22 {
23 
24 class RpcCoinData : public RpcPrepData
25  {
26 
28  // Public methods:
30  public:
31 
32  friend class ::RpcCoinDataContainerCnv;
33 
35  RpcCoinData();
37  RpcCoinData(RpcCoinData &&) noexcept;
38  RpcCoinData &operator=(const RpcCoinData &);
39  RpcCoinData &operator=(RpcCoinData &&) noexcept;
40 
42  virtual MsgStream& dump( MsgStream& stream) const;
43 
45  virtual std::ostream& dump( std::ostream& stream) const;
46 
48  RpcCoinData( const Identifier& stripId,
49  const IdentifierHash &idDE,
50  const Amg::Vector2D& locpos,
51  const std::vector<Identifier>& stripList,
52  const Amg::MatrixX& locErrMat,
53  const MuonGM::RpcReadoutElement* detEl,
54  const float time,
55  const unsigned short ambiguityFlag,
56  const unsigned short ijk,
57  const unsigned short threshold,
58  const unsigned short overlap,
59  const unsigned short parent_cmId,
60  const unsigned short parent_padId,
61  const unsigned short parent_sectorId,
62  const bool lowPtCm);
63 
65  virtual ~RpcCoinData();
66 
68  inline unsigned short ijk() const;
69 
71  inline unsigned short threshold() const;
72 
74  inline unsigned short overlap() const;
75 
77  inline unsigned short parentCmId() const;
78  inline unsigned short parentPadId() const;
79  inline unsigned short parentSectorId() const;
80 
82  bool isAside() const;
84  bool isLowPtCoin() const;
85  bool isHighPtCoin() const;
87  bool lowPtCm() const;
88 
89  private:
90 
91  unsigned short m_ijk;
92  unsigned short m_threshold;
93  unsigned short m_overlap;
94  unsigned short m_parentCmId;
95  unsigned short m_parentPadId;
96  unsigned short m_parentSectorId;
97  bool m_lowPtCm;
98 
99  };
101  // inline methods:
103 
105  inline unsigned short RpcCoinData::ijk() const {return m_ijk;}
106 
108  inline unsigned short RpcCoinData::threshold() const {return m_threshold;}
109 
111  inline unsigned short RpcCoinData::overlap() const {return m_overlap;}
112 
114  inline unsigned short RpcCoinData::parentCmId() const {return m_parentCmId;}
115  inline unsigned short RpcCoinData::parentPadId() const {return m_parentPadId;}
116  inline unsigned short RpcCoinData::parentSectorId() const {return m_parentSectorId;}
117  inline bool RpcCoinData::lowPtCm() const {return m_lowPtCm;}
118 
119 }
120 
121 #endif // MUONTRIGCOINDATA_RPCCOINDATA_H
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
Muon::RpcCoinData::overlap
unsigned short overlap() const
return the overlap flag
Definition: RpcCoinData.h:111
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
Muon::RpcCoinData::RpcCoinData
RpcCoinData()
Public, Copy, operator=, constructor.
Definition: RpcCoinData.cxx:49
Muon::RpcCoinData::parentCmId
unsigned short parentCmId() const
parent ID (online-style) of CM, PAD and Sector
Definition: RpcCoinData.h:114
Muon::RpcCoinData::isAside
bool isAside() const
Aside or Cside.
Muon::RpcCoinData::m_threshold
unsigned short m_threshold
Definition: RpcCoinData.h:92
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::RpcCoinData::RpcCoinData
RpcCoinData(const RpcCoinData &)
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
Muon::RpcCoinData::isHighPtCoin
bool isHighPtCoin() const
Definition: RpcCoinData.cxx:154
Muon::RpcCoinData
Definition: RpcCoinData.h:25
Muon::RpcCoinData::ijk
unsigned short ijk() const
return ijk of the trigger hit (can be 6, 7 or 0)
Definition: RpcCoinData.h:105
Muon::RpcPrepData::time
float time() const
Returns the time.
Definition: RpcPrepData.h:197
GeoPrimitives.h
Muon::RpcCoinData::m_overlap
unsigned short m_overlap
Definition: RpcCoinData.h:93
Muon::RpcCoinData::parentSectorId
unsigned short parentSectorId() const
Definition: RpcCoinData.h:116
Muon::RpcPrepData
Class to represent RPC measurements.
Definition: RpcPrepData.h:35
vector
Definition: MultiHisto.h:13
Muon::RpcCoinData::m_parentPadId
unsigned short m_parentPadId
Definition: RpcCoinData.h:95
Muon::RpcCoinData::m_ijk
unsigned short m_ijk
Definition: RpcCoinData.h:91
Muon::RpcCoinData::isLowPtInputToHighPtCm
bool isLowPtInputToHighPtCm() const
Definition: RpcCoinData.cxx:158
Muon::RpcCoinData::parentPadId
unsigned short parentPadId() const
Definition: RpcCoinData.h:115
EventPrimitives.h
Amg
Definition of ATLAS Math & Geometry primitives (Amg)
Definition: AmgStringHelpers.h:19
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
threshold
Definition: chainparser.cxx:74
RpcCoinDataContainerCnv
Create derived converter to customize the saving of identifiable container.
Definition: RpcCoinDataContainerCnv.h:22
Muon::RpcCoinData::m_parentCmId
unsigned short m_parentCmId
Definition: RpcCoinData.h:94
Muon::RpcCoinData::threshold
unsigned short threshold() const
return highest threshold for the trigger pattern this hit is contributing
Definition: RpcCoinData.h:108
Muon::RpcCoinData::m_parentSectorId
unsigned short m_parentSectorId
Definition: RpcCoinData.h:96
Muon::RpcCoinData::isLowPtCoin
bool isLowPtCoin() const
Low Pt, High Pt or Low Pt input to High Pt CM.
Definition: RpcCoinData.cxx:150
Muon::RpcCoinData::dump
virtual MsgStream & dump(MsgStream &stream) const
Dumps information about the RpcCoinData.
Definition: RpcCoinData.cxx:113
RpcPrepData.h
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
Muon::RpcPrepData::ambiguityFlag
int ambiguityFlag() const
Returns the number of ambiguities associated with this RpcPrepData.
Definition: RpcPrepData.h:212
Muon::RpcCoinData::m_lowPtCm
bool m_lowPtCm
Definition: RpcCoinData.h:97
Muon::RpcCoinData::lowPtCm
bool lowPtCm() const
Definition: RpcCoinData.h:117
Identifier
Definition: IdentifierFieldParser.cxx:14