CMS 3D CMS Logo

HcalTBBeamCounters.h
Go to the documentation of this file.
1 #ifndef HCALTBBEAMCOUNTERS_H
2 #define HCALTBBEAMCOUNTERS_H 1
3 
4 #include <string>
5 #include <iostream>
6 #include <vector>
7 
9 public:
11 
12  // Getter methods
13 
15  double VMadc() const { return VMadc_; }
16  double V3adc() const { return V3adc_; }
17  double V6adc() const { return V6adc_; }
18  double VH1adc() const { return VH1adc_; }
19  double VH2adc() const { return VH2adc_; }
20  double VH3adc() const { return VH3adc_; }
21  double VH4adc() const { return VH4adc_; }
22  double Ecal7x7() const { return Ecal7x7_; }
23  double CK1adc() const { return CK1adc_; }
24  double CK2adc() const { return CK2adc_; }
25  double CK3adc() const { return CK3adc_; }
26  double SciVLEadc() const { return SciVLEadc_; }
27  double Sci521adc() const { return Sci521adc_; }
28  double Sci528adc() const { return Sci528adc_; }
29  double S1adc() const { return S1adc_; }
30  double S2adc() const { return S2adc_; }
31  double S3adc() const { return S3adc_; }
32  double S4adc() const { return S4adc_; }
33  double VMFadc() const { return VMFadc_; }
34  double VMBadc() const { return VMBadc_; }
35  double VM1adc() const { return VM1adc_; }
36  double VM2adc() const { return VM2adc_; }
37  double VM3adc() const { return VM3adc_; }
38  double VM4adc() const { return VM4adc_; }
39  double VM5adc() const { return VM5adc_; }
40  double VM6adc() const { return VM6adc_; }
41  double VM7adc() const { return VM7adc_; }
42  double VM8adc() const { return VM8adc_; }
43  double TOF1Sadc() const { return TOF1Sadc_; }
44  double TOF1Jadc() const { return TOF1Jadc_; }
45  double TOF2Sadc() const { return TOF2Sadc_; }
46  double TOF2Jadc() const { return TOF2Jadc_; }
47  double BH1adc() const { return BH1adc_; }
48  double BH2adc() const { return BH2adc_; }
49  double BH3adc() const { return BH3adc_; }
50  double BH4adc() const { return BH4adc_; }
51 
52  // Setter methods
53  void setADCs04(double VMadc,
54  double V3adc,
55  double V6adc,
56  double VH1adc,
57  double VH2adc,
58  double VH3adc,
59  double VH4adc,
60  double CK2adc,
61  double CK3adc,
62  double SciVLEadc,
63  double Sci521adc,
64  double Sci528adc,
65  double S1adc,
66  double S2adc,
67  double S3adc,
68  double S4adc,
69  double Ecal7x7);
70  void setADCs06(double VMFadc,
71  double VMBadc,
72  double VM1adc,
73  double VM2adc,
74  double VM3adc,
75  double VM4adc,
76  double VM5adc,
77  double VM6adc,
78  double VM7adc,
79  double VM8adc,
80  double CK1adc,
81  double CK2adc,
82  double CK3adc,
83  double S1adc,
84  double S2adc,
85  double S3adc,
86  double S4adc,
87  double TOF1Sadc,
88  double TOF1Jadc,
89  double TOF2Sadc,
90  double TOF2Jadc,
91  double Sci521adc,
92  double Sci528adc,
93  double BH1adc,
94  double BH2adc,
95  double BH3adc,
96  double BH4adc);
97 
98 private:
99  // TB2004 specific
100  double VMadc_; // behind HO
101  double V3adc_; // behind HB at (eta,phi)=(7,3)
102  double V6adc_; // behind HB at (eta,phi)=(7,6)
103  double VH1adc_; // part of extra muon veto wall - the end of TB04 data taking
104  double VH2adc_; // part of extra muon veto wall - the end of TB04 data taking
105  double VH3adc_; // part of extra muon veto wall - the end of TB04 data taking
106  double VH4adc_; // part of extra muon veto wall - the end of TB04 data taking
107  double Ecal7x7_; // Ecal energy - sum of all 49 crustals
108  // Common for TB2004 and TB2006
109  double Sci521adc_; // Scintilator at 521m (see beam line drawings)
110  double Sci528adc_; // Scintilator at 522m (see beam line drawings)
111  double CK1adc_; // TB2006
112  double CK2adc_; // Cerenkov 2 : electron id
113  double CK3adc_; // Cerenkov 3 : pi/proton separation
114  double SciVLEadc_; // Scintillator in VLE beam line
115  double S1adc_; // Trigger scintilator 14x14 cm
116  double S2adc_; // Trigger scintilator 4x4 cm
117  double S3adc_; // Trigger scintilator 2x2 cm
118  double S4adc_; // Trigger scintilator 14x14 cm
119  // TB2006 specific
120  double VMFadc_; // VM front
121  double VMBadc_; // VM back
122  double VM1adc_; // Muon veto wall
123  double VM2adc_; // Muon veto wall
124  double VM3adc_; // Muon veto wall
125  double VM4adc_; // Muon veto wall
126  double VM5adc_; // Muon veto wall
127  double VM6adc_; // Muon veto wall
128  double VM7adc_; // Muon veto wall
129  double VM8adc_; // Muon veto wall
130  double TOF1Sadc_; // TOF1S (Saleve side)
131  double TOF1Jadc_; // TOF1J (Jura side)
132  double TOF2Sadc_; // TOF2S (Saleve side)
133  double TOF2Jadc_; // TOF2J (Jura side)
134  double BH1adc_; // beam halo up
135  double BH2adc_; // beam halo left from particle view
136  double BH3adc_; // beam halo right from particle view
137  double BH4adc_; // beam halo down
138 };
139 
140 std::ostream& operator<<(std::ostream& s, const HcalTBBeamCounters& htbcnt);
141 
142 #endif
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::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
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
HcalTBBeamCounters::Ecal7x7_
double Ecal7x7_
Definition: HcalTBBeamCounters.h:107
HcalTBBeamCounters::SciVLEadc_
double SciVLEadc_
Definition: HcalTBBeamCounters.h:114
operator<<
std::ostream & operator<<(std::ostream &s, const HcalTBBeamCounters &htbcnt)
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