![]() |
![]() |
00001 #ifndef ROOT_TEBParameters 00002 #define ROOT_TEBParameters 00003 00005 // // 00006 // TEBParameters Init ECAL Parameters // 00007 // // 00008 // // 00009 // // 00011 00012 #include "TNamed.h" 00013 00014 class TEBParameters : public TNamed { 00015 00016 protected: 00017 00018 void Init(); 00019 00020 public: 00021 00022 //....... ECAL parameters 00023 00024 Int_t fMaxSMInBarPlus; // Maximum number of SuperModules in the barrel+ 00025 Int_t fMaxSMInBarMinus; // Maximum number of SuperModules in the barrel- 00026 Int_t fMaxSMInBarrel; // Maximum number of SuperModules in the barrel 00027 00028 Int_t fMaxTowEtaInSM; // Maximum number of towers in eta in a SuperModule 00029 Int_t fMaxTowPhiInSM; // Maximum number of towers in phi in a SuperModule 00030 Int_t fMaxTowInSM; // Maximum number of towers in a SuperModule 00031 // ( = fMaxTowEtaInSM*fMaxTowPhiInSM ) 00032 00033 Int_t fMaxCrysEtaInTow; // Maximum number of crystals in eta in a tower 00034 Int_t fMaxCrysPhiInTow; // Maximum number of crystals in phi in a tower 00035 Int_t fMaxCrysInTow; // Maximum number of crystals in a tower 00036 // ( = fMaxCrysEtaInTow*fMaxCrysPhiInTow ) 00037 00038 Int_t fMaxCrysEtaInSM; // Maximum number of crystals in eta in a SuperModule 00039 // ( = fMaxTowEtaInSM*fMaxCrysEtaInTow ) 00040 00041 Int_t fMaxCrysPhiInSM; // Maximum number of crystals in phi in a SuperModule 00042 // ( = fMaxTowPhiInSM*fMaxCrysPhiInTow ) 00043 00044 Int_t fMaxCrysInSM; // Maximum number of crystals in a SuperModule 00045 // ( = fMaxTowInSM*fMaxCrysInTow ) 00046 00047 Int_t fMaxSampADC; // Maximum number of samples ADC 00048 00049 Int_t fMaxEvtsInBurstPedRun; // Maximum number of events per burst in Pedestal Runs 00050 00051 //------------------------------- methods 00052 00053 TEBParameters(); 00054 ~TEBParameters(); 00055 00056 Int_t MaxSMInBarPlus(); 00057 Int_t MaxSMInBarMinus(); 00058 Int_t MaxSMInBarrel(); 00059 00060 Int_t MaxTowEtaInSM(); 00061 Int_t MaxTowPhiInSM(); 00062 Int_t MaxTowInSM(); 00063 00064 Int_t MaxCrysEtaInTow(); 00065 Int_t MaxCrysPhiInTow(); 00066 Int_t MaxCrysInTow(); 00067 00068 Int_t MaxCrysEtaInSM(); 00069 Int_t MaxCrysPhiInSM(); 00070 Int_t MaxCrysInSM(); 00071 00072 Int_t MaxSampADC(); 00073 00074 ClassDef(TEBParameters,1) //Init of ECAL parameters 00075 }; 00076 #endif