CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 }
double VH1adc() const
double VM4adc() const
double VMadc() const
Muon Veto adc.
double BH3adc() const
double VM2adc() const
double S1adc() const
double BH2adc() const
double S2adc() const
double Sci528adc() const
double Ecal7x7() const
double VM1adc() const
double S3adc() const
double S4adc() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
double V3adc() const
double SciVLEadc() const
double CK2adc() const
double VM8adc() const
double VM6adc() const
double VH2adc() const
double VMFadc() const
double VM3adc() const
double VM5adc() const
double VH4adc() const
double Sci521adc() const
double CK3adc() const
double VMBadc() const
double BH1adc() const
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)
double TOF2Jadc() const
double VM7adc() const
double V6adc() const
double TOF2Sadc() const
double VH3adc() const
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)
double TOF1Jadc() const
double CK1adc() const
double BH4adc() const
double TOF1Sadc() const