ATLAS Offline Software
Loading...
Searching...
No Matches
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
21namespace Muon
22{
23
24class RpcCoinData : public RpcPrepData
25 {
26
28 // Public methods:
30 public:
31
32 friend class ::RpcCoinDataContainerCnv;
33
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
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;
98
99 };
100
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
This is a "hash" representation of an Identifier.
unsigned short m_parentSectorId
Definition RpcCoinData.h:96
bool isLowPtInputToHighPtCm() const
unsigned short ijk() const
return ijk of the trigger hit (can be 6, 7 or 0)
unsigned short m_threshold
Definition RpcCoinData.h:92
bool isAside() const
Aside or Cside.
unsigned short threshold() const
return highest threshold for the trigger pattern this hit is contributing
bool lowPtCm() const
unsigned short m_parentPadId
Definition RpcCoinData.h:95
bool isLowPtCoin() const
Low Pt, High Pt or Low Pt input to High Pt CM.
unsigned short m_parentCmId
Definition RpcCoinData.h:94
unsigned short parentPadId() const
RpcCoinData()
Public, Copy, operator=, constructor.
unsigned short parentCmId() const
parent ID (online-style) of CM, PAD and Sector
unsigned short parentSectorId() const
unsigned short m_overlap
Definition RpcCoinData.h:93
bool isHighPtCoin() const
unsigned short m_ijk
Definition RpcCoinData.h:91
RpcCoinData(const RpcCoinData &)
unsigned short overlap() const
return the overlap flag
RpcPrepData()=default
int ambiguityFlag() const
Returns the number of ambiguities associated with this RpcPrepData.
float time() const
Returns the time.
Create derived converter to customize the saving of identifiable container.
STL class.
Definition of ATLAS Math & Geometry primitives (Amg)
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
-event-from-file
STL namespace.
#define private