00001 #ifndef HCALTBBEAMCOUNTERS_H
00002 #define HCALTBBEAMCOUNTERS_H 1
00003
00004 #include <string>
00005 #include <iostream>
00006 #include <vector>
00007 #include "boost/cstdint.hpp"
00008
00009 class HcalTBBeamCounters {
00010 public:
00011 HcalTBBeamCounters();
00012
00013
00014
00016 double VMadc() const { return VMadc_; }
00017 double V3adc() const { return V3adc_; }
00018 double V6adc() const { return V6adc_; }
00019 double VH1adc() const { return VH1adc_; }
00020 double VH2adc() const { return VH2adc_; }
00021 double VH3adc() const { return VH3adc_; }
00022 double VH4adc() const { return VH4adc_; }
00023 double Ecal7x7() const { return Ecal7x7_; }
00024 double CK1adc() const { return CK1adc_; }
00025 double CK2adc() const { return CK2adc_; }
00026 double CK3adc() const { return CK3adc_; }
00027 double SciVLEadc() const { return SciVLEadc_; }
00028 double Sci521adc() const { return Sci521adc_; }
00029 double Sci528adc() const { return Sci528adc_; }
00030 double S1adc() const { return S1adc_; }
00031 double S2adc() const { return S2adc_; }
00032 double S3adc() const { return S3adc_; }
00033 double S4adc() const { return S4adc_; }
00034 double VMFadc() const { return VMFadc_; }
00035 double VMBadc() const { return VMBadc_; }
00036 double VM1adc() const { return VM1adc_; }
00037 double VM2adc() const { return VM2adc_; }
00038 double VM3adc() const { return VM3adc_; }
00039 double VM4adc() const { return VM4adc_; }
00040 double VM5adc() const { return VM5adc_; }
00041 double VM6adc() const { return VM6adc_; }
00042 double VM7adc() const { return VM7adc_; }
00043 double VM8adc() const { return VM8adc_; }
00044 double TOF1Sadc() const { return TOF1Sadc_; }
00045 double TOF1Jadc() const { return TOF1Jadc_; }
00046 double TOF2Sadc() const { return TOF2Sadc_; }
00047 double TOF2Jadc() const { return TOF2Jadc_; }
00048 double BH1adc() const { return BH1adc_; }
00049 double BH2adc() const { return BH2adc_; }
00050 double BH3adc() const { return BH3adc_; }
00051 double BH4adc() const { return BH4adc_; }
00052
00053
00054 void setADCs04 (double VMadc,double V3adc,double V6adc,
00055 double VH1adc ,double VH2adc,double VH3adc,double VH4adc,
00056 double CK2adc,double CK3adc,double SciVLEadc,
00057 double Sci521adc,double Sci528adc,
00058 double S1adc,double S2adc,double S3adc,double S4adc,double Ecal7x7);
00059 void setADCs06 (double VMFadc,double VMBadc,
00060 double VM1adc ,double VM2adc,double VM3adc,double VM4adc,
00061 double VM5adc ,double VM6adc,double VM7adc,double VM8adc,
00062 double CK1adc,double CK2adc,double CK3adc,
00063 double S1adc,double S2adc,double S3adc,double S4adc,
00064 double TOF1Sadc,double TOF1Jadc,double TOF2Sadc,double TOF2Jadc,
00065 double Sci521adc,double Sci528adc,
00066 double BH1adc ,double BH2adc,double BH3adc,double BH4adc);
00067
00068 private:
00069
00070 double VMadc_ ;
00071 double V3adc_ ;
00072 double V6adc_ ;
00073 double VH1adc_ ;
00074 double VH2adc_ ;
00075 double VH3adc_ ;
00076 double VH4adc_ ;
00077 double Ecal7x7_;
00078
00079 double Sci521adc_ ;
00080 double Sci528adc_ ;
00081 double CK1adc_ ;
00082 double CK2adc_ ;
00083 double CK3adc_ ;
00084 double SciVLEadc_ ;
00085 double S1adc_ ;
00086 double S2adc_ ;
00087 double S3adc_ ;
00088 double S4adc_ ;
00089
00090 double VMFadc_ ;
00091 double VMBadc_ ;
00092 double VM1adc_ ;
00093 double VM2adc_ ;
00094 double VM3adc_ ;
00095 double VM4adc_ ;
00096 double VM5adc_ ;
00097 double VM6adc_ ;
00098 double VM7adc_ ;
00099 double VM8adc_ ;
00100 double TOF1Sadc_ ;
00101 double TOF1Jadc_ ;
00102 double TOF2Sadc_ ;
00103 double TOF2Jadc_ ;
00104 double BH1adc_ ;
00105 double BH2adc_ ;
00106 double BH3adc_ ;
00107 double BH4adc_ ;
00108
00109
00110 };
00111
00112 std::ostream& operator<<(std::ostream& s, const HcalTBBeamCounters& htbcnt);
00113
00114 #endif