test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTBBeamCounters.cc
Go to the documentation of this file.
2 
3 using namespace std;
4 
6  VMadc_(0),V3adc_(0),V6adc_(0),VH1adc_(0),VH2adc_(0),VH3adc_(0),VH4adc_(0),Ecal7x7_(0.),
7  Sci521adc_(0),Sci528adc_(0),CK1adc_(0),CK2adc_(0),CK3adc_(0),SciVLEadc_(0),
8  S1adc_(0),S2adc_(0),S3adc_(0),S4adc_(0),VMFadc_(0),VMBadc_(0),
9  VM1adc_(0),VM2adc_(0),VM3adc_(0),VM4adc_(0),VM5adc_(0),VM6adc_(0),VM7adc_(0),VM8adc_(0),
10  TOF1Sadc_(0),TOF1Jadc_(0),TOF2Sadc_(0),TOF2Jadc_(0),BH1adc_(0),BH2adc_(0),BH3adc_(0),BH4adc_(0){}
11 
12  void HcalTBBeamCounters::setADCs04 (double VMadc,double V3adc,double V6adc,
13  double VH1adc ,double VH2adc,double VH3adc,double VH4adc,
14  double CK2adc,double CK3adc,double SciVLEadc,
15  double Sci521adc,double Sci528adc,
16  double S1adc,double S2adc,double S3adc,double S4adc,double Ecal7x7)
17 
18  {
19  VMadc_ = VMadc ;
20  V3adc_ = V3adc ;
21  V6adc_ = V6adc ;
22  VH1adc_ = VH1adc ;
23  VH2adc_ = VH2adc ;
24  VH3adc_ = VH3adc ;
25  VH4adc_ = VH4adc ;
26  CK2adc_ = CK2adc ;
27  CK3adc_ = CK3adc ;
31  S1adc_ = S1adc ;
32  S2adc_ = S2adc ;
33  S3adc_ = S3adc ;
34  S4adc_ = S4adc ;
35  Ecal7x7_ = Ecal7x7 ;
36  }
37  void HcalTBBeamCounters::setADCs06 (double VMFadc,double VMBadc,
38  double VM1adc ,double VM2adc,double VM3adc,double VM4adc,
39  double VM5adc ,double VM6adc,double VM7adc,double VM8adc,
40  double CK1adc,double CK2adc,double CK3adc,
41  double S1adc,double S2adc,double S3adc,double S4adc,
42  double TOF1Sadc,double TOF1Jadc,double TOF2Sadc,double TOF2Jadc,
43  double Sci521adc,double Sci528adc,
44  double BH1adc ,double BH2adc,double BH3adc,double BH4adc)
45  {
46  VMFadc_ = VMFadc ;
47  VMBadc_ = VMBadc ;
48  VM1adc_ = VM1adc ;
49  VM2adc_ = VM2adc ;
50  VM3adc_ = VM3adc ;
51  VM4adc_ = VM4adc ;
52  VM5adc_ = VM5adc ;
53  VM6adc_ = VM6adc ;
54  VM7adc_ = VM7adc ;
55  VM8adc_ = VM8adc ;
56  CK1adc_ = CK1adc ;
57  CK2adc_ = CK2adc ;
58  CK3adc_ = CK3adc ;
59  S1adc_ = S1adc ;
60  S2adc_ = S2adc ;
61  S3adc_ = S3adc ;
62  S4adc_ = S4adc ;
69  BH1adc_ = BH1adc ;
70  BH2adc_ = BH2adc ;
71  BH3adc_ = BH3adc ;
72  BH4adc_ = BH4adc ;
73  }
74 
75 
76  ostream& operator<<(ostream& s, const HcalTBBeamCounters& htbcnt) {
77 
78  s << "S1 adc = " << htbcnt.S1adc() << endl;
79  s << "S2 adc = " << htbcnt.S2adc() << endl;
80  s << "S3 adc = " << htbcnt.S3adc() << endl;
81  s << "S4 adc = " << htbcnt.S4adc() << endl;
82 
83  return s;
84  }
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:188
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