ATLAS Offline Software
TBADCRaw.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_TBADCRAW_H
6 #define TBEVENT_TBADCRAW_H
7 
8 
11 #include "AthenaKernel/CLASS_DEF.h"
12 
13 #include <string>
14 
20 class TBADCRaw : public TBBeamDetector
21 {
22  public:
23 
24  typedef unsigned int signal_type;
25 
26  TBADCRaw() : m_adc(0) {;}
27  TBADCRaw(const std::string& adcID, bool overflow, signal_type theADC);
28  ~TBADCRaw();
29 
30  //Setter//
31  inline void setADC(signal_type theADC)
32  { m_adc = theADC; }
33 
34  // Getter //
35  signal_type getADC() const {return m_adc;}
36 
37  private:
38 
40 
41 };
42 CLASS_DEF( TBADCRaw , 14764070 , 1 )
43 
44 #endif
TBBeamDetector.h
TBADCRaw
Definition: TBADCRaw.h:21
TBADCRaw::signal_type
unsigned int signal_type
Definition: TBADCRaw.h:24
TBADCRaw::setADC
void setADC(signal_type theADC)
Definition: TBADCRaw.h:31
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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
TBADCRaw::TBADCRaw
TBADCRaw()
Definition: TBADCRaw.h:26
TBADCRaw::getADC
signal_type getADC() const
Definition: TBADCRaw.h:35
TBADCRaw::~TBADCRaw
~TBADCRaw()
Definition: TBADCRaw.cxx:13
TBBeamDetector
Definition: TBBeamDetector.h:16
TBADCRaw::m_adc
signal_type m_adc
Definition: TBADCRaw.h:39
CLASS_DEF.h
macros to associate a CLID to a type