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

#include <TBBeamDetector.h>

Inherited by TBADCRaw, TBBPC, TBBPCRaw, TBMWPC, TBMWPCRaw, TBScintillator, TBScintillatorRaw, TBTDCRaw, TBTailCatcher, and TBTailCatcherRaw.

Collaboration diagram for TBBeamDetector:

Public Member Functions

 TBBeamDetector ()
 TBBeamDetector (const std::string &tbBeamDetectorName)
 TBBeamDetector (const std::string &tbBeamDetectorName, bool overflow)
virtual ~TBBeamDetector ()
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

std::string m_tbDetectorName

Detailed Description

Definition at line 15 of file TBBeamDetector.h.

Constructor & Destructor Documentation

◆ TBBeamDetector() [1/3]

TBBeamDetector::TBBeamDetector ( )
inline

Definition at line 23 of file TBBeamDetector.h.

23 :
25 , m_overflow(false)
26 { };
std::string m_tbDetectorName
bool m_overflow
Detector Name.

◆ TBBeamDetector() [2/3]

TBBeamDetector::TBBeamDetector ( const std::string & tbBeamDetectorName)
inline

Definition at line 28 of file TBBeamDetector.h.

29 : m_tbDetectorName(tbBeamDetectorName)
30 , m_overflow(false)
31 { };

◆ TBBeamDetector() [3/3]

TBBeamDetector::TBBeamDetector ( const std::string & tbBeamDetectorName,
bool overflow )
inline

Definition at line 33 of file TBBeamDetector.h.

34 : m_tbDetectorName(tbBeamDetectorName)
35 , m_overflow(overflow)
36 { };

◆ ~TBBeamDetector()

virtual TBBeamDetector::~TBBeamDetector ( )
inlinevirtual

Definition at line 38 of file TBBeamDetector.h.

39 { }

Member Function Documentation

◆ getDetectorName()

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

Definition at line 61 of file TBBeamDetector.h.

62 { return m_tbDetectorName; }

◆ isOverflow()

bool TBBeamDetector::isOverflow ( ) const
inline

Definition at line 64 of file TBBeamDetector.h.

65 { return m_overflow; }

◆ resetOverflow()

virtual void TBBeamDetector::resetOverflow ( )
inlinevirtual

Reimplemented in TBMWPCRaw.

Definition at line 67 of file TBBeamDetector.h.

68 { m_overflow = false; }

◆ setDetectorName()

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

Definition at line 48 of file TBBeamDetector.h.

49 { m_tbDetectorName = tbBeamDetectorName; }

◆ setOverflow() [1/2]

virtual void TBBeamDetector::setOverflow ( )
inlinevirtual

Reimplemented in TBMWPCRaw.

Definition at line 51 of file TBBeamDetector.h.

52 { m_overflow = true; }

◆ setOverflow() [2/2]

virtual void TBBeamDetector::setOverflow ( bool overflow)
inlinevirtual

Reimplemented in TBMWPCRaw.

Definition at line 54 of file TBBeamDetector.h.

55 { m_overflow = overflow; }

Member Data Documentation

◆ m_overflow

bool TBBeamDetector::m_overflow
protected

Detector Name.

Definition at line 81 of file TBBeamDetector.h.

◆ m_tbDetectorName

std::string TBBeamDetector::m_tbDetectorName
private

Definition at line 76 of file TBBeamDetector.h.


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