ATLAS Offline Software
RpcDigit.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // RpcDigit.h
6 
7 #ifndef RpcDigitUH
8 #define RpcDigitUH
9 
10 // RPC digitization. Holds a channel ID.
11 
12 #include <iosfwd>
13 #include <limits>
15 
16 class RpcDigit : public MuonDigit {
17 
18 private: // data
19 
21  float m_time{0.f};
23  float m_ToT{-1.f};
25  bool m_stripSide{false};
26 
27 public: // functions
28 
29  // Default constructor.
30  RpcDigit()=default;
31 
38  RpcDigit(const Identifier& id,
39  float time,
40  float ToT = -1.f,
41  bool stripSide = false);
42 
44  float time() const { return m_time; }
46  bool stripSide() const {return m_stripSide; }
48  float ToT() const { return m_ToT; }
49 
50 };
51 
52 #endif
RpcDigit::stripSide
bool stripSide() const
Return the time of arrival at the second strip readout (BI-RPC)
Definition: RpcDigit.h:46
RpcDigit
Definition: RpcDigit.h:16
RpcDigit::m_ToT
float m_ToT
Arrival time of the secondary signal at the secondary readout.
Definition: RpcDigit.h:23
RpcDigit::ToT
float ToT() const
Time over threshold.
Definition: RpcDigit.h:48
RpcDigit::m_stripSide
bool m_stripSide
Is the strip readout at opposite side.
Definition: RpcDigit.h:25
MuonDigit
Definition: MuonDigit.h:16
MuonDigit.h
RpcDigit::time
float time() const
Return the primary time of arrival.
Definition: RpcDigit.h:44
hist_file_dump.f
f
Definition: hist_file_dump.py:135
RpcDigit::RpcDigit
RpcDigit()=default
RpcDigit::m_time
float m_time
Arrival time of the signal at the readout.
Definition: RpcDigit.h:21
Identifier
Definition: IdentifierFieldParser.cxx:14