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

#include <TBScintillator.h>

Inheritance diagram for TBScintillator:
Collaboration diagram for TBScintillator:

Public Member Functions

 TBScintillator ()
 
 TBScintillator (const std::string &scintillatorName)
 
 TBScintillator (const std::string &scintillatorName, bool overflow, float theSignal)
 
virtual ~TBScintillator ()
 
virtual void setSignal (float theSignal)
 
virtual float getSignal () const
 
virtual void setSignalOverflow (bool signal_overflow)
 
virtual bool isSignalOverflow () const
 
virtual void setTimeSignal (float theSignal)
 
virtual float getTimeSignal () const
 
virtual void setTimeOverflow (bool time_overflow)
 
virtual bool isTimeOverflow () 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

float m_signal
 
float m_time_signal
 
bool m_signal_overflow
 
bool m_time_overflow
 
bool m_overflow
 Detector Name. More...
 

Private Attributes

std::string m_tbDetectorName
 

Detailed Description

Definition at line 24 of file TBScintillator.h.

Constructor & Destructor Documentation

◆ TBScintillator() [1/3]

TBScintillator::TBScintillator ( )
inline

Definition at line 32 of file TBScintillator.h.

32  : TBBeamDetector()
33  , m_signal(0)
34  , m_time_signal(0)
35  , m_signal_overflow(false)
36  , m_time_overflow(false)
37  { }

◆ TBScintillator() [2/3]

TBScintillator::TBScintillator ( const std::string &  scintillatorName)
inline

Definition at line 39 of file TBScintillator.h.

39  : TBBeamDetector(scintillatorName,false)
40  , m_signal(0)
41  , m_time_signal(0)
42  , m_signal_overflow(false)
43  , m_time_overflow(false)
44  { }

◆ TBScintillator() [3/3]

TBScintillator::TBScintillator ( const std::string &  scintillatorName,
bool  overflow,
float  theSignal 
)
inline

Definition at line 48 of file TBScintillator.h.

51  : TBBeamDetector(scintillatorName, overflow)
52  , m_signal(theSignal)
53  , m_time_signal(0)
54  , m_signal_overflow(false)
55  , m_time_overflow(false)
56  { }

◆ ~TBScintillator()

virtual TBScintillator::~TBScintillator ( )
inlinevirtual

Definition at line 58 of file TBScintillator.h.

59  { }

Member Function Documentation

◆ getDetectorName()

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

Definition at line 61 of file TBBeamDetector.h.

62  { return m_tbDetectorName; }

◆ getSignal()

virtual float TBScintillator::getSignal ( ) const
inlinevirtual

Definition at line 67 of file TBScintillator.h.

68  { return m_signal; }

◆ getTimeSignal()

virtual float TBScintillator::getTimeSignal ( ) const
inlinevirtual

Definition at line 77 of file TBScintillator.h.

78  { return m_time_signal; }

◆ isOverflow()

bool TBBeamDetector::isOverflow ( ) const
inlineinherited

Definition at line 64 of file TBBeamDetector.h.

65  { return m_overflow; }

◆ isSignalOverflow()

virtual bool TBScintillator::isSignalOverflow ( ) const
inlinevirtual

Definition at line 71 of file TBScintillator.h.

72  { return m_signal_overflow; }

◆ isTimeOverflow()

virtual bool TBScintillator::isTimeOverflow ( ) const
inlinevirtual

Definition at line 81 of file TBScintillator.h.

82  { return m_time_overflow; }

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

◆ setSignal()

virtual void TBScintillator::setSignal ( float  theSignal)
inlinevirtual

Definition at line 65 of file TBScintillator.h.

66  { m_signal = theSignal; }

◆ setSignalOverflow()

virtual void TBScintillator::setSignalOverflow ( bool  signal_overflow)
inlinevirtual

Definition at line 69 of file TBScintillator.h.

70  { m_signal_overflow = signal_overflow; }

◆ setTimeOverflow()

virtual void TBScintillator::setTimeOverflow ( bool  time_overflow)
inlinevirtual

Definition at line 79 of file TBScintillator.h.

80  { m_time_overflow = time_overflow; }

◆ setTimeSignal()

virtual void TBScintillator::setTimeSignal ( float  theSignal)
inlinevirtual

Definition at line 75 of file TBScintillator.h.

76  { m_time_signal = theSignal; }

Member Data Documentation

◆ m_overflow

bool TBBeamDetector::m_overflow
protectedinherited

Detector Name.

Definition at line 81 of file TBBeamDetector.h.

◆ m_signal

float TBScintillator::m_signal
protected

Definition at line 91 of file TBScintillator.h.

◆ m_signal_overflow

bool TBScintillator::m_signal_overflow
protected

Definition at line 92 of file TBScintillator.h.

◆ m_tbDetectorName

std::string TBBeamDetector::m_tbDetectorName
privateinherited

Definition at line 76 of file TBBeamDetector.h.

◆ m_time_overflow

bool TBScintillator::m_time_overflow
protected

Definition at line 92 of file TBScintillator.h.

◆ m_time_signal

float TBScintillator::m_time_signal
protected

Definition at line 91 of file TBScintillator.h.


The documentation for this class was generated from the following file:
TBScintillator::m_signal
float m_signal
Definition: TBScintillator.h:91
TBScintillator::m_time_signal
float m_time_signal
Definition: TBScintillator.h:91
TBBeamDetector::TBBeamDetector
TBBeamDetector()
Definition: TBBeamDetector.h:23
TBScintillator::m_time_overflow
bool m_time_overflow
Definition: TBScintillator.h:92
TBBeamDetector::m_overflow
bool m_overflow
Detector Name.
Definition: TBBeamDetector.h:81
TBScintillator::m_signal_overflow
bool m_signal_overflow
Definition: TBScintillator.h:92
TBBeamDetector::m_tbDetectorName
std::string m_tbDetectorName
Definition: TBBeamDetector.h:76