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 (std::string_view tbBeamDetectorName)
 TBBeamDetector (std::string_view tbBeamDetectorName, bool overflow)
virtual ~TBBeamDetector ()
virtual void setDetectorName (std::string_view 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 16 of file TBBeamDetector.h.

Constructor & Destructor Documentation

◆ TBBeamDetector() [1/3]

TBBeamDetector::TBBeamDetector ( )
inline

Definition at line 24 of file TBBeamDetector.h.

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

◆ TBBeamDetector() [2/3]

TBBeamDetector::TBBeamDetector ( std::string_view tbBeamDetectorName)
inline

Definition at line 29 of file TBBeamDetector.h.

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

◆ TBBeamDetector() [3/3]

TBBeamDetector::TBBeamDetector ( std::string_view tbBeamDetectorName,
bool overflow )
inline

Definition at line 34 of file TBBeamDetector.h.

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

◆ ~TBBeamDetector()

virtual TBBeamDetector::~TBBeamDetector ( )
inlinevirtual

Definition at line 39 of file TBBeamDetector.h.

40 { }

Member Function Documentation

◆ getDetectorName()

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

Definition at line 62 of file TBBeamDetector.h.

63 { return m_tbDetectorName; }

◆ isOverflow()

bool TBBeamDetector::isOverflow ( ) const
inline

Definition at line 65 of file TBBeamDetector.h.

66 { return m_overflow; }

◆ resetOverflow()

virtual void TBBeamDetector::resetOverflow ( )
inlinevirtual

Reimplemented in TBMWPCRaw.

Definition at line 68 of file TBBeamDetector.h.

69 { m_overflow = false; }

◆ setDetectorName()

virtual void TBBeamDetector::setDetectorName ( std::string_view tbBeamDetectorName)
inlinevirtual

Definition at line 49 of file TBBeamDetector.h.

50 { m_tbDetectorName.assign(tbBeamDetectorName); }

◆ setOverflow() [1/2]

virtual void TBBeamDetector::setOverflow ( )
inlinevirtual

Reimplemented in TBMWPCRaw.

Definition at line 52 of file TBBeamDetector.h.

53 { m_overflow = true; }

◆ setOverflow() [2/2]

virtual void TBBeamDetector::setOverflow ( bool overflow)
inlinevirtual

Reimplemented in TBMWPCRaw.

Definition at line 55 of file TBBeamDetector.h.

56 { m_overflow = overflow; }

Member Data Documentation

◆ m_overflow

bool TBBeamDetector::m_overflow
protected

Detector Name.

Definition at line 82 of file TBBeamDetector.h.

◆ m_tbDetectorName

std::string TBBeamDetector::m_tbDetectorName
private

Definition at line 77 of file TBBeamDetector.h.


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