ATLAS Offline Software
Loading...
Searching...
No Matches
LUCID_Digit.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LUCID_DIGIT_H
6#define LUCID_DIGIT_H
7
9
10 public:
11
13 LUCID_Digit(const unsigned short tubeID,
14 const double npe,
15 const unsigned short npeGas,
16 const unsigned short npePmt,
17 const unsigned short qdc,
18 const unsigned short tdc,
19 const bool isHit);
20
21 inline unsigned short getTubeID() const { return m_tubeID; }
22 inline double getNpe () const { return m_npe; }
23 inline unsigned short getNpeGas() const { return m_npeGas; }
24 inline unsigned short getNpePmt() const { return m_npePmt; }
25 inline unsigned short getQDC () const { return m_qdc; }
26 inline unsigned short getTDC () const { return m_tdc; }
27 inline bool isHit () const { return m_isHit; }
28
29 inline bool isSideA() const { return (m_tubeID < 20); }
30 inline bool isSideC() const { return (m_tubeID >= 20); }
31
32 private:
33
34 unsigned short m_tubeID;
35 double m_npe;
36 unsigned short m_npeGas;
37 unsigned short m_npePmt;
38 unsigned short m_qdc;
39 unsigned short m_tdc;
40 bool m_isHit;
41};
42
43#endif
double getNpe() const
Definition LUCID_Digit.h:22
bool isHit() const
Definition LUCID_Digit.h:27
unsigned short getTDC() const
Definition LUCID_Digit.h:26
bool isSideA() const
Definition LUCID_Digit.h:29
unsigned short getNpeGas() const
Definition LUCID_Digit.h:23
unsigned short m_tubeID
Definition LUCID_Digit.h:34
unsigned short m_npeGas
Definition LUCID_Digit.h:36
double m_npe
Definition LUCID_Digit.h:35
unsigned short getTubeID() const
Definition LUCID_Digit.h:21
unsigned short getNpePmt() const
Definition LUCID_Digit.h:24
bool isSideC() const
Definition LUCID_Digit.h:30
unsigned short getQDC() const
Definition LUCID_Digit.h:25
unsigned short m_tdc
Definition LUCID_Digit.h:39
unsigned short m_npePmt
Definition LUCID_Digit.h:37
unsigned short m_qdc
Definition LUCID_Digit.h:38