ATLAS Offline Software
Loading...
Searching...
No Matches
TBBPC.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#include "TBEvent/TBBPC.h"
7
8
10// Constructors and Destructor //
12
15{
16 this->reset();
17}
18
19TBBPC::TBBPC(const std::string& thisBPCName)
20 : TBBeamDetector(thisBPCName)
21{
22 this->reset();
23}
24
27
29// Data Manipulation //
31
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}
48
50{
51 m_xPos = theSignal;
52}
53
55{
56 m_yPos = theSignal;
57}
58
60{
61 m_xErr = theSignal;
62}
63
65{
66 m_yErr = theSignal;
67}
68
70{
71 m_xPulse = theSignal;
72}
73
75{
76 m_yPulse = theSignal;
77}
78
79void TBBPC::setHitNbr(int theSignal)
80{
81 m_hitnumber = theSignal;
82}
83
84void TBBPC::setXPosOverflow(bool overflow)
85{
86 m_xPosOverflow = overflow;
87}
88
89void TBBPC::setYPosOverflow(bool overflow)
90{
91 m_yPosOverflow = overflow;
92}
93
94void TBBPC::setXPulseOverflow(bool overflow)
95{
96 m_xPulseOverflow = overflow;
97}
98
99void TBBPC::setYPulseOverflow(bool overflow)
100{
101 m_yPulseOverflow = overflow;
102}
103
~TBBPC()
Definition TBBPC.cxx:25
void setYPos(signal_type theSignal)
Definition TBBPC.cxx:54
void setXPos(signal_type theSignal)
Definition TBBPC.cxx:49
bool m_xPosOverflow
Definition TBBPC.h:123
signal_type m_yErr
Definition TBBPC.h:114
void setXPulseOverflow(bool overflow=true)
Definition TBBPC.cxx:94
void setHitNbr(int hitnbr)
Definition TBBPC.cxx:79
void setYErr(signal_type theSignal)
Definition TBBPC.cxx:64
void setXErr(signal_type theSignal)
Definition TBBPC.cxx:59
void setYPulseOverflow(bool overflow=true)
Definition TBBPC.cxx:99
bool m_xPulseOverflow
Definition TBBPC.h:124
bool m_yPulseOverflow
Definition TBBPC.h:124
void setYPosOverflow(bool overflow=true)
Definition TBBPC.cxx:89
signal_type m_xPos
Definition TBBPC.h:113
signal_type m_yPos
Definition TBBPC.h:113
TBBPC()
Definition TBBPC.cxx:13
signal_type m_xPulse
Definition TBBPC.h:117
double signal_type
Definition TBBPC.h:26
short m_hitnumber
Definition TBBPC.h:120
void setYPulse(signal_type theSignal)
Definition TBBPC.cxx:74
void setXPosOverflow(bool overflow=true)
Definition TBBPC.cxx:84
void reset()
Definition TBBPC.cxx:32
signal_type m_yPulse
Definition TBBPC.h:117
signal_type m_xErr
Definition TBBPC.h:114
bool m_yPosOverflow
Definition TBBPC.h:123
void setXPulse(signal_type theSignal)
Definition TBBPC.cxx:69
bool m_overflow
Detector Name.