ATLAS Offline Software
Loading...
Searching...
No Matches
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:
29public:
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
55public:
56 // public default constructor needed for I/O, but should not be
57 // called from an alg
59
61 // Private data:
63private:
64
65 unsigned int m_timeword;
66};
67
69// Inline methods:
71inline 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_RDORawData(const Identifier rdoId, const unsigned int word)
virtual bool highLevel() const
High level threshold:
TRT_TB04_RawData(const Identifier rdoId, const unsigned int word)
virtual double timeOverThreshold() const
Time over threshold in ns for valid digits; zero otherwise:
unsigned int getTrigType() const
unsigned int m_timeword
virtual int driftTimeBin() const