ATLAS Offline Software
Loading...
Searching...
No Matches
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
12
13#include <string>
14
19
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};
52CLASS_DEF( TBTDCRaw , 170957041 , 1 )
53#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 tdc measurement.
Definition TBTDCRaw.h:21
unsigned int signal_type
Definition TBTDCRaw.h:24
signal_type getTDC() const
Definition TBTDCRaw.h:42
bool m_underThreshold
Definition TBTDCRaw.h:49
signal_type isUnderThreshold() const
Definition TBTDCRaw.h:43
TBTDCRaw()
Definition TBTDCRaw.h:26
void setTDC(signal_type theTDC)
Definition TBTDCRaw.h:35
signal_type m_tdc
Definition TBTDCRaw.h:48
void setUnderThreshold(bool theUnderThreshold)
Definition TBTDCRaw.h:38