CMS 3D CMS Logo

HcalTBBeamCounters.h

Go to the documentation of this file.
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     // Getter methods
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     // Setter methods
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 //    TB2004 specific
00070         double    VMadc_ ; // behind HO
00071         double    V3adc_ ; // behind HB at (eta,phi)=(7,3)
00072         double    V6adc_ ;  // behind HB at (eta,phi)=(7,6)
00073         double    VH1adc_ ; // part of extra muon veto wall - the end of TB04 data taking
00074         double    VH2adc_ ; // part of extra muon veto wall - the end of TB04 data taking
00075         double    VH3adc_ ; // part of extra muon veto wall - the end of TB04 data taking
00076         double    VH4adc_ ; // part of extra muon veto wall - the end of TB04 data taking
00077         double    Ecal7x7_; // Ecal energy - sum of all 49 crustals
00078 //   Common for TB2004 and TB2006
00079         double    Sci521adc_ ; // Scintilator at 521m (see beam line drawings)
00080         double    Sci528adc_ ; // Scintilator at 522m (see beam line drawings)
00081         double    CK1adc_ ; // TB2006
00082         double    CK2adc_ ; // Cerenkov 2 : electron id 
00083         double    CK3adc_ ; // Cerenkov 3 : pi/proton separation
00084         double    SciVLEadc_ ; // Scintillator in VLE beam line 
00085         double    S1adc_ ; // Trigger scintilator 14x14 cm
00086         double    S2adc_ ; // Trigger scintilator 4x4 cm
00087         double    S3adc_ ; // Trigger scintilator 2x2 cm
00088         double    S4adc_ ; // Trigger scintilator 14x14 cm
00089 //    TB2006 specific
00090         double    VMFadc_ ; // VM front
00091         double    VMBadc_ ; // VM back
00092         double    VM1adc_ ; // Muon veto wall
00093         double    VM2adc_ ; // Muon veto wall
00094         double    VM3adc_ ; // Muon veto wall
00095         double    VM4adc_ ; // Muon veto wall
00096         double    VM5adc_ ; // Muon veto wall
00097         double    VM6adc_ ; // Muon veto wall
00098         double    VM7adc_ ; // Muon veto wall
00099         double    VM8adc_ ; // Muon veto wall
00100         double    TOF1Sadc_ ; // TOF1S (Saleve side)
00101         double    TOF1Jadc_ ; // TOF1J (Jura side)
00102         double    TOF2Sadc_ ; // TOF2S (Saleve side)
00103         double    TOF2Jadc_ ; // TOF2J (Jura side)
00104         double    BH1adc_ ; // beam halo up
00105         double    BH2adc_ ; // beam halo left from particle view
00106         double    BH3adc_ ; // beam halo right from particle view
00107         double    BH4adc_ ; // beam halo down
00108 
00109 
00110   };
00111 
00112   std::ostream& operator<<(std::ostream& s, const HcalTBBeamCounters& htbcnt);
00113 
00114 #endif

Generated on Tue Jun 9 17:48:05 2009 for CMSSW by  doxygen 1.5.4