ATLAS Offline Software
Loading...
Searching...
No Matches
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
12
13#include <string>
14
19
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};
42CLASS_DEF( TBADCRaw , 14764070 , 1 )
43
44#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
Data object holding adc measurement.
Definition TBADCRaw.h:21
unsigned int signal_type
Definition TBADCRaw.h:24
TBADCRaw()
Definition TBADCRaw.h:26
signal_type getADC() const
Definition TBADCRaw.h:35
signal_type m_adc
Definition TBADCRaw.h:39
void setADC(signal_type theADC)
Definition TBADCRaw.h:31