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

#include <TBBPC.h>

Inheritance diagram for TBBPC:
Collaboration diagram for TBBPC:

Public Types

typedef double signal_type

Public Member Functions

 TBBPC ()
 TBBPC (const std::string &thisBPCName)
 ~TBBPC ()
void setXPos (signal_type theSignal)
void setYPos (signal_type theSignal)
void setXErr (signal_type theSignal)
void setYErr (signal_type theSignal)
void setXPulse (signal_type theSignal)
void setYPulse (signal_type theSignal)
void setHitNbr (int hitnbr)
void setXPosOverflow (bool overflow=true)
void setYPosOverflow (bool overflow=true)
void setXPulseOverflow (bool overflow=true)
void setYPulseOverflow (bool overflow=true)
signal_type getXPos () const
signal_type getYPos () const
signal_type getXErr () const
signal_type getYErr () const
signal_type getXPulse () const
signal_type getYPulse () const
int getHitNbr () const
bool isXPosOverflow () const
bool isYPosOverflow () const
bool isXPulseOverflow () const
bool isYPulseOverflow () const
void reset ()
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_xPos
signal_type m_yPos
signal_type m_xErr
signal_type m_yErr
signal_type m_xPulse
signal_type m_yPulse
short m_hitnumber
bool m_xPosOverflow
bool m_yPosOverflow
bool m_xPulseOverflow
bool m_yPulseOverflow
std::string m_tbDetectorName

Detailed Description

Definition at line 22 of file TBBPC.h.

Member Typedef Documentation

◆ signal_type

typedef double TBBPC::signal_type

Definition at line 26 of file TBBPC.h.

Constructor & Destructor Documentation

◆ TBBPC() [1/2]

TBBPC::TBBPC ( )

Definition at line 13 of file TBBPC.cxx.

15{
16 this->reset();
17}
void reset()
Definition TBBPC.cxx:32

◆ TBBPC() [2/2]

TBBPC::TBBPC ( const std::string & thisBPCName)

Definition at line 19 of file TBBPC.cxx.

20 : TBBeamDetector(thisBPCName)
21{
22 this->reset();
23}

◆ ~TBBPC()

TBBPC::~TBBPC ( )

Definition at line 25 of file TBBPC.cxx.

26{ }

Member Function Documentation

◆ getDetectorName()

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

Definition at line 61 of file TBBeamDetector.h.

62 { return m_tbDetectorName; }
std::string m_tbDetectorName

◆ getHitNbr()

int TBBPC::getHitNbr ( ) const
inline

Definition at line 89 of file TBBPC.h.

90 {return m_hitnumber;}
short m_hitnumber
Definition TBBPC.h:120

◆ getXErr()

signal_type TBBPC::getXErr ( ) const
inline

Definition at line 80 of file TBBPC.h.

81 { return (signal_type) m_xErr; }
double signal_type
Definition TBBPC.h:26
signal_type m_xErr
Definition TBBPC.h:114

◆ getXPos()

signal_type TBBPC::getXPos ( ) const
inline

Definition at line 75 of file TBBPC.h.

76 { return (signal_type) m_xPos; }
signal_type m_xPos
Definition TBBPC.h:113

◆ getXPulse()

signal_type TBBPC::getXPulse ( ) const
inline

Definition at line 85 of file TBBPC.h.

86 { return m_xPulse; }
signal_type m_xPulse
Definition TBBPC.h:117

◆ getYErr()

signal_type TBBPC::getYErr ( ) const
inline

Definition at line 82 of file TBBPC.h.

83 { return (signal_type) m_yErr; }
signal_type m_yErr
Definition TBBPC.h:114

◆ getYPos()

signal_type TBBPC::getYPos ( ) const
inline

Definition at line 77 of file TBBPC.h.

78 { return (signal_type) m_yPos; }
signal_type m_yPos
Definition TBBPC.h:113

◆ getYPulse()

signal_type TBBPC::getYPulse ( ) const
inline

Definition at line 87 of file TBBPC.h.

88 { return m_yPulse; }
signal_type m_yPulse
Definition TBBPC.h:117

◆ isOverflow()

bool TBBeamDetector::isOverflow ( ) const
inlineinherited

Definition at line 64 of file TBBeamDetector.h.

65 { return m_overflow; }
bool m_overflow
Detector Name.

◆ isXPosOverflow()

bool TBBPC::isXPosOverflow ( ) const
inline

Definition at line 93 of file TBBPC.h.

94 { return m_xPosOverflow; }
bool m_xPosOverflow
Definition TBBPC.h:123

◆ isXPulseOverflow()

bool TBBPC::isXPulseOverflow ( ) const
inline

Definition at line 97 of file TBBPC.h.

98 { return m_xPulseOverflow; }
bool m_xPulseOverflow
Definition TBBPC.h:124

◆ isYPosOverflow()

bool TBBPC::isYPosOverflow ( ) const
inline

Definition at line 95 of file TBBPC.h.

96 { return m_yPosOverflow; }
bool m_yPosOverflow
Definition TBBPC.h:123

◆ isYPulseOverflow()

bool TBBPC::isYPulseOverflow ( ) const
inline

Definition at line 99 of file TBBPC.h.

100 { return m_yPulseOverflow; }
bool m_yPulseOverflow
Definition TBBPC.h:124

◆ reset()

void TBBPC::reset ( )

Definition at line 32 of file TBBPC.cxx.

33{
34 m_xErr = 0;
35 m_yErr = 0;
36 m_hitnumber = 0;
37
38 // default signals
39 m_xPos = m_yPos = 0;
40 m_xPulse = m_yPulse = 0.;
41
42 // default overflow conditions
45 // global overflow indicator (from TBBeamDetector)
46 m_overflow = false;
47}

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

◆ setHitNbr()

void TBBPC::setHitNbr ( int hitnbr)

Definition at line 79 of file TBBPC.cxx.

80{
81 m_hitnumber = theSignal;
82}

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

◆ setXErr()

void TBBPC::setXErr ( TBBPC::signal_type theSignal)

Definition at line 59 of file TBBPC.cxx.

60{
61 m_xErr = theSignal;
62}

◆ setXPos()

void TBBPC::setXPos ( TBBPC::signal_type theSignal)

Definition at line 49 of file TBBPC.cxx.

50{
51 m_xPos = theSignal;
52}

◆ setXPosOverflow()

void TBBPC::setXPosOverflow ( bool overflow = true)

Definition at line 84 of file TBBPC.cxx.

85{
86 m_xPosOverflow = overflow;
87}

◆ setXPulse()

void TBBPC::setXPulse ( TBBPC::signal_type theSignal)

Definition at line 69 of file TBBPC.cxx.

70{
71 m_xPulse = theSignal;
72}

◆ setXPulseOverflow()

void TBBPC::setXPulseOverflow ( bool overflow = true)

Definition at line 94 of file TBBPC.cxx.

95{
96 m_xPulseOverflow = overflow;
97}

◆ setYErr()

void TBBPC::setYErr ( TBBPC::signal_type theSignal)

Definition at line 64 of file TBBPC.cxx.

65{
66 m_yErr = theSignal;
67}

◆ setYPos()

void TBBPC::setYPos ( TBBPC::signal_type theSignal)

Definition at line 54 of file TBBPC.cxx.

55{
56 m_yPos = theSignal;
57}

◆ setYPosOverflow()

void TBBPC::setYPosOverflow ( bool overflow = true)

Definition at line 89 of file TBBPC.cxx.

90{
91 m_yPosOverflow = overflow;
92}

◆ setYPulse()

void TBBPC::setYPulse ( TBBPC::signal_type theSignal)

Definition at line 74 of file TBBPC.cxx.

75{
76 m_yPulse = theSignal;
77}

◆ setYPulseOverflow()

void TBBPC::setYPulseOverflow ( bool overflow = true)

Definition at line 99 of file TBBPC.cxx.

100{
101 m_yPulseOverflow = overflow;
102}

Member Data Documentation

◆ m_hitnumber

short TBBPC::m_hitnumber
private

Definition at line 120 of file TBBPC.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_xErr

signal_type TBBPC::m_xErr
private

Definition at line 114 of file TBBPC.h.

◆ m_xPos

signal_type TBBPC::m_xPos
private

Definition at line 113 of file TBBPC.h.

◆ m_xPosOverflow

bool TBBPC::m_xPosOverflow
private

Definition at line 123 of file TBBPC.h.

◆ m_xPulse

signal_type TBBPC::m_xPulse
private

Definition at line 117 of file TBBPC.h.

◆ m_xPulseOverflow

bool TBBPC::m_xPulseOverflow
private

Definition at line 124 of file TBBPC.h.

◆ m_yErr

signal_type TBBPC::m_yErr
private

Definition at line 114 of file TBBPC.h.

◆ m_yPos

signal_type TBBPC::m_yPos
private

Definition at line 113 of file TBBPC.h.

◆ m_yPosOverflow

bool TBBPC::m_yPosOverflow
private

Definition at line 123 of file TBBPC.h.

◆ m_yPulse

signal_type TBBPC::m_yPulse
private

Definition at line 117 of file TBBPC.h.

◆ m_yPulseOverflow

bool TBBPC::m_yPulseOverflow
private

Definition at line 124 of file TBBPC.h.


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