CMS 3D CMS Logo

HcalTBBeamCounters.cc
Go to the documentation of this file.
2 
3 using namespace std;
4 
6  : VMadc_(0),
7  V3adc_(0),
8  V6adc_(0),
9  VH1adc_(0),
10  VH2adc_(0),
11  VH3adc_(0),
12  VH4adc_(0),
13  Ecal7x7_(0.),
14  Sci521adc_(0),
15  Sci528adc_(0),
16  CK1adc_(0),
17  CK2adc_(0),
18  CK3adc_(0),
19  SciVLEadc_(0),
20  S1adc_(0),
21  S2adc_(0),
22  S3adc_(0),
23  S4adc_(0),
24  VMFadc_(0),
25  VMBadc_(0),
26  VM1adc_(0),
27  VM2adc_(0),
28  VM3adc_(0),
29  VM4adc_(0),
30  VM5adc_(0),
31  VM6adc_(0),
32  VM7adc_(0),
33  VM8adc_(0),
34  TOF1Sadc_(0),
35  TOF1Jadc_(0),
36  TOF2Sadc_(0),
37  TOF2Jadc_(0),
38  BH1adc_(0),
39  BH2adc_(0),
40  BH3adc_(0),
41  BH4adc_(0) {}
42 
44  double V3adc,
45  double V6adc,
46  double VH1adc,
47  double VH2adc,
48  double VH3adc,
49  double VH4adc,
50  double CK2adc,
51  double CK3adc,
52  double SciVLEadc,
53  double Sci521adc,
54  double Sci528adc,
55  double S1adc,
56  double S2adc,
57  double S3adc,
58  double S4adc,
59  double Ecal7x7)
60 
61 {
62  VMadc_ = VMadc;
63  V3adc_ = V3adc;
64  V6adc_ = V6adc;
65  VH1adc_ = VH1adc;
66  VH2adc_ = VH2adc;
67  VH3adc_ = VH3adc;
68  VH4adc_ = VH4adc;
69  CK2adc_ = CK2adc;
70  CK3adc_ = CK3adc;
74  S1adc_ = S1adc;
75  S2adc_ = S2adc;
76  S3adc_ = S3adc;
77  S4adc_ = S4adc;
78  Ecal7x7_ = Ecal7x7;
79 }
80 void HcalTBBeamCounters::setADCs06(double VMFadc,
81  double VMBadc,
82  double VM1adc,
83  double VM2adc,
84  double VM3adc,
85  double VM4adc,
86  double VM5adc,
87  double VM6adc,
88  double VM7adc,
89  double VM8adc,
90  double CK1adc,
91  double CK2adc,
92  double CK3adc,
93  double S1adc,
94  double S2adc,
95  double S3adc,
96  double S4adc,
97  double TOF1Sadc,
98  double TOF1Jadc,
99  double TOF2Sadc,
100  double TOF2Jadc,
101  double Sci521adc,
102  double Sci528adc,
103  double BH1adc,
104  double BH2adc,
105  double BH3adc,
106  double BH4adc) {
107  VMFadc_ = VMFadc;
108  VMBadc_ = VMBadc;
109  VM1adc_ = VM1adc;
110  VM2adc_ = VM2adc;
111  VM3adc_ = VM3adc;
112  VM4adc_ = VM4adc;
113  VM5adc_ = VM5adc;
114  VM6adc_ = VM6adc;
115  VM7adc_ = VM7adc;
116  VM8adc_ = VM8adc;
117  CK1adc_ = CK1adc;
118  CK2adc_ = CK2adc;
119  CK3adc_ = CK3adc;
120  S1adc_ = S1adc;
121  S2adc_ = S2adc;
122  S3adc_ = S3adc;
123  S4adc_ = S4adc;
130  BH1adc_ = BH1adc;
131  BH2adc_ = BH2adc;
132  BH3adc_ = BH3adc;
133  BH4adc_ = BH4adc;
134 }
135 
136 ostream& operator<<(ostream& s, const HcalTBBeamCounters& htbcnt) {
137  s << "S1 adc = " << htbcnt.S1adc() << endl;
138  s << "S2 adc = " << htbcnt.S2adc() << endl;
139  s << "S3 adc = " << htbcnt.S3adc() << endl;
140  s << "S4 adc = " << htbcnt.S4adc() << endl;
141 
142  return s;
143 }
HcalTBBeamCounters::S3adc_
double S3adc_
Definition: HcalTBBeamCounters.h:117
HcalTBBeamCounters::V3adc_
double V3adc_
Definition: HcalTBBeamCounters.h:101
HcalTBBeamCounters::Ecal7x7
double Ecal7x7() const
Definition: HcalTBBeamCounters.h:22
HcalTBBeamCounters::VM4adc
double VM4adc() const
Definition: HcalTBBeamCounters.h:38
HcalTBBeamCounters::TOF2Jadc_
double TOF2Jadc_
Definition: HcalTBBeamCounters.h:133
HcalTBBeamCounters::VM2adc
double VM2adc() const
Definition: HcalTBBeamCounters.h:36
HcalTBBeamCounters::VM6adc_
double VM6adc_
Definition: HcalTBBeamCounters.h:127
HcalTBBeamCounters::TOF2Sadc
double TOF2Sadc() const
Definition: HcalTBBeamCounters.h:45
HcalTBBeamCounters::S1adc
double S1adc() const
Definition: HcalTBBeamCounters.h:29
HcalTBBeamCounters::S2adc_
double S2adc_
Definition: HcalTBBeamCounters.h:116
HcalTBBeamCounters::BH1adc
double BH1adc() const
Definition: HcalTBBeamCounters.h:47
HcalTBBeamCounters
Definition: HcalTBBeamCounters.h:8
HcalTBBeamCounters::VMadc
double VMadc() const
Muon Veto adc.
Definition: HcalTBBeamCounters.h:15
HcalTBBeamCounters::VH2adc_
double VH2adc_
Definition: HcalTBBeamCounters.h:104
HcalTBBeamCounters::VMBadc
double VMBadc() const
Definition: HcalTBBeamCounters.h:34
HcalTBBeamCounters::BH4adc_
double BH4adc_
Definition: HcalTBBeamCounters.h:137
HcalTBBeamCounters::VMFadc_
double VMFadc_
Definition: HcalTBBeamCounters.h:120
HcalTBBeamCounters::VMFadc
double VMFadc() const
Definition: HcalTBBeamCounters.h:33
HcalTBBeamCounters::V6adc
double V6adc() const
Definition: HcalTBBeamCounters.h:17
HcalTBBeamCounters::TOF1Sadc
double TOF1Sadc() const
Definition: HcalTBBeamCounters.h:43
HcalTBBeamCounters::CK1adc_
double CK1adc_
Definition: HcalTBBeamCounters.h:111
HcalTBBeamCounters::TOF1Jadc
double TOF1Jadc() const
Definition: HcalTBBeamCounters.h:44
HcalTBBeamCounters::S4adc_
double S4adc_
Definition: HcalTBBeamCounters.h:118
HcalTBBeamCounters::CK1adc
double CK1adc() const
Definition: HcalTBBeamCounters.h:23
HcalTBBeamCounters::V6adc_
double V6adc_
Definition: HcalTBBeamCounters.h:102
HcalTBBeamCounters::VM8adc_
double VM8adc_
Definition: HcalTBBeamCounters.h:129
HcalTBBeamCounters::SciVLEadc
double SciVLEadc() const
Definition: HcalTBBeamCounters.h:26
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HcalTBBeamCounters::VH4adc_
double VH4adc_
Definition: HcalTBBeamCounters.h:106
HcalTBBeamCounters::Sci528adc
double Sci528adc() const
Definition: HcalTBBeamCounters.h:28
HcalTBBeamCounters::CK3adc_
double CK3adc_
Definition: HcalTBBeamCounters.h:113
HcalTBBeamCounters::VM1adc_
double VM1adc_
Definition: HcalTBBeamCounters.h:122
HcalTBBeamCounters::VM3adc_
double VM3adc_
Definition: HcalTBBeamCounters.h:124
HcalTBBeamCounters::BH1adc_
double BH1adc_
Definition: HcalTBBeamCounters.h:134
HcalTBBeamCounters::VM3adc
double VM3adc() const
Definition: HcalTBBeamCounters.h:37
HcalTBBeamCounters::VH3adc_
double VH3adc_
Definition: HcalTBBeamCounters.h:105
HcalTBBeamCounters::Sci521adc
double Sci521adc() const
Definition: HcalTBBeamCounters.h:27
HcalTBBeamCounters::V3adc
double V3adc() const
Definition: HcalTBBeamCounters.h:16
HcalTBBeamCounters::VMadc_
double VMadc_
Definition: HcalTBBeamCounters.h:100
HcalTBBeamCounters::TOF2Sadc_
double TOF2Sadc_
Definition: HcalTBBeamCounters.h:132
HcalTBBeamCounters::VH1adc_
double VH1adc_
Definition: HcalTBBeamCounters.h:103
HcalTBBeamCounters::setADCs04
void setADCs04(double VMadc, double V3adc, double V6adc, double VH1adc, double VH2adc, double VH3adc, double VH4adc, double CK2adc, double CK3adc, double SciVLEadc, double Sci521adc, double Sci528adc, double S1adc, double S2adc, double S3adc, double S4adc, double Ecal7x7)
Definition: HcalTBBeamCounters.cc:43
HcalTBBeamCounters::VM7adc_
double VM7adc_
Definition: HcalTBBeamCounters.h:128
HcalTBBeamCounters::CK3adc
double CK3adc() const
Definition: HcalTBBeamCounters.h:25
HcalTBBeamCounters.h
HcalTBBeamCounters::VM7adc
double VM7adc() const
Definition: HcalTBBeamCounters.h:41
HcalTBBeamCounters::VM5adc
double VM5adc() const
Definition: HcalTBBeamCounters.h:39
HcalTBBeamCounters::TOF2Jadc
double TOF2Jadc() const
Definition: HcalTBBeamCounters.h:46
HcalTBBeamCounters::VM4adc_
double VM4adc_
Definition: HcalTBBeamCounters.h:125
HcalTBBeamCounters::CK2adc_
double CK2adc_
Definition: HcalTBBeamCounters.h:112
HcalTBBeamCounters::Sci528adc_
double Sci528adc_
Definition: HcalTBBeamCounters.h:110
HcalTBBeamCounters::S1adc_
double S1adc_
Definition: HcalTBBeamCounters.h:115
HcalTBBeamCounters::VH1adc
double VH1adc() const
Definition: HcalTBBeamCounters.h:18
HcalTBBeamCounters::CK2adc
double CK2adc() const
Definition: HcalTBBeamCounters.h:24
HcalTBBeamCounters::S4adc
double S4adc() const
Definition: HcalTBBeamCounters.h:32
HcalTBBeamCounters::TOF1Sadc_
double TOF1Sadc_
Definition: HcalTBBeamCounters.h:130
HcalTBBeamCounters::HcalTBBeamCounters
HcalTBBeamCounters()
Definition: HcalTBBeamCounters.cc:5
HcalTBBeamCounters::BH2adc_
double BH2adc_
Definition: HcalTBBeamCounters.h:135
HcalTBBeamCounters::VM1adc
double VM1adc() const
Definition: HcalTBBeamCounters.h:35
operator<<
ostream & operator<<(ostream &s, const HcalTBBeamCounters &htbcnt)
Definition: HcalTBBeamCounters.cc:136
HcalTBBeamCounters::setADCs06
void setADCs06(double VMFadc, double VMBadc, double VM1adc, double VM2adc, double VM3adc, double VM4adc, double VM5adc, double VM6adc, double VM7adc, double VM8adc, double CK1adc, double CK2adc, double CK3adc, double S1adc, double S2adc, double S3adc, double S4adc, double TOF1Sadc, double TOF1Jadc, double TOF2Sadc, double TOF2Jadc, double Sci521adc, double Sci528adc, double BH1adc, double BH2adc, double BH3adc, double BH4adc)
Definition: HcalTBBeamCounters.cc:80
HcalTBBeamCounters::S3adc
double S3adc() const
Definition: HcalTBBeamCounters.h:31
HcalTBBeamCounters::VM5adc_
double VM5adc_
Definition: HcalTBBeamCounters.h:126
HcalTBBeamCounters::VH2adc
double VH2adc() const
Definition: HcalTBBeamCounters.h:19
HcalTBBeamCounters::BH2adc
double BH2adc() const
Definition: HcalTBBeamCounters.h:48
HcalTBBeamCounters::BH3adc
double BH3adc() const
Definition: HcalTBBeamCounters.h:49
HcalTBBeamCounters::Sci521adc_
double Sci521adc_
Definition: HcalTBBeamCounters.h:109
HcalTBBeamCounters::TOF1Jadc_
double TOF1Jadc_
Definition: HcalTBBeamCounters.h:131
std
Definition: JetResolutionObject.h:76
HcalTBBeamCounters::Ecal7x7_
double Ecal7x7_
Definition: HcalTBBeamCounters.h:107
HcalTBBeamCounters::SciVLEadc_
double SciVLEadc_
Definition: HcalTBBeamCounters.h:114
HcalTBBeamCounters::BH3adc_
double BH3adc_
Definition: HcalTBBeamCounters.h:136
HcalTBBeamCounters::VH4adc
double VH4adc() const
Definition: HcalTBBeamCounters.h:21
HcalTBBeamCounters::VM8adc
double VM8adc() const
Definition: HcalTBBeamCounters.h:42
HcalTBBeamCounters::BH4adc
double BH4adc() const
Definition: HcalTBBeamCounters.h:50
HcalTBBeamCounters::VMBadc_
double VMBadc_
Definition: HcalTBBeamCounters.h:121
HcalTBBeamCounters::VM6adc
double VM6adc() const
Definition: HcalTBBeamCounters.h:40
HcalTBBeamCounters::S2adc
double S2adc() const
Definition: HcalTBBeamCounters.h:30
HcalTBBeamCounters::VH3adc
double VH3adc() const
Definition: HcalTBBeamCounters.h:20
HcalTBBeamCounters::VM2adc_
double VM2adc_
Definition: HcalTBBeamCounters.h:123