ATLAS Offline Software
TBTDCRaw.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 TBEVENT_TBTDCRAW_H
6 #define TBEVENT_TBTDCRAW_H
7 
8 
11 #include "AthenaKernel/CLASS_DEF.h"
12 
13 #include <string>
14 
20 class TBTDCRaw : public TBBeamDetector
21 {
22  public:
23 
24  typedef unsigned int signal_type;
25 
27  : m_tdc(0),
28  m_underThreshold(false)
29  {;}
30  TBTDCRaw(const std::string& tdcID, bool overflow,
31  signal_type theTDC, bool theUnderThreshold);
32  ~TBTDCRaw();
33 
34  //Setter//
35  void setTDC(signal_type theTDC)
36  { m_tdc = theTDC; }
37 
38  void setUnderThreshold(bool theUnderThreshold)
39  { m_underThreshold = theUnderThreshold; }
40 
41  // Getter //
42  signal_type getTDC() const {return m_tdc;}
44 
45 
46  private:
47 
50 
51 };
52 CLASS_DEF( TBTDCRaw , 170957041 , 1 )
53 #endif
TBTDCRaw
Definition: TBTDCRaw.h:21
TBBeamDetector.h
TBTDCRaw::m_tdc
signal_type m_tdc
Definition: TBTDCRaw.h:48
TBTDCRaw::TBTDCRaw
TBTDCRaw()
Definition: TBTDCRaw.h:26
TBTDCRaw::signal_type
unsigned int signal_type
Definition: TBTDCRaw.h:24
TBTDCRaw::setUnderThreshold
void setUnderThreshold(bool theUnderThreshold)
Definition: TBTDCRaw.h:38
TBTDCRaw::m_underThreshold
bool m_underThreshold
Definition: TBTDCRaw.h:49
TBTDCRaw::~TBTDCRaw
~TBTDCRaw()
Definition: TBTDCRaw.cxx:15
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
TBTDCRaw::setTDC
void setTDC(signal_type theTDC)
Definition: TBTDCRaw.h:35
TBTDCRaw::getTDC
signal_type getTDC() const
Definition: TBTDCRaw.h:42
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
TBBeamDetector
Definition: TBBeamDetector.h:16
CLASS_DEF.h
macros to associate a CLID to a type
TBTDCRaw::isUnderThreshold
signal_type isUnderThreshold() const
Definition: TBTDCRaw.h:43