ATLAS Offline Software
Public Types | Public Member Functions | Protected Attributes | Private Attributes | List of all members
TBTDCRaw Class Reference

#include "TBEvent/TBTDCRaw.h"

Inheritance diagram for TBTDCRaw:
Collaboration diagram for TBTDCRaw:

Public Types

typedef unsigned int signal_type
 

Public Member Functions

 TBTDCRaw ()
 
 TBTDCRaw (const std::string &tdcID, bool overflow, signal_type theTDC, bool theUnderThreshold)
 
 ~TBTDCRaw ()
 
void setTDC (signal_type theTDC)
 
void setUnderThreshold (bool theUnderThreshold)
 
signal_type getTDC () const
 
signal_type isUnderThreshold () const
 
virtual void setDetectorName (const std::string &tbBeamDetectorName)
 
virtual void setOverflow ()
 
virtual void setOverflow (bool overflow)
 
const std::string & getDetectorName () const
 
bool isOverflow () const
 
virtual void resetOverflow ()
 

Protected Attributes

bool m_overflow
 Detector Name. More...
 

Private Attributes

signal_type m_tdc
 
bool m_underThreshold
 
std::string m_tbDetectorName
 

Detailed Description

Data object holding tdc measurement.

Author
Malachi Schram

Definition at line 20 of file TBTDCRaw.h.

Member Typedef Documentation

◆ signal_type

typedef unsigned int TBTDCRaw::signal_type

Definition at line 24 of file TBTDCRaw.h.

Constructor & Destructor Documentation

◆ TBTDCRaw() [1/2]

TBTDCRaw::TBTDCRaw ( )
inline

Definition at line 26 of file TBTDCRaw.h.

27  : m_tdc(0),
28  m_underThreshold(false)
29  {;}

◆ TBTDCRaw() [2/2]

TBTDCRaw::TBTDCRaw ( const std::string &  tdcID,
bool  overflow,
signal_type  theTDC,
bool  theUnderThreshold 
)

Definition at line 8 of file TBTDCRaw.cxx.

10  : TBBeamDetector(tdcID, overflow)
11  , m_tdc(theTDC)
12  , m_underThreshold(theUnderThreshold)
13 { }

◆ ~TBTDCRaw()

TBTDCRaw::~TBTDCRaw ( )

Definition at line 15 of file TBTDCRaw.cxx.

15 {}

Member Function Documentation

◆ getDetectorName()

const std::string& TBBeamDetector::getDetectorName ( ) const
inlineinherited

Definition at line 61 of file TBBeamDetector.h.

62  { return m_tbDetectorName; }

◆ getTDC()

signal_type TBTDCRaw::getTDC ( ) const
inline

Definition at line 42 of file TBTDCRaw.h.

42 {return m_tdc;}

◆ isOverflow()

bool TBBeamDetector::isOverflow ( ) const
inlineinherited

Definition at line 64 of file TBBeamDetector.h.

65  { return m_overflow; }

◆ isUnderThreshold()

signal_type TBTDCRaw::isUnderThreshold ( ) const
inline

Definition at line 43 of file TBTDCRaw.h.

43 {return m_underThreshold;}

◆ resetOverflow()

virtual void TBBeamDetector::resetOverflow ( )
inlinevirtualinherited

Reimplemented in TBMWPCRaw.

Definition at line 67 of file TBBeamDetector.h.

68  { m_overflow = false; }

◆ setDetectorName()

virtual void TBBeamDetector::setDetectorName ( const std::string &  tbBeamDetectorName)
inlinevirtualinherited

Definition at line 48 of file TBBeamDetector.h.

49  { m_tbDetectorName = tbBeamDetectorName; }

◆ setOverflow() [1/2]

virtual void TBBeamDetector::setOverflow ( )
inlinevirtualinherited

Reimplemented in TBMWPCRaw.

Definition at line 51 of file TBBeamDetector.h.

52  { m_overflow = true; }

◆ setOverflow() [2/2]

virtual void TBBeamDetector::setOverflow ( bool  overflow)
inlinevirtualinherited

Reimplemented in TBMWPCRaw.

Definition at line 54 of file TBBeamDetector.h.

55  { m_overflow = overflow; }

◆ setTDC()

void TBTDCRaw::setTDC ( signal_type  theTDC)
inline

Definition at line 35 of file TBTDCRaw.h.

36  { m_tdc = theTDC; }

◆ setUnderThreshold()

void TBTDCRaw::setUnderThreshold ( bool  theUnderThreshold)
inline

Definition at line 38 of file TBTDCRaw.h.

39  { m_underThreshold = theUnderThreshold; }

Member Data Documentation

◆ m_overflow

bool TBBeamDetector::m_overflow
protectedinherited

Detector Name.

Definition at line 81 of file TBBeamDetector.h.

◆ m_tbDetectorName

std::string TBBeamDetector::m_tbDetectorName
privateinherited

Definition at line 76 of file TBBeamDetector.h.

◆ m_tdc

signal_type TBTDCRaw::m_tdc
private

Definition at line 48 of file TBTDCRaw.h.

◆ m_underThreshold

bool TBTDCRaw::m_underThreshold
private

Definition at line 49 of file TBTDCRaw.h.


The documentation for this class was generated from the following files:
TBTDCRaw::m_tdc
signal_type m_tdc
Definition: TBTDCRaw.h:48
TBTDCRaw::m_underThreshold
bool m_underThreshold
Definition: TBTDCRaw.h:49
TBBeamDetector::TBBeamDetector
TBBeamDetector()
Definition: TBBeamDetector.h:23
TBBeamDetector::m_overflow
bool m_overflow
Detector Name.
Definition: TBBeamDetector.h:81
TBBeamDetector::m_tbDetectorName
std::string m_tbDetectorName
Definition: TBBeamDetector.h:76