ATLAS Offline Software
Loading...
Searching...
No Matches
TBADCRaw Class Reference

Data object holding adc measurement. More...

#include "TBEvent/TBADCRaw.h"

Inheritance diagram for TBADCRaw:
Collaboration diagram for TBADCRaw:

Public Types

typedef unsigned int signal_type

Public Member Functions

 TBADCRaw ()
 TBADCRaw (const std::string &adcID, bool overflow, signal_type theADC)
 ~TBADCRaw ()
void setADC (signal_type theADC)
signal_type getADC () 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.

Private Attributes

signal_type m_adc
std::string m_tbDetectorName

Detailed Description

Data object holding adc measurement.

Author
Malachi Schram

Definition at line 20 of file TBADCRaw.h.

Member Typedef Documentation

◆ signal_type

typedef unsigned int TBADCRaw::signal_type

Definition at line 24 of file TBADCRaw.h.

Constructor & Destructor Documentation

◆ TBADCRaw() [1/2]

TBADCRaw::TBADCRaw ( )
inline

Definition at line 26 of file TBADCRaw.h.

26: m_adc(0) {;}
signal_type m_adc
Definition TBADCRaw.h:39

◆ TBADCRaw() [2/2]

TBADCRaw::TBADCRaw ( const std::string & adcID,
bool overflow,
signal_type theADC )

Definition at line 8 of file TBADCRaw.cxx.

9 : TBBeamDetector(adcID, overflow)
10 , m_adc(theADC)
11 { }

◆ ~TBADCRaw()

TBADCRaw::~TBADCRaw ( )

Definition at line 13 of file TBADCRaw.cxx.

13{}

Member Function Documentation

◆ getADC()

signal_type TBADCRaw::getADC ( ) const
inline

Definition at line 35 of file TBADCRaw.h.

35{return m_adc;}

◆ getDetectorName()

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

Definition at line 61 of file TBBeamDetector.h.

62 { return m_tbDetectorName; }
std::string m_tbDetectorName

◆ isOverflow()

bool TBBeamDetector::isOverflow ( ) const
inlineinherited

Definition at line 64 of file TBBeamDetector.h.

65 { return m_overflow; }
bool m_overflow
Detector Name.

◆ resetOverflow()

virtual void TBBeamDetector::resetOverflow ( )
inlinevirtualinherited

Reimplemented in TBMWPCRaw.

Definition at line 67 of file TBBeamDetector.h.

68 { m_overflow = false; }

◆ setADC()

void TBADCRaw::setADC ( signal_type theADC)
inline

Definition at line 31 of file TBADCRaw.h.

32 { m_adc = theADC; }

◆ 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; }

Member Data Documentation

◆ m_adc

signal_type TBADCRaw::m_adc
private

Definition at line 39 of file TBADCRaw.h.

◆ 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.


The documentation for this class was generated from the following files: