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

#include <TBScintillatorRaw.h>

Inheritance diagram for TBScintillatorRaw:
Collaboration diagram for TBScintillatorRaw:

Public Types

typedef TBADCRaw::signal_type adc_signal_type
 
typedef TBTDCRaw::signal_type tdc_signal_type
 

Public Member Functions

 TBScintillatorRaw ()
 
 TBScintillatorRaw (const std::string &scintallatorName)
 
 TBScintillatorRaw (const std::string &scintallatorName, const TBTDCRawCont *tdcCont, TBTDCRaw *tbtdc, const TBADCRawCont *adcCont, TBADCRaw *tbadc)
 
virtual ~TBScintillatorRaw ()
 
void setSignals (const TBTDCRawCont *tdcCont, TBTDCRaw *tbtdc, const TBADCRawCont *adcCont, TBADCRaw *tbadc)
 
tdc_signal_type getTDCSignal () const
 
bool isTDCOverflow () const
 
bool isTDCUnderThreshold () const
 
adc_signal_type getADCSignal () const
 
bool isADCOverflow () 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

ElementLink< TBTDCRawContm_tdclink
 
ElementLink< TBADCRawContm_adclink
 
bool m_overflow
 Detector Name. More...
 

Private Attributes

std::string m_tbDetectorName
 

Detailed Description

Definition at line 25 of file TBScintillatorRaw.h.

Member Typedef Documentation

◆ adc_signal_type

Definition at line 29 of file TBScintillatorRaw.h.

◆ tdc_signal_type

Definition at line 30 of file TBScintillatorRaw.h.

Constructor & Destructor Documentation

◆ TBScintillatorRaw() [1/3]

TBScintillatorRaw::TBScintillatorRaw ( )
inline

Definition at line 35 of file TBScintillatorRaw.h.

35  : TBBeamDetector()
36  { }

◆ TBScintillatorRaw() [2/3]

TBScintillatorRaw::TBScintillatorRaw ( const std::string &  scintallatorName)
inline

Definition at line 38 of file TBScintillatorRaw.h.

38  : TBBeamDetector(scintallatorName)
39  { }

◆ TBScintillatorRaw() [3/3]

TBScintillatorRaw::TBScintillatorRaw ( const std::string &  scintallatorName,
const TBTDCRawCont tdcCont,
TBTDCRaw tbtdc,
const TBADCRawCont adcCont,
TBADCRaw tbadc 
)

Definition at line 11 of file TBScintillatorRaw.cxx.

14  : TBBeamDetector(scintillatorName)
15 {
16  m_tdclink.toContainedElement(*tdcCont,tbtdc);
17  m_adclink.toContainedElement(*adcCont,tbadc);
18 }

◆ ~TBScintillatorRaw()

virtual TBScintillatorRaw::~TBScintillatorRaw ( )
inlinevirtual

Definition at line 45 of file TBScintillatorRaw.h.

46  { }

Member Function Documentation

◆ getADCSignal()

TBScintillatorRaw::adc_signal_type TBScintillatorRaw::getADCSignal ( ) const
inline

Definition at line 94 of file TBScintillatorRaw.h.

95 {
96  return (*m_adclink)->getADC();
97 }

◆ getDetectorName()

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

Definition at line 61 of file TBBeamDetector.h.

62  { return m_tbDetectorName; }

◆ getTDCSignal()

TBScintillatorRaw::tdc_signal_type TBScintillatorRaw::getTDCSignal ( ) const
inline

Definition at line 75 of file TBScintillatorRaw.h.

76 {
77  return (*m_tdclink)->getTDC();
78 
79 }

◆ isADCOverflow()

bool TBScintillatorRaw::isADCOverflow ( ) const
inline

Definition at line 99 of file TBScintillatorRaw.h.

100 {
101  return (*m_adclink)->isOverflow();
102 
103 }

◆ isOverflow()

bool TBBeamDetector::isOverflow ( ) const
inlineinherited

Definition at line 64 of file TBBeamDetector.h.

65  { return m_overflow; }

◆ isTDCOverflow()

bool TBScintillatorRaw::isTDCOverflow ( ) const
inline

Definition at line 82 of file TBScintillatorRaw.h.

83 {
84  return (*m_tdclink)->isOverflow();
85 
86 }

◆ isTDCUnderThreshold()

bool TBScintillatorRaw::isTDCUnderThreshold ( ) const
inline

Definition at line 88 of file TBScintillatorRaw.h.

89 {
90  return (*m_tdclink)->isUnderThreshold();
91 
92 }

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

◆ setSignals()

void TBScintillatorRaw::setSignals ( const TBTDCRawCont tdcCont,
TBTDCRaw tbtdc,
const TBADCRawCont adcCont,
TBADCRaw tbadc 
)

Definition at line 20 of file TBScintillatorRaw.cxx.

21  {
22  m_tdclink.toContainedElement(*tdcCont,tbtdc);
23  m_adclink.toContainedElement(*adcCont,tbadc);
24 }

Member Data Documentation

◆ m_adclink

ElementLink<TBADCRawCont> TBScintillatorRaw::m_adclink
protected

Definition at line 70 of file TBScintillatorRaw.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.

◆ m_tdclink

ElementLink<TBTDCRawCont> TBScintillatorRaw::m_tdclink
protected

Definition at line 69 of file TBScintillatorRaw.h.


The documentation for this class was generated from the following files:
TBScintillatorRaw::m_tdclink
ElementLink< TBTDCRawCont > m_tdclink
Definition: TBScintillatorRaw.h:69
TBScintillatorRaw::m_adclink
ElementLink< TBADCRawCont > m_adclink
Definition: TBScintillatorRaw.h:70
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