ATLAS Offline Software
TRT_TB04_RawData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // TRT_TB04_RawData.h
7 // Header file for class TRT_TB04_RawData
9 // (c) ATLAS Detector software
11 // Class to implement RawData for TRT, full encoding
13 // Version 1.0 14/10/2002 Veronique Boisvert
15 
16 #ifndef INDETRAWDATA_TRT_TB04_RAWDATA_H
17 #define INDETRAWDATA_TRT_TB04_RAWDATA_H
18 
19 // Base class
21 
22 // Data members classes
23 
25 
27  // Public methods:
29 public:
30 
31  // Constructor with parameters:
32  // offline hashId of the readout element,
33  // the word
34  TRT_TB04_RawData(const Identifier rdoId, const unsigned int word);
36  TRT_TB04_RawData(const Identifier rdoId, const unsigned int word, const unsigned int timeword);
37 
38  // Destructor:
39  virtual ~TRT_TB04_RawData();
40 
42  virtual bool highLevel() const;
43 
45  virtual double timeOverThreshold() const;
46 
47  // drift time in bin
48  virtual int driftTimeBin() const;
49 
50  unsigned int getTrigType() const;
51 
52  // Create a new TRT_TB04_RawData and return a pointer to it:
53  // static TRT_TB04_RawData *newObject(const Identifier rdoId, const unsigned int word);
54 
55 public:
56  // public default constructor needed for I/O, but should not be
57  // called from an alg
59 
61  // Private data:
63 private:
64 
65  unsigned int m_timeword;
66 };
67 
69 // Inline methods:
71 inline unsigned int TRT_TB04_RawData::getTrigType() const
72 {
73  return m_timeword;
74 }
75 
76 
77 
78 #endif // INDETRAWDATA_TRT_TB04_RAWDATA_H
79 
TRT_TB04_RawData::highLevel
virtual bool highLevel() const
High level threshold:
Definition: TRT_TB04_RawData.cxx:54
TRT_RDORawData.h
TRT_RDORawData
Definition: TRT_RDORawData.h:24
TRT_TB04_RawData::getTrigType
unsigned int getTrigType() const
Definition: TRT_TB04_RawData.h:71
TRT_TB04_RawData::~TRT_TB04_RawData
virtual ~TRT_TB04_RawData()
Definition: TRT_TB04_RawData.cxx:50
TRT_TB04_RawData
Definition: TRT_TB04_RawData.h:24
TRT_TB04_RawData::TRT_TB04_RawData
TRT_TB04_RawData()
Definition: TRT_TB04_RawData.cxx:20
TRT_TB04_RawData::m_timeword
unsigned int m_timeword
Definition: TRT_TB04_RawData.h:65
TRT_TB04_RawData::driftTimeBin
virtual int driftTimeBin() const
Definition: TRT_TB04_RawData.cxx:106
TRT_TB04_RawData::timeOverThreshold
virtual double timeOverThreshold() const
Time over threshold in ns for valid digits; zero otherwise:
Definition: TRT_TB04_RawData.cxx:62
Identifier
Definition: IdentifierFieldParser.cxx:14