ATLAS Offline Software
Loading...
Searching...
No Matches
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
16class RpcDigit : public MuonDigit {
17
18private: // data
19
21 float m_time{0.f};
23 float m_ToT{-1.f};
25 bool m_stripSide{false};
26
27public: // 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
MuonDigit()=default
RpcDigit()=default
float time() const
Return the primary time of arrival.
Definition RpcDigit.h:44
bool stripSide() const
Return the time of arrival at the second strip readout (BI-RPC)
Definition RpcDigit.h:46
float m_time
Arrival time of the signal at the readout.
Definition RpcDigit.h:21
float m_ToT
Arrival time of the secondary signal at the secondary readout.
Definition RpcDigit.h:23
bool m_stripSide
Is the strip readout at opposite side.
Definition RpcDigit.h:25
float ToT() const
Time over threshold.
Definition RpcDigit.h:48