CMS 3D CMS Logo

CMSSW_4_4_3_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:24/03/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   fMaxDSInEEPlus          = (Int_t)9;  // Maximum number of Data Sectors in EE+
00118   fMaxDSInEEMinus         = (Int_t)9;  // Maximum number of Data Sectors in EE-
00119 
00120   fNumberOfNotConnectedSCs = (Int_t)7; // Number of not connected SC's (178, 182, 207, 33, 29, etc... see EE mapping)
00121   fNumberOfNotCompleteSCs  = (Int_t)4; // Number of not complete  SC's (161, 216, 224, 12, 67, etc... see EE mapping)
00122 
00123   //.............. Derived parameters for the EE
00124   fMaxDeeInEE     = fMaxDeeInEEPlus + fMaxDeeInEEMinus; // Maximum number of Dees in EE
00125 
00126   fMaxSCIXInEE      = fMaxDeeIXInEE*fMaxSCIXInDee;        // Maximum number of SC's in IX in EE
00127   fMaxSCIYInEE      = fMaxDeeIYInEE*fMaxSCIYInDee;        // Maximum number of SC's in IY in EE
00128   fMaxSCEcnaInEE    = fMaxSCIXInEE*fMaxSCIYInEE;          // Maximum number of SC's in EE
00129   fMaxSCForConsInEE = fMaxDeeInEE*fMaxSCForConsInDee;     // Maximum number of SC's for construction in EE
00130 
00131   fMaxSCEcnaInDee   = fMaxSCIXInDee*fMaxSCIYInDee;        // Maximum number of super-crystals in the Dee matrix
00132 
00133   fMaxCrysIXInDee      = fMaxSCIXInDee*fMaxCrysIXInSC;    // Maximum number of crystals in IX in Dee
00134   fMaxCrysIYInDee      = fMaxSCIYInDee*fMaxCrysIYInSC;    // Maximum number of crystals in IY in Dee
00135 
00136   fMaxCrysInSC         = fMaxCrysIXInSC*fMaxCrysIYInSC;   // Max nb of crystals in a super-crystal 
00137   fMaxCrysEcnaInDee    = fMaxSCEcnaInDee*fMaxCrysInSC;    // Max nb of crystals in the Dee matrix
00138   fMaxCrysForConsInDee = fMaxSCForConsInDee*fMaxCrysInSC; // Max nb of crystals for construction in Dee
00139 
00140   fMaxDSInEE = fMaxDSInEEPlus + fMaxDSInEEMinus;          // Maximum number of Data Sectors in EE
00141 
00142   //.............................. Current subdetector (Stas) parameters set to zero
00143 
00144   fMaxSampADC           = 0;
00145 
00146   //  fMaxEvtsInBurstPedRun = 0;
00147 
00148   fMaxStexHocoInStas    = 0;
00149   fMaxStexVecoInStas    = 0;
00150 
00151   fMaxStexInStasPlus    = 0;
00152   fMaxStexInStasMinus   = 0;
00153   fMaxStexInStas        = 0;
00154 
00155   fMaxStinHocoInStas    = 0; 
00156   fMaxStinVecoInStas    = 0; 
00157   fMaxStinEcnaInStas    = 0; 
00158 
00159 
00160   fMaxStinHocoInStex    = 0;
00161   fMaxStinVecoInStex    = 0;
00162   fMaxStinEcnaInStex    = 0;
00163 
00164   fMaxCrysHocoInStin    = 0;
00165   fMaxCrysVecoInStin    = 0;
00166   fMaxCrysInStin        = 0;
00167 
00168   fMaxCrysHocoInStex    = 0;
00169   fMaxCrysVecoInStex    = 0;
00170   fMaxCrysEcnaInStex    = 0;
00171 
00172   //  fMaxStinForConsInStas = 0;
00173 
00174   fMaxStinInStex        = 0;
00175   fMaxCrysInStex        = 0;
00176 
00177   //.............................. Set codes for the Subdetector Flag
00178   fgMaxCar     = (Int_t)512;
00179 
00180   Int_t MaxCar = fgMaxCar;
00181   fCodeEB.Resize(MaxCar);
00182   fCodeEB = "EB";
00183  
00184   MaxCar = fgMaxCar;
00185   fCodeEE.Resize(MaxCar);
00186   fCodeEE = "EE";
00187 
00188   MaxCar = fgMaxCar;
00189   fFlagSubDet.Resize(MaxCar);
00190   fFlagSubDet = "No info";
00191 
00192 } // end of Init()
00193 
00194 void TEcnaParEcal::SetEcalSubDetector(const TString SubDet){
00195 //Set the current subdetector flag and the current subdetector "Stin-Stex-Stas" parameters according to fFlagSubDet
00196 
00197   if( SubDet != fCodeEB && SubDet != fCodeEE )
00198     {
00199       cout << "!TEcnaParEcal::SetEcalSubDetector(...)> " << SubDet
00200            << " : unknown subdetector code (requested: EB or EE)" << fTTBELL << endl;
00201     }
00202   else
00203     {
00204       Int_t MaxCar = fgMaxCar;
00205       fFlagSubDet.Resize(MaxCar);
00206       fFlagSubDet = SubDet.Data();   // Set the SubDetector flag
00207 
00208       if( fFlagSubDet != fCodeEB && fFlagSubDet != fCodeEE )
00209         {
00210           cout << "!TEcnaParEcal::SetEcalSubDetector(...)> fFlagSubDet = " << fFlagSubDet
00211                << " : CODE PROBLEM, subdetector flag not initialized." << fTTBELL << endl;
00212         }
00213 
00214       if(fFlagSubDet == fCodeEB)
00215         {
00216           fMaxSampADC           = fMaxSampADCEB;
00217           //fMaxEvtsInBurstPedRun = fMaxEvtsInBurstPedRunEB;
00218           
00219           fMaxStexHocoInStas    = fMaxSMEtaInEB;
00220           fMaxStexVecoInStas    = fMaxSMPhiInEB;
00221 
00222           fMaxStexInStasPlus    = fMaxSMInEBPlus;
00223           fMaxStexInStasMinus   = fMaxSMInEBMinus;
00224           fMaxStexInStas        = fMaxSMInEB;
00225           
00226           fMaxStinHocoInStas    = fMaxTowEtaInEB; 
00227           fMaxStinVecoInStas    = fMaxTowPhiInEB;
00228           fMaxStinEcnaInStas    = fMaxTowEtaInEB*fMaxTowPhiInEB;
00229 
00230           fMaxStinHocoInStex    = fMaxTowEtaInSM;
00231           fMaxStinVecoInStex    = fMaxTowPhiInSM;
00232           fMaxStinEcnaInStex    = fMaxTowInSM;
00233           
00234           fMaxCrysHocoInStin    = fMaxCrysEtaInTow;
00235           fMaxCrysVecoInStin    = fMaxCrysPhiInTow;
00236           fMaxCrysInStin        = fMaxCrysInTow;
00237           
00238           fMaxCrysHocoInStex    = fMaxCrysEtaInSM;
00239           fMaxCrysVecoInStex    = fMaxCrysPhiInSM;
00240           fMaxCrysEcnaInStex    = fMaxCrysInSM;
00241 
00242           fMaxStinInStex        = fMaxTowInSM;
00243           fMaxCrysInStex        = fMaxCrysInSM;
00244         }
00245 
00246       if(fFlagSubDet == fCodeEE)
00247         {
00248           fMaxSampADC           = fMaxSampADCEE;
00249           //fMaxEvtsInBurstPedRun = fMaxEvtsInBurstPedRunEE;
00250           
00251           fMaxStexHocoInStas    = fMaxDeeIXInEE;
00252           fMaxStexVecoInStas    = fMaxDeeIYInEE;
00253 
00254           fMaxStexInStasPlus    = fMaxDeeInEEPlus;
00255           fMaxStexInStasMinus   = fMaxDeeInEEMinus;
00256           fMaxStexInStas        = fMaxDeeInEE;
00257           
00258           fMaxStinHocoInStas    = fMaxSCIXInEE; 
00259           fMaxStinVecoInStas    = fMaxSCIYInEE;
00260           fMaxStinEcnaInStas    = fMaxSCIXInEE*fMaxSCIYInEE;
00261 
00262           fMaxStinHocoInStex    = fMaxSCIXInDee;
00263           fMaxStinVecoInStex    = fMaxSCIYInDee;
00264           fMaxStinEcnaInStex    = fMaxSCEcnaInDee;
00265           
00266           fMaxCrysHocoInStin    = fMaxCrysIXInSC;
00267           fMaxCrysVecoInStin    = fMaxCrysIYInSC;
00268           fMaxCrysInStin        = fMaxCrysInSC;
00269           
00270           fMaxCrysHocoInStex    = fMaxCrysIXInDee;
00271           fMaxCrysVecoInStex    = fMaxCrysIYInDee;
00272           fMaxCrysEcnaInStex    = fMaxCrysEcnaInDee;
00273 
00274           fMaxStinInStex        = fMaxSCForConsInDee;
00275           fMaxCrysInStex        = fMaxCrysForConsInDee;
00276         }
00277     }
00278 } // end of SetEcalSubDetector(const TString SubDet)
00279 //======================================================================================
00280 //
00281 //                 METHODS TO GET THE PARAMETERS
00282 //
00283 //======================================================================================
00284 //................................................................. SUBDETECTOR FLAG
00285 TString TEcnaParEcal::GetEcalSubDetector(){return fFlagSubDet;}
00286 //................................................................. BARREL
00287 //------------------------------------------- Max samp ADC
00288 Int_t TEcnaParEcal::MaxSampADCEB()   {return fMaxSampADCEB;} // maximum  number of samples ADC for EB
00289 //------------------------------------------- Max number of events in Ped runs (for each gain)
00290 //Int_t TEcnaParEcal::MaxEvtsInBurstPedRunEB(){return fMaxEvtsInBurstPedRunEB;}
00291 //------------------------------------------- Max SM in barrel
00292 Int_t TEcnaParEcal::MaxSMEtaInEB() {return fMaxSMEtaInEB;}  // maximum number of SMs in eta in EB
00293 Int_t TEcnaParEcal::MaxSMPhiInEB() {return fMaxSMPhiInEB;}  // maximum number of SMs in phi in EB
00294 
00295 Int_t TEcnaParEcal::MaxSMInEBPlus() {return fMaxSMInEBPlus;}  // maximum number of SMs in the EB+
00296 Int_t TEcnaParEcal::MaxSMInEBMinus(){return fMaxSMInEBMinus;} // maximum number of SMs in the EB-
00297 Int_t TEcnaParEcal::MaxSMInEB()     {return fMaxSMInEB;}      // maximum number of SMs in EB
00298 //------------------------------------------- Max tow in EB
00299 Int_t TEcnaParEcal::MaxTowEtaInEB(){return fMaxTowEtaInEB;}   // maximum number of towers in eta in EB
00300 Int_t TEcnaParEcal::MaxTowPhiInEB(){return fMaxTowPhiInEB;}   // maximum number of towers in phi in EB
00301 Int_t TEcnaParEcal::MaxTowInEB()   {return fMaxTowInEB;}      // maximum number of towers in EB
00302 //------------------------------------------- Max tow in SM
00303 Int_t TEcnaParEcal::MaxTowEtaInSM()  {return fMaxTowEtaInSM;}   // maximum number of towers in eta in SM
00304 Int_t TEcnaParEcal::MaxTowPhiInSM()  {return fMaxTowPhiInSM;}   // maximum number of towers in phi in SM
00305 Int_t TEcnaParEcal::MaxTowInSM()     {return fMaxTowInSM;}      // maximum number of towers in SM
00306 //------------------------------------------- Max Crys in tower
00307 Int_t TEcnaParEcal::MaxCrysEtaInTow(){return fMaxCrysEtaInTow;} // maximum  number of crystals in eta a tower
00308 Int_t TEcnaParEcal::MaxCrysPhiInTow(){return fMaxCrysPhiInTow;} // maximum  number of crystals in phi in a tower
00309 Int_t TEcnaParEcal::MaxCrysInTow()   {return fMaxCrysInTow;}    // maximum  number of crystals in a tower
00310 //------------------------------------------- Max crys in SM
00311 Int_t TEcnaParEcal::MaxCrysEtaInSM() {return fMaxCrysEtaInSM;}  // maximum  number of crystals in eta in SM
00312 Int_t TEcnaParEcal::MaxCrysPhiInSM() {return fMaxCrysPhiInSM;}  // maximum  number of crystals in phi in SM
00313 Int_t TEcnaParEcal::MaxCrysInSM()    {return fMaxCrysInSM;}     // maximum  number of crystals in SM
00314 
00315 //................................................................. ENDCAP
00316 //------------------------------------------- Max samp ADC
00317 Int_t TEcnaParEcal::MaxSampADCEE(){return fMaxSampADCEE;}   // maximum number of samples ADC for EE
00318 //------------------------------------------- Max number of events in Ped runs (for each gain)
00319 //Int_t TEcnaParEcal::MaxEvtsInBurstPedRunEE(){return fMaxEvtsInBurstPedRunEE;}
00320 //------------------------------------------- Max Dee in Endcap
00321 Int_t TEcnaParEcal::MaxDeeIXInEE() {return fMaxDeeIXInEE;}  // maximum number of dees in IX in EE
00322 Int_t TEcnaParEcal::MaxDeeIYInEE() {return fMaxDeeIYInEE;}  // maximum number of dees in IY in EE
00323 
00324 Int_t TEcnaParEcal::MaxDeeInEEPlus() {return fMaxDeeInEEPlus;}  // maximum number of dees in EE+
00325 Int_t TEcnaParEcal::MaxDeeInEEMinus(){return fMaxDeeInEEMinus;} // maximum number of dees in EE-
00326 Int_t TEcnaParEcal::MaxDeeInEE()     {return fMaxDeeInEE;}      // maximum number of dees in EE
00327 //------------------------------------------- Max SC in EE
00328 Int_t TEcnaParEcal::MaxSCIXInEE()     {return fMaxSCIXInEE;}      // max nb of SC's in IX in EE
00329 Int_t TEcnaParEcal::MaxSCIYInEE()     {return fMaxSCIYInEE;}      // max nb of SC's in IY in EE
00330 Int_t TEcnaParEcal::MaxSCEcnaInEE()   {return fMaxSCEcnaInEE;}    // max nb of SC's in the EE matrix (default for MaxSCInEE())
00331 Int_t TEcnaParEcal::MaxSCInEE()       {return fMaxSCEcnaInEE;}    // max nb of SC's in the EE matrix
00332 Int_t TEcnaParEcal::MaxSCForConsInEE(){return fMaxSCForConsInEE;} // max nb of SC's for construction EE
00333 //------------------------------------------- Max SC in Dee
00334 Int_t TEcnaParEcal::MaxSCIXInDee()     {return fMaxSCIXInDee;}       // max nb of SCs in IX in Dee
00335 Int_t TEcnaParEcal::MaxSCIYInDee()     {return fMaxSCIYInDee;}       // max nb of SCs in IY in Dee
00336 Int_t TEcnaParEcal::MaxSCEcnaInDee()   {return fMaxSCEcnaInDee;}     // max nb of SCs in Dee matrix (default for MaxSCInDee())
00337 Int_t TEcnaParEcal::MaxSCInDee()       {return fMaxSCEcnaInDee;}     // max nb of SCs in the Dee matrix
00338 Int_t TEcnaParEcal::MaxSCForConsInDee(){return fMaxSCForConsInDee;}  // max nb of crystals for construction in Dee
00339 //------------------------------------------- Max Crys in SC
00340 Int_t TEcnaParEcal::MaxCrysIXInSC(){return fMaxCrysIXInSC;}   // maximum number of crystals in IX in a SC
00341 Int_t TEcnaParEcal::MaxCrysIYInSC(){return fMaxCrysIYInSC;}   // maximum number of crystals in IY in a SC
00342 Int_t TEcnaParEcal::MaxCrysInSC()  {return fMaxCrysInSC;}     // maximum number of crystals in a SC
00343 //------------------------------------------- Max crys in Dee
00344 Int_t TEcnaParEcal::MaxCrysIXInDee()     {return fMaxCrysIXInDee;}  // max nb of crystals in IX in Dee
00345 Int_t TEcnaParEcal::MaxCrysIYInDee()     {return fMaxCrysIYInDee;}  // max nb of crystals in IY in Dee
00346 Int_t TEcnaParEcal::MaxCrysEcnaInDee()   {return fMaxCrysEcnaInDee;}// max nb of crystals in Dee matrix(default for MaxCrysInDee())
00347 Int_t TEcnaParEcal::MaxCrysInDee()       {return fMaxCrysEcnaInDee;}// max nb of crystals in Dee matrix
00348 Int_t TEcnaParEcal::MaxCrysForConsInDee(){return fMaxCrysForConsInDee;} // max nb of crystals for construction in Dee
00349 //------------------------------------------- Max DS in EE
00350 Int_t TEcnaParEcal::MaxDSInEE(){return fMaxDSInEE;}
00351 //------------------------------------------- Not connected and not complete SCs
00352 Int_t TEcnaParEcal::NumberOfNotConnectedSCs(){return fNumberOfNotConnectedSCs;}
00353 Int_t TEcnaParEcal::NumberOfNotCompleteSCs() {return fNumberOfNotCompleteSCs;}
00354  
00355 //................................................................. Stas (current Subdetector)
00356 //------------------------------------------- Max samp ADC
00357 Int_t TEcnaParEcal::MaxSampADC()          {return fMaxSampADC;}          // max number of samples ADC
00358 //------------------------------------------- Max number of events in Ped runs (for each gain)
00359 //Int_t TEcnaParEcal::MaxEvtsInBurstPedRun(){return fMaxEvtsInBurstPedRun;}
00360 //------------------------------------------- Max Stex in Stas
00361 Int_t TEcnaParEcal::MaxStexHocoInStas()  {return fMaxStexHocoInStas;}   // max number of Stexs in Hoco in Stas+
00362 Int_t TEcnaParEcal::MaxStexVecoInStas()  {return fMaxStexVecoInStas;}   // max number of Stexs in Veco in Stas+
00363 
00364 Int_t TEcnaParEcal::MaxStexInStasPlus()  {return fMaxStexInStasPlus;}   // max number of Stexs in Stas+
00365 Int_t TEcnaParEcal::MaxStexInStasMinus() {return fMaxStexInStasMinus;}  // max number of Stexs in Stas-
00366 Int_t TEcnaParEcal::MaxStexInStas()      {return fMaxStexInStas;}       // max number of Stexs in Stas
00367 //------------------------------------------- Max Stin in Stas
00368 Int_t TEcnaParEcal::MaxStinHocoInStas()   {return fMaxStinHocoInStas;}    // maximum number of Stin's in Hoco in Stas
00369 Int_t TEcnaParEcal::MaxStinVecoInStas()   {return fMaxStinVecoInStas;}    // maximum number of Stin's in Veco in Stas
00370 Int_t TEcnaParEcal::MaxStinEcnaInStas()   {return fMaxStinEcnaInStas;}    // maximum number of Stin's (ECNA) in Stas
00371 //------------------------------------------- Max Stin in Stex
00372 Int_t TEcnaParEcal::MaxStinHocoInStex(){return fMaxStinHocoInStex;} // max number of Stins in Hoco in a Stex
00373 Int_t TEcnaParEcal::MaxStinVecoInStex(){return fMaxStinVecoInStex;} // max number of Stins in Veco in a Stex
00374 Int_t TEcnaParEcal::MaxStinEcnaInStex(){return fMaxStinEcnaInStex;} // max number of Stins in "ECNA matrix" Stex
00375 Int_t TEcnaParEcal::MaxStinInStex()    {return fMaxStinInStex;}     // max number of Stins in Stex
00376 
00377 //------------------------------------------- Max Crys in Stin
00378 Int_t TEcnaParEcal::MaxCrysHocoInStin(){return fMaxCrysHocoInStin;} // max number of crystals in Hoco in a Stin
00379 Int_t TEcnaParEcal::MaxCrysVecoInStin(){return fMaxCrysVecoInStin;} // max number of crystals in Veco in a Stin
00380 Int_t TEcnaParEcal::MaxCrysInStin()    {return fMaxCrysInStin;}     // max number of crystals in a Stin
00381 //------------------------------------------- Max crys in Stex
00382 Int_t TEcnaParEcal::MaxCrysHocoInStex(){return fMaxCrysHocoInStex;} // max number of crystals in Hoco in a Stex
00383 Int_t TEcnaParEcal::MaxCrysVecoInStex(){return fMaxCrysVecoInStex;} // max number of crystals in Veco in a Stex
00384 Int_t TEcnaParEcal::MaxCrysEcnaInStex(){return fMaxCrysEcnaInStex;} // max number of crystals in "ECNA matrix" Stex
00385 Int_t TEcnaParEcal::MaxCrysInStex()    {return fMaxCrysInStex;}     // max number of crystals in Stex
00386