CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/src/TEcnaParEcal.cc

Go to the documentation of this file.
00001 //----------Author's Name:FX Gentit and B.Fabbro  DSM/IRFU/SPP CEA-Saclay
00002 //----------Copyright:Those valid for CEA software
00003 //----------Modified:06/04/2011
00004 
00005 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParEcal.h"
00006 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaNumbering.h"
00007 
00008 //--------------------------------------
00009 //  TEcnaParEcal.cc
00010 //  Class creation: 06 October 2005
00011 //  Documentation: see TEcnaParEcal.h
00012 //--------------------------------------
00013 
00014 ClassImp(TEcnaParEcal)
00015 //____________________________________________________________________________
00016 
00017 TEcnaParEcal::TEcnaParEcal(){
00018 // Constructor without argument. Call to Init()
00019 
00020  // cout << "[Info Management] CLASS: TEcnaParEcal.   CREATE OBJECT: this = " << this << endl;
00021 
00022   Init();
00023 }
00024 
00025 TEcnaParEcal::TEcnaParEcal(TEcnaObject* pObjectManager, const TString SubDet){
00026 // Constructor with argument. Call to Init() and set the subdetector flag
00027 
00028   //cout << "[Info Management] CLASS: TEcnaParEcal.   CREATE OBJECT: this = " << this << endl;
00029 
00030   Init();
00031   Long_t i_this = (Long_t)this;
00032   pObjectManager->RegisterPointer("TEcnaParEcal", i_this);
00033 
00034   SetEcalSubDetector(SubDet.Data());
00035 }
00036 
00037 TEcnaParEcal::TEcnaParEcal(const TString SubDet){
00038 // Constructor with argument. Call to Init() and set the subdetector flag
00039 
00040   //cout << "[Info Management] CLASS: TEcnaParEcal.   CREATE OBJECT: this = " << this << endl;
00041 
00042   Init();
00043   SetEcalSubDetector(SubDet.Data());
00044 }
00045 
00046 
00047 TEcnaParEcal::~TEcnaParEcal() {
00048 //destructor
00049 
00050   //cout << "[Info Management] CLASS: TEcnaParEcal.   DESTROY OBJECT: this = " << this << endl;
00051 }
00052 
00053 void TEcnaParEcal::Init()
00054 {
00055 //Set values of Ecal parameters
00056 
00057   //--------------------------------- INIT parameters
00058 
00059   fTTBELL = '\007';
00060 
00061   fCnew       = 0;
00062   fCdelete    = 0;
00063 
00064   //....................... CMS/ECAL parameters
00065 
00066   //.............. Basic parameters for EB
00067 
00068   fMaxSampADCEB           = (Int_t)10;  // Maximum number of samples ADC
00069 
00070   //  fMaxEvtsInBurstPedRunEB = (Int_t)150; // Maximum number of events per burst in Pedestal Runs
00071 
00072   fMaxSMEtaInEB           = (Int_t)2;   // Maximum number of SuperModules in eta in the EB
00073   fMaxSMPhiInEB           = (Int_t)18;  // Maximum number of SuperModules in phi in the EB
00074 
00075   fMaxSMInEBPlus          = (Int_t)18;  // Maximum number of SuperModules in the EB+
00076   fMaxSMInEBMinus         = (Int_t)18;  // Maximum number of SuperModules in the EB- 
00077 
00078   fMaxTowEtaInSM          = (Int_t)17;  // Maximum number of towers in eta in a SuperModule
00079   fMaxTowPhiInSM          = (Int_t)4;   // Maximum number of towers in phi in a SuperModule
00080 
00081   fMaxCrysEtaInTow        = (Int_t)5;   // Maximum number of crystals in eta in a tower
00082   fMaxCrysPhiInTow        = (Int_t)5;   // Maximum number of crystals in phi in a tower
00083 
00084   //.............. Derived parameters for EB
00085 
00086   fMaxTowEtaInEB = fMaxSMEtaInEB*fMaxTowEtaInSM;      // Maximum number of towers in eta in EB
00087   fMaxTowPhiInEB = fMaxSMPhiInEB*fMaxTowPhiInSM;      // Maximum number of towers in phi in EB
00088   fMaxTowInEB    = fMaxTowEtaInEB*fMaxTowPhiInEB;     // Maximum number of towers in EB
00089 
00090   fMaxSMInEB      = fMaxSMInEBPlus + fMaxSMInEBMinus;         // Maximum number of SuperModules in the Ecal
00091   fMaxTowInSM     = (Int_t)(fMaxTowEtaInSM*fMaxTowPhiInSM);     // Maximum number of towers in a SuperModule
00092   fMaxCrysInTow   = (Int_t)(fMaxCrysEtaInTow*fMaxCrysPhiInTow); // Maximum number of crystals in a tower 
00093 
00094   fMaxCrysEtaInSM = (Int_t)(fMaxTowEtaInSM*fMaxCrysEtaInTow);   // Maximum number of crystals in eta in a SuperModule
00095   fMaxCrysPhiInSM = (Int_t)(fMaxTowPhiInSM*fMaxCrysPhiInTow);   // Maximum number of crystals in phi in a SuperModule
00096   fMaxCrysInSM    = (Int_t)(fMaxTowInSM*fMaxCrysInTow);         // Maximum number of crystals in a SuperModule
00097 
00098   //.............. Basic parameters for the EE
00099 
00100   fMaxSampADCEE           = (Int_t)10;  // Maximum number of samples ADC
00101 
00102   //  fMaxEvtsInBurstPedRunEE = (Int_t)150;  // Maximum number of events per burst in Pedestal Runs
00103 
00104   fMaxDeeIXInEE           = (Int_t)4;   // Maximum number of Dees in IX in EE
00105   fMaxDeeIYInEE           = (Int_t)1;   // Maximum number of Dees in IY in EE
00106 
00107   fMaxDeeInEEPlus         = (Int_t)2;   // Maximum number of Dees in EE+
00108   fMaxDeeInEEMinus        = (Int_t)2;   // Maximum number of Dees in EE-
00109 
00110   fMaxSCIXInDee           = (Int_t)10;  // Maximum number of super-crystals in IX in Dee
00111   fMaxSCIYInDee           = (Int_t)20;  // Maximum number of super-crystals in IY in Dee
00112   fMaxSCForConsInDee      = (Int_t)149; // Maximum number of super-crystals for construction in Dee
00113 
00114   fMaxCrysIXInSC          = (Int_t)5;   // Maximum number of crystals in IX in a super-crystal
00115   fMaxCrysIYInSC          = (Int_t)5;   // Maximum number of crystals in IY in a super-crystal
00116 
00117   fEmptyChannelsForIncompleteSCInDee = (Int_t)63; // Total number of empty channels for the incomplete SCs
00118 
00119   fMaxDSInEEPlus          = (Int_t)9;  // Maximum number of Data Sectors in EE+
00120   fMaxDSInEEMinus         = (Int_t)9;  // Maximum number of Data Sectors in EE-
00121 
00122   fNumberOfNotConnectedSCs = (Int_t)7; // Number of not connected SC's (178, 182, 207, 33, 29, etc... see EE mapping)
00123   fNumberOfNotCompleteSCs  = (Int_t)4; // Number of not complete  SC's (161, 216, 224, 12, 67, etc... see EE mapping)
00124 
00125   //.............. Derived parameters for the EE
00126   fMaxDeeInEE     = fMaxDeeInEEPlus + fMaxDeeInEEMinus; // Maximum number of Dees in EE
00127 
00128   fMaxSCIXInEE      = fMaxDeeIXInEE*fMaxSCIXInDee;        // Maximum number of SC's in IX in EE
00129   fMaxSCIYInEE      = fMaxDeeIYInEE*fMaxSCIYInDee;        // Maximum number of SC's in IY in EE
00130   fMaxSCEcnaInEE    = fMaxSCIXInEE*fMaxSCIYInEE;          // Maximum number of SC's in EE
00131   fMaxSCForConsInEE = fMaxDeeInEE*fMaxSCForConsInDee;     // Maximum number of SC's for construction in EE
00132 
00133   fMaxSCEcnaInDee   = fMaxSCIXInDee*fMaxSCIYInDee;        // Maximum number of super-crystals in the Dee matrix
00134 
00135   fMaxCrysIXInDee      = fMaxSCIXInDee*fMaxCrysIXInSC;    // Maximum number of crystals in IX in Dee
00136   fMaxCrysIYInDee      = fMaxSCIYInDee*fMaxCrysIYInSC;    // Maximum number of crystals in IY in Dee
00137 
00138   fMaxCrysInSC         = fMaxCrysIXInSC*fMaxCrysIYInSC;   // Max nb of crystals in a super-crystal 
00139   fMaxCrysEcnaInDee    = fMaxSCEcnaInDee*fMaxCrysInSC;    // Max nb of crystals in the Dee matrix
00140   fMaxCrysForConsInDee = fMaxSCForConsInDee*fMaxCrysInSC; // Max nb of crystals for construction in Dee
00141 
00142   fEmptyChannelsInDeeMatrixIncompleteSCIncluded =
00143     fMaxCrysEcnaInDee - fMaxCrysForConsInDee + fEmptyChannelsForIncompleteSCInDee; // (5000 - 3725 + 63 = 1338)
00144 
00145   fMaxDSInEE = fMaxDSInEEPlus + fMaxDSInEEMinus;          // Maximum number of Data Sectors in EE
00146 
00147   //.............................. Current subdetector (Stas) parameters set to zero
00148 
00149   fMaxSampADC           = 0;
00150 
00151   //  fMaxEvtsInBurstPedRun = 0;
00152 
00153   fMaxStexHocoInStas    = 0;
00154   fMaxStexVecoInStas    = 0;
00155 
00156   fMaxStexInStasPlus    = 0;
00157   fMaxStexInStasMinus   = 0;
00158   fMaxStexInStas        = 0;
00159 
00160   fMaxStinHocoInStas    = 0; 
00161   fMaxStinVecoInStas    = 0; 
00162   fMaxStinEcnaInStas    = 0; 
00163 
00164 
00165   fMaxStinHocoInStex    = 0;
00166   fMaxStinVecoInStex    = 0;
00167   fMaxStinEcnaInStex    = 0;
00168 
00169   fMaxCrysHocoInStin    = 0;
00170   fMaxCrysVecoInStin    = 0;
00171   fMaxCrysInStin        = 0;
00172 
00173   fMaxCrysHocoInStex    = 0;
00174   fMaxCrysVecoInStex    = 0;
00175   fMaxCrysEcnaInStex    = 0;
00176 
00177   //  fMaxStinForConsInStas = 0;
00178 
00179   fMaxStinInStex        = 0;
00180   fMaxCrysInStex        = 0;
00181 
00182   //.............................. Set codes for the Subdetector Flag
00183   fgMaxCar     = (Int_t)512;
00184 
00185   Int_t MaxCar = fgMaxCar;
00186   fCodeEB.Resize(MaxCar);
00187   fCodeEB = "EB";
00188  
00189   MaxCar = fgMaxCar;
00190   fCodeEE.Resize(MaxCar);
00191   fCodeEE = "EE";
00192 
00193   MaxCar = fgMaxCar;
00194   fFlagSubDet.Resize(MaxCar);
00195   fFlagSubDet = "No info";
00196 
00197 } // end of Init()
00198 
00199 void TEcnaParEcal::SetEcalSubDetector(const TString SubDet){
00200 //Set the current subdetector flag and the current subdetector "Stin-Stex-Stas" parameters according to fFlagSubDet
00201 
00202   if( SubDet != fCodeEB && SubDet != fCodeEE )
00203     {
00204       cout << "!TEcnaParEcal::SetEcalSubDetector(...)> " << SubDet
00205            << " : unknown subdetector code (requested: EB or EE)" << fTTBELL << endl;
00206     }
00207   else
00208     {
00209       Int_t MaxCar = fgMaxCar;
00210       fFlagSubDet.Resize(MaxCar);
00211       fFlagSubDet = SubDet.Data();   // Set the SubDetector flag
00212 
00213       if( fFlagSubDet != fCodeEB && fFlagSubDet != fCodeEE )
00214         {
00215           cout << "!TEcnaParEcal::SetEcalSubDetector(...)> fFlagSubDet = " << fFlagSubDet
00216                << " : CODE PROBLEM, subdetector flag not initialized." << fTTBELL << endl;
00217         }
00218 
00219       if(fFlagSubDet == fCodeEB)
00220         {
00221           fMaxSampADC           = fMaxSampADCEB;
00222           //fMaxEvtsInBurstPedRun = fMaxEvtsInBurstPedRunEB;
00223           
00224           fMaxStexHocoInStas    = fMaxSMEtaInEB;
00225           fMaxStexVecoInStas    = fMaxSMPhiInEB;
00226 
00227           fMaxStexInStasPlus    = fMaxSMInEBPlus;
00228           fMaxStexInStasMinus   = fMaxSMInEBMinus;
00229           fMaxStexInStas        = fMaxSMInEB;
00230           
00231           fMaxStinHocoInStas    = fMaxTowEtaInEB; 
00232           fMaxStinVecoInStas    = fMaxTowPhiInEB;
00233           fMaxStinEcnaInStas    = fMaxTowEtaInEB*fMaxTowPhiInEB;
00234 
00235           fMaxStinHocoInStex    = fMaxTowEtaInSM;
00236           fMaxStinVecoInStex    = fMaxTowPhiInSM;
00237           fMaxStinEcnaInStex    = fMaxTowInSM;
00238           
00239           fMaxCrysHocoInStin    = fMaxCrysEtaInTow;
00240           fMaxCrysVecoInStin    = fMaxCrysPhiInTow;
00241           fMaxCrysInStin        = fMaxCrysInTow;
00242           
00243           fMaxCrysHocoInStex    = fMaxCrysEtaInSM;
00244           fMaxCrysVecoInStex    = fMaxCrysPhiInSM;
00245           fMaxCrysEcnaInStex    = fMaxCrysInSM;
00246 
00247           fMaxStinInStex        = fMaxTowInSM;
00248           fMaxCrysInStex        = fMaxCrysInSM;
00249         }
00250 
00251       if(fFlagSubDet == fCodeEE)
00252         {
00253           fMaxSampADC           = fMaxSampADCEE;
00254           //fMaxEvtsInBurstPedRun = fMaxEvtsInBurstPedRunEE;
00255           
00256           fMaxStexHocoInStas    = fMaxDeeIXInEE;
00257           fMaxStexVecoInStas    = fMaxDeeIYInEE;
00258 
00259           fMaxStexInStasPlus    = fMaxDeeInEEPlus;
00260           fMaxStexInStasMinus   = fMaxDeeInEEMinus;
00261           fMaxStexInStas        = fMaxDeeInEE;
00262           
00263           fMaxStinHocoInStas    = fMaxSCIXInEE; 
00264           fMaxStinVecoInStas    = fMaxSCIYInEE;
00265           fMaxStinEcnaInStas    = fMaxSCIXInEE*fMaxSCIYInEE;
00266 
00267           fMaxStinHocoInStex    = fMaxSCIXInDee;
00268           fMaxStinVecoInStex    = fMaxSCIYInDee;
00269           fMaxStinEcnaInStex    = fMaxSCEcnaInDee;
00270           
00271           fMaxCrysHocoInStin    = fMaxCrysIXInSC;
00272           fMaxCrysVecoInStin    = fMaxCrysIYInSC;
00273           fMaxCrysInStin        = fMaxCrysInSC;
00274           
00275           fMaxCrysHocoInStex    = fMaxCrysIXInDee;
00276           fMaxCrysVecoInStex    = fMaxCrysIYInDee;
00277           fMaxCrysEcnaInStex    = fMaxCrysEcnaInDee;
00278 
00279           fMaxStinInStex        = fMaxSCForConsInDee;
00280           fMaxCrysInStex        = fMaxCrysForConsInDee;
00281         }
00282     }
00283 } // end of SetEcalSubDetector(const TString SubDet)
00284 //======================================================================================
00285 //
00286 //                 METHODS TO GET THE PARAMETERS
00287 //
00288 //======================================================================================
00289 //................................................................. SUBDETECTOR FLAG
00290 TString TEcnaParEcal::GetEcalSubDetector(){return fFlagSubDet;}
00291 //................................................................. BARREL
00292 //------------------------------------------- Max samp ADC
00293 Int_t TEcnaParEcal::MaxSampADCEB()   {return fMaxSampADCEB;} // maximum  number of samples ADC for EB
00294 //------------------------------------------- Max number of events in Ped runs (for each gain)
00295 //Int_t TEcnaParEcal::MaxEvtsInBurstPedRunEB(){return fMaxEvtsInBurstPedRunEB;}
00296 //------------------------------------------- Max SM in barrel
00297 Int_t TEcnaParEcal::MaxSMEtaInEB() {return fMaxSMEtaInEB;}  // maximum number of SMs in eta in EB
00298 Int_t TEcnaParEcal::MaxSMPhiInEB() {return fMaxSMPhiInEB;}  // maximum number of SMs in phi in EB
00299 
00300 Int_t TEcnaParEcal::MaxSMInEBPlus() {return fMaxSMInEBPlus;}  // maximum number of SMs in the EB+
00301 Int_t TEcnaParEcal::MaxSMInEBMinus(){return fMaxSMInEBMinus;} // maximum number of SMs in the EB-
00302 Int_t TEcnaParEcal::MaxSMInEB()     {return fMaxSMInEB;}      // maximum number of SMs in EB
00303 //------------------------------------------- Max tow in EB
00304 Int_t TEcnaParEcal::MaxTowEtaInEB(){return fMaxTowEtaInEB;}   // maximum number of towers in eta in EB
00305 Int_t TEcnaParEcal::MaxTowPhiInEB(){return fMaxTowPhiInEB;}   // maximum number of towers in phi in EB
00306 Int_t TEcnaParEcal::MaxTowInEB()   {return fMaxTowInEB;}      // maximum number of towers in EB
00307 //------------------------------------------- Max tow in SM
00308 Int_t TEcnaParEcal::MaxTowEtaInSM()  {return fMaxTowEtaInSM;}   // maximum number of towers in eta in SM
00309 Int_t TEcnaParEcal::MaxTowPhiInSM()  {return fMaxTowPhiInSM;}   // maximum number of towers in phi in SM
00310 Int_t TEcnaParEcal::MaxTowInSM()     {return fMaxTowInSM;}      // maximum number of towers in SM
00311 //------------------------------------------- Max Crys in tower
00312 Int_t TEcnaParEcal::MaxCrysEtaInTow(){return fMaxCrysEtaInTow;} // maximum  number of crystals in eta a tower
00313 Int_t TEcnaParEcal::MaxCrysPhiInTow(){return fMaxCrysPhiInTow;} // maximum  number of crystals in phi in a tower
00314 Int_t TEcnaParEcal::MaxCrysInTow()   {return fMaxCrysInTow;}    // maximum  number of crystals in a tower
00315 //------------------------------------------- Max crys in SM
00316 Int_t TEcnaParEcal::MaxCrysEtaInSM() {return fMaxCrysEtaInSM;}  // maximum  number of crystals in eta in SM
00317 Int_t TEcnaParEcal::MaxCrysPhiInSM() {return fMaxCrysPhiInSM;}  // maximum  number of crystals in phi in SM
00318 Int_t TEcnaParEcal::MaxCrysInSM()    {return fMaxCrysInSM;}     // maximum  number of crystals in SM
00319 
00320 //................................................................. ENDCAP
00321 //------------------------------------------- Max samp ADC
00322 Int_t TEcnaParEcal::MaxSampADCEE(){return fMaxSampADCEE;}   // maximum number of samples ADC for EE
00323 //------------------------------------------- Max number of events in Ped runs (for each gain)
00324 //Int_t TEcnaParEcal::MaxEvtsInBurstPedRunEE(){return fMaxEvtsInBurstPedRunEE;}
00325 //------------------------------------------- Max Dee in Endcap
00326 Int_t TEcnaParEcal::MaxDeeIXInEE() {return fMaxDeeIXInEE;}  // maximum number of dees in IX in EE
00327 Int_t TEcnaParEcal::MaxDeeIYInEE() {return fMaxDeeIYInEE;}  // maximum number of dees in IY in EE
00328 
00329 Int_t TEcnaParEcal::MaxDeeInEEPlus() {return fMaxDeeInEEPlus;}  // maximum number of dees in EE+
00330 Int_t TEcnaParEcal::MaxDeeInEEMinus(){return fMaxDeeInEEMinus;} // maximum number of dees in EE-
00331 Int_t TEcnaParEcal::MaxDeeInEE()     {return fMaxDeeInEE;}      // maximum number of dees in EE
00332 //------------------------------------------- Max SC in EE
00333 Int_t TEcnaParEcal::MaxSCIXInEE()     {return fMaxSCIXInEE;}      // max nb of SC's in IX in EE
00334 Int_t TEcnaParEcal::MaxSCIYInEE()     {return fMaxSCIYInEE;}      // max nb of SC's in IY in EE
00335 Int_t TEcnaParEcal::MaxSCEcnaInEE()   {return fMaxSCEcnaInEE;}    // max nb of SC's in the EE matrix (default for MaxSCInEE())
00336 Int_t TEcnaParEcal::MaxSCInEE()       {return fMaxSCEcnaInEE;}    // max nb of SC's in the EE matrix
00337 Int_t TEcnaParEcal::MaxSCForConsInEE(){return fMaxSCForConsInEE;} // max nb of SC's for construction EE
00338 //------------------------------------------- Max SC in Dee
00339 Int_t TEcnaParEcal::MaxSCIXInDee()     {return fMaxSCIXInDee;}       // max nb of SCs in IX in Dee
00340 Int_t TEcnaParEcal::MaxSCIYInDee()     {return fMaxSCIYInDee;}       // max nb of SCs in IY in Dee
00341 Int_t TEcnaParEcal::MaxSCEcnaInDee()   {return fMaxSCEcnaInDee;}     // max nb of SCs in Dee matrix (default for MaxSCInDee())
00342 Int_t TEcnaParEcal::MaxSCInDee()       {return fMaxSCEcnaInDee;}     // max nb of SCs in the Dee matrix
00343 Int_t TEcnaParEcal::MaxSCForConsInDee(){return fMaxSCForConsInDee;}  // max nb of crystals for construction in Dee
00344 //------------------------------------------- Max Crys in SC
00345 Int_t TEcnaParEcal::MaxCrysIXInSC(){return fMaxCrysIXInSC;}   // maximum number of crystals in IX in a SC
00346 Int_t TEcnaParEcal::MaxCrysIYInSC(){return fMaxCrysIYInSC;}   // maximum number of crystals in IY in a SC
00347 Int_t TEcnaParEcal::MaxCrysInSC()  {return fMaxCrysInSC;}     // maximum number of crystals in a SC
00348 //------------------------------------------- Max crys in Dee
00349 Int_t TEcnaParEcal::MaxCrysIXInDee()     {return fMaxCrysIXInDee;}  // max nb of crystals in IX in Dee
00350 Int_t TEcnaParEcal::MaxCrysIYInDee()     {return fMaxCrysIYInDee;}  // max nb of crystals in IY in Dee
00351 Int_t TEcnaParEcal::MaxCrysEcnaInDee()   {return fMaxCrysEcnaInDee;}// max nb of crystals in Dee matrix(default for MaxCrysInDee())
00352 Int_t TEcnaParEcal::MaxCrysInDee()       {return fMaxCrysEcnaInDee;}// max nb of crystals in Dee matrix
00353 Int_t TEcnaParEcal::MaxCrysForConsInDee(){return fMaxCrysForConsInDee;} // max nb of crystals for construction in Dee
00354 Int_t TEcnaParEcal::EmptyChannelsInDeeMatrixIncompleteSCIncluded(){return fEmptyChannelsInDeeMatrixIncompleteSCIncluded;}
00355 //------------------------------------------- Max DS in EE
00356 Int_t TEcnaParEcal::MaxDSInEE(){return fMaxDSInEE;}
00357 //------------------------------------------- Not connected and not complete SCs
00358 Int_t TEcnaParEcal::NumberOfNotConnectedSCs(){return fNumberOfNotConnectedSCs;}
00359 Int_t TEcnaParEcal::NumberOfNotCompleteSCs() {return fNumberOfNotCompleteSCs;}
00360  
00361 //................................................................. Stas (current Subdetector)
00362 //------------------------------------------- Max samp ADC
00363 Int_t TEcnaParEcal::MaxSampADC()          {return fMaxSampADC;}          // max number of samples ADC
00364 //------------------------------------------- Max number of events in Ped runs (for each gain)
00365 //Int_t TEcnaParEcal::MaxEvtsInBurstPedRun(){return fMaxEvtsInBurstPedRun;}
00366 //------------------------------------------- Max Stex in Stas
00367 Int_t TEcnaParEcal::MaxStexHocoInStas()  {return fMaxStexHocoInStas;}   // max number of Stexs in Hoco in Stas+
00368 Int_t TEcnaParEcal::MaxStexVecoInStas()  {return fMaxStexVecoInStas;}   // max number of Stexs in Veco in Stas+
00369 
00370 Int_t TEcnaParEcal::MaxStexInStasPlus()  {return fMaxStexInStasPlus;}   // max number of Stexs in Stas+
00371 Int_t TEcnaParEcal::MaxStexInStasMinus() {return fMaxStexInStasMinus;}  // max number of Stexs in Stas-
00372 Int_t TEcnaParEcal::MaxStexInStas()      {return fMaxStexInStas;}       // max number of Stexs in Stas
00373 //------------------------------------------- Max Stin in Stas
00374 Int_t TEcnaParEcal::MaxStinHocoInStas()   {return fMaxStinHocoInStas;}    // maximum number of Stin's in Hoco in Stas
00375 Int_t TEcnaParEcal::MaxStinVecoInStas()   {return fMaxStinVecoInStas;}    // maximum number of Stin's in Veco in Stas
00376 Int_t TEcnaParEcal::MaxStinEcnaInStas()   {return fMaxStinEcnaInStas;}    // maximum number of Stin's (ECNA) in Stas
00377 //------------------------------------------- Max Stin in Stex
00378 Int_t TEcnaParEcal::MaxStinHocoInStex(){return fMaxStinHocoInStex;} // max number of Stins in Hoco in a Stex
00379 Int_t TEcnaParEcal::MaxStinVecoInStex(){return fMaxStinVecoInStex;} // max number of Stins in Veco in a Stex
00380 Int_t TEcnaParEcal::MaxStinEcnaInStex(){return fMaxStinEcnaInStex;} // max number of Stins in "ECNA matrix" Stex
00381 Int_t TEcnaParEcal::MaxStinInStex()    {return fMaxStinInStex;}     // max number of Stins in Stex
00382 
00383 //------------------------------------------- Max Crys in Stin
00384 Int_t TEcnaParEcal::MaxCrysHocoInStin(){return fMaxCrysHocoInStin;} // max number of crystals in Hoco in a Stin
00385 Int_t TEcnaParEcal::MaxCrysVecoInStin(){return fMaxCrysVecoInStin;} // max number of crystals in Veco in a Stin
00386 Int_t TEcnaParEcal::MaxCrysInStin()    {return fMaxCrysInStin;}     // max number of crystals in a Stin
00387 //------------------------------------------- Max crys in Stex
00388 Int_t TEcnaParEcal::MaxCrysHocoInStex(){return fMaxCrysHocoInStex;} // max number of crystals in Hoco in a Stex
00389 Int_t TEcnaParEcal::MaxCrysVecoInStex(){return fMaxCrysVecoInStex;} // max number of crystals in Veco in a Stex
00390 Int_t TEcnaParEcal::MaxCrysEcnaInStex(){return fMaxCrysEcnaInStex;} // max number of crystals in "ECNA matrix" Stex
00391 Int_t TEcnaParEcal::MaxCrysInStex()    {return fMaxCrysInStex;}     // max number of crystals in Stex
00392