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