Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:43

0001 //----------Author's Name:FX Gentit and B.Fabbro  DSM/IRFU/SPP CEA-Saclay

0002 //----------Copyright:Those valid for CEA software

0003 //----------Modified:06/04/2011

0004 
0005 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParEcal.h"
0006 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaNumbering.h"
0007 
0008 //--------------------------------------

0009 //  TEcnaParEcal.cc

0010 //  Class creation: 06 October 2005

0011 //  Documentation: see TEcnaParEcal.h

0012 //--------------------------------------

0013 
0014 ClassImp(TEcnaParEcal);
0015 //____________________________________________________________________________

0016 
0017 TEcnaParEcal::TEcnaParEcal() {
0018   // Constructor without argument. Call to Init()

0019 
0020   // std::cout << "[Info Management] CLASS: TEcnaParEcal.   CREATE OBJECT: this = " << this << std::endl;

0021 
0022   Init();
0023 }
0024 
0025 TEcnaParEcal::TEcnaParEcal(TEcnaObject* pObjectManager, const TString& SubDet) {
0026   // Constructor with argument. Call to Init() and set the subdetector flag

0027 
0028   //std::cout << "[Info Management] CLASS: TEcnaParEcal.   CREATE OBJECT: this = " << this << std::endl;

0029 
0030   Init();
0031   Long_t i_this = (Long_t)this;
0032   pObjectManager->RegisterPointer("TEcnaParEcal", i_this);
0033 
0034   SetEcalSubDetector(SubDet.Data());
0035 }
0036 
0037 TEcnaParEcal::TEcnaParEcal(const TString& SubDet) {
0038   // Constructor with argument. Call to Init() and set the subdetector flag

0039 
0040   //std::cout << "[Info Management] CLASS: TEcnaParEcal.   CREATE OBJECT: this = " << this << std::endl;

0041 
0042   Init();
0043   SetEcalSubDetector(SubDet.Data());
0044 }
0045 
0046 TEcnaParEcal::~TEcnaParEcal() {
0047   //destructor

0048 
0049   //std::cout << "[Info Management] CLASS: TEcnaParEcal.   DESTROY OBJECT: this = " << this << std::endl;

0050 }
0051 
0052 void TEcnaParEcal::Init() {
0053   //Set values of Ecal parameters

0054 
0055   //--------------------------------- INIT parameters

0056 
0057   fTTBELL = '\007';
0058 
0059   fCnew = 0;
0060   fCdelete = 0;
0061 
0062   //....................... CMS/ECAL parameters

0063 
0064   //.............. Basic parameters for EB

0065 
0066   fMaxSampADCEB = (Int_t)10;  // Maximum number of samples ADC

0067 
0068   //  fMaxEvtsInBurstPedRunEB = (Int_t)150; // Maximum number of events per burst in Pedestal Runs

0069 
0070   fMaxSMEtaInEB = (Int_t)2;   // Maximum number of SuperModules in eta in the EB

0071   fMaxSMPhiInEB = (Int_t)18;  // Maximum number of SuperModules in phi in the EB

0072 
0073   fMaxSMInEBPlus = (Int_t)18;   // Maximum number of SuperModules in the EB+

0074   fMaxSMInEBMinus = (Int_t)18;  // Maximum number of SuperModules in the EB-

0075 
0076   fMaxTowEtaInSM = (Int_t)17;  // Maximum number of towers in eta in a SuperModule

0077   fMaxTowPhiInSM = (Int_t)4;   // Maximum number of towers in phi in a SuperModule

0078 
0079   fMaxCrysEtaInTow = (Int_t)5;  // Maximum number of crystals in eta in a tower

0080   fMaxCrysPhiInTow = (Int_t)5;  // Maximum number of crystals in phi in a tower

0081 
0082   //.............. Derived parameters for EB

0083 
0084   fMaxTowEtaInEB = fMaxSMEtaInEB * fMaxTowEtaInSM;  // Maximum number of towers in eta in EB

0085   fMaxTowPhiInEB = fMaxSMPhiInEB * fMaxTowPhiInSM;  // Maximum number of towers in phi in EB

0086   fMaxTowInEB = fMaxTowEtaInEB * fMaxTowPhiInEB;    // Maximum number of towers in EB

0087 
0088   fMaxSMInEB = fMaxSMInEBPlus + fMaxSMInEBMinus;                 // Maximum number of SuperModules in the Ecal

0089   fMaxTowInSM = (Int_t)(fMaxTowEtaInSM * fMaxTowPhiInSM);        // Maximum number of towers in a SuperModule

0090   fMaxCrysInTow = (Int_t)(fMaxCrysEtaInTow * fMaxCrysPhiInTow);  // Maximum number of crystals in a tower

0091 
0092   fMaxCrysEtaInSM = (Int_t)(fMaxTowEtaInSM * fMaxCrysEtaInTow);  // Maximum number of crystals in eta in a SuperModule

0093   fMaxCrysPhiInSM = (Int_t)(fMaxTowPhiInSM * fMaxCrysPhiInTow);  // Maximum number of crystals in phi in a SuperModule

0094   fMaxCrysInSM = (Int_t)(fMaxTowInSM * fMaxCrysInTow);           // Maximum number of crystals in a SuperModule

0095 
0096   //.............. Basic parameters for the EE

0097 
0098   fMaxSampADCEE = (Int_t)10;  // Maximum number of samples ADC

0099 
0100   //  fMaxEvtsInBurstPedRunEE = (Int_t)150;  // Maximum number of events per burst in Pedestal Runs

0101 
0102   fMaxDeeIXInEE = (Int_t)4;  // Maximum number of Dees in IX in EE

0103   fMaxDeeIYInEE = (Int_t)1;  // Maximum number of Dees in IY in EE

0104 
0105   fMaxDeeInEEPlus = (Int_t)2;   // Maximum number of Dees in EE+

0106   fMaxDeeInEEMinus = (Int_t)2;  // Maximum number of Dees in EE-

0107 
0108   fMaxSCIXInDee = (Int_t)10;        // Maximum number of super-crystals in IX in Dee

0109   fMaxSCIYInDee = (Int_t)20;        // Maximum number of super-crystals in IY in Dee

0110   fMaxSCForConsInDee = (Int_t)149;  // Maximum number of super-crystals for construction in Dee

0111 
0112   fMaxCrysIXInSC = (Int_t)5;  // Maximum number of crystals in IX in a super-crystal

0113   fMaxCrysIYInSC = (Int_t)5;  // Maximum number of crystals in IY in a super-crystal

0114 
0115   fEmptyChannelsForIncompleteSCInDee = (Int_t)63;  // Total number of empty channels for the incomplete SCs

0116 
0117   fMaxDSInEEPlus = (Int_t)9;   // Maximum number of Data Sectors in EE+

0118   fMaxDSInEEMinus = (Int_t)9;  // Maximum number of Data Sectors in EE-

0119 
0120   fNumberOfNotConnectedSCs = (Int_t)7;  // Number of not connected SC's (178, 182, 207, 33, 29, etc... see EE mapping)

0121   fNumberOfNotCompleteSCs = (Int_t)4;   // Number of not complete  SC's (161, 216, 224, 12, 67, etc... see EE mapping)

0122 
0123   //.............. Derived parameters for the EE

0124   fMaxDeeInEE = fMaxDeeInEEPlus + fMaxDeeInEEMinus;  // Maximum number of Dees in EE

0125 
0126   fMaxSCIXInEE = fMaxDeeIXInEE * fMaxSCIXInDee;          // Maximum number of SC's in IX in EE

0127   fMaxSCIYInEE = fMaxDeeIYInEE * fMaxSCIYInDee;          // Maximum number of SC's in IY in EE

0128   fMaxSCEcnaInEE = fMaxSCIXInEE * fMaxSCIYInEE;          // Maximum number of SC's in EE

0129   fMaxSCForConsInEE = fMaxDeeInEE * fMaxSCForConsInDee;  // Maximum number of SC's for construction in EE

0130 
0131   fMaxSCEcnaInDee = fMaxSCIXInDee * fMaxSCIYInDee;  // Maximum number of super-crystals in the Dee matrix

0132 
0133   fMaxCrysIXInDee = fMaxSCIXInDee * fMaxCrysIXInSC;  // Maximum number of crystals in IX in Dee

0134   fMaxCrysIYInDee = fMaxSCIYInDee * fMaxCrysIYInSC;  // Maximum number of crystals in IY in Dee

0135 
0136   fMaxCrysInSC = fMaxCrysIXInSC * fMaxCrysIYInSC;            // Max nb of crystals in a super-crystal

0137   fMaxCrysEcnaInDee = fMaxSCEcnaInDee * fMaxCrysInSC;        // Max nb of crystals in the Dee matrix

0138   fMaxCrysForConsInDee = fMaxSCForConsInDee * fMaxCrysInSC;  // Max nb of crystals for construction in Dee

0139 
0140   fEmptyChannelsInDeeMatrixIncompleteSCIncluded =
0141       fMaxCrysEcnaInDee - fMaxCrysForConsInDee + fEmptyChannelsForIncompleteSCInDee;  // (5000 - 3725 + 63 = 1338)

0142 
0143   fMaxDSInEE = fMaxDSInEEPlus + fMaxDSInEEMinus;  // Maximum number of Data Sectors in EE

0144 
0145   //.............................. Current subdetector (Stas) parameters set to zero

0146 
0147   fMaxSampADC = 0;
0148 
0149   //  fMaxEvtsInBurstPedRun = 0;

0150 
0151   fMaxStexHocoInStas = 0;
0152   fMaxStexVecoInStas = 0;
0153 
0154   fMaxStexInStasPlus = 0;
0155   fMaxStexInStasMinus = 0;
0156   fMaxStexInStas = 0;
0157 
0158   fMaxStinHocoInStas = 0;
0159   fMaxStinVecoInStas = 0;
0160   fMaxStinEcnaInStas = 0;
0161 
0162   fMaxStinHocoInStex = 0;
0163   fMaxStinVecoInStex = 0;
0164   fMaxStinEcnaInStex = 0;
0165 
0166   fMaxCrysHocoInStin = 0;
0167   fMaxCrysVecoInStin = 0;
0168   fMaxCrysInStin = 0;
0169 
0170   fMaxCrysHocoInStex = 0;
0171   fMaxCrysVecoInStex = 0;
0172   fMaxCrysEcnaInStex = 0;
0173 
0174   //  fMaxStinForConsInStas = 0;

0175 
0176   fMaxStinInStex = 0;
0177   fMaxCrysInStex = 0;
0178 
0179   //.............................. Set codes for the Subdetector Flag

0180   fgMaxCar = (Int_t)512;
0181 
0182   Int_t MaxCar = fgMaxCar;
0183   fCodeEB.Resize(MaxCar);
0184   fCodeEB = "EB";
0185 
0186   MaxCar = fgMaxCar;
0187   fCodeEE.Resize(MaxCar);
0188   fCodeEE = "EE";
0189 
0190   MaxCar = fgMaxCar;
0191   fFlagSubDet.Resize(MaxCar);
0192   fFlagSubDet = "No info";
0193 
0194 }  // end of Init()

0195 
0196 void TEcnaParEcal::SetEcalSubDetector(const TString& SubDet) {
0197   //Set the current subdetector flag and the current subdetector "Stin-Stex-Stas" parameters according to fFlagSubDet

0198 
0199   if (SubDet != fCodeEB && SubDet != fCodeEE) {
0200     std::cout << "!TEcnaParEcal::SetEcalSubDetector(...)> " << SubDet
0201               << " : unknown subdetector code (requested: EB or EE)" << fTTBELL << std::endl;
0202   } else {
0203     Int_t MaxCar = fgMaxCar;
0204     fFlagSubDet.Resize(MaxCar);
0205     fFlagSubDet = SubDet.Data();  // Set the SubDetector flag

0206 
0207     if (fFlagSubDet != fCodeEB && fFlagSubDet != fCodeEE) {
0208       std::cout << "!TEcnaParEcal::SetEcalSubDetector(...)> fFlagSubDet = " << fFlagSubDet
0209                 << " : CODE PROBLEM, subdetector flag not initialized." << fTTBELL << std::endl;
0210     }
0211 
0212     if (fFlagSubDet == fCodeEB) {
0213       fMaxSampADC = fMaxSampADCEB;
0214       //fMaxEvtsInBurstPedRun = fMaxEvtsInBurstPedRunEB;

0215 
0216       fMaxStexHocoInStas = fMaxSMEtaInEB;
0217       fMaxStexVecoInStas = fMaxSMPhiInEB;
0218 
0219       fMaxStexInStasPlus = fMaxSMInEBPlus;
0220       fMaxStexInStasMinus = fMaxSMInEBMinus;
0221       fMaxStexInStas = fMaxSMInEB;
0222 
0223       fMaxStinHocoInStas = fMaxTowEtaInEB;
0224       fMaxStinVecoInStas = fMaxTowPhiInEB;
0225       fMaxStinEcnaInStas = fMaxTowEtaInEB * fMaxTowPhiInEB;
0226 
0227       fMaxStinHocoInStex = fMaxTowEtaInSM;
0228       fMaxStinVecoInStex = fMaxTowPhiInSM;
0229       fMaxStinEcnaInStex = fMaxTowInSM;
0230 
0231       fMaxCrysHocoInStin = fMaxCrysEtaInTow;
0232       fMaxCrysVecoInStin = fMaxCrysPhiInTow;
0233       fMaxCrysInStin = fMaxCrysInTow;
0234 
0235       fMaxCrysHocoInStex = fMaxCrysEtaInSM;
0236       fMaxCrysVecoInStex = fMaxCrysPhiInSM;
0237       fMaxCrysEcnaInStex = fMaxCrysInSM;
0238 
0239       fMaxStinInStex = fMaxTowInSM;
0240       fMaxCrysInStex = fMaxCrysInSM;
0241     }
0242 
0243     if (fFlagSubDet == fCodeEE) {
0244       fMaxSampADC = fMaxSampADCEE;
0245       //fMaxEvtsInBurstPedRun = fMaxEvtsInBurstPedRunEE;

0246 
0247       fMaxStexHocoInStas = fMaxDeeIXInEE;
0248       fMaxStexVecoInStas = fMaxDeeIYInEE;
0249 
0250       fMaxStexInStasPlus = fMaxDeeInEEPlus;
0251       fMaxStexInStasMinus = fMaxDeeInEEMinus;
0252       fMaxStexInStas = fMaxDeeInEE;
0253 
0254       fMaxStinHocoInStas = fMaxSCIXInEE;
0255       fMaxStinVecoInStas = fMaxSCIYInEE;
0256       fMaxStinEcnaInStas = fMaxSCIXInEE * fMaxSCIYInEE;
0257 
0258       fMaxStinHocoInStex = fMaxSCIXInDee;
0259       fMaxStinVecoInStex = fMaxSCIYInDee;
0260       fMaxStinEcnaInStex = fMaxSCEcnaInDee;
0261 
0262       fMaxCrysHocoInStin = fMaxCrysIXInSC;
0263       fMaxCrysVecoInStin = fMaxCrysIYInSC;
0264       fMaxCrysInStin = fMaxCrysInSC;
0265 
0266       fMaxCrysHocoInStex = fMaxCrysIXInDee;
0267       fMaxCrysVecoInStex = fMaxCrysIYInDee;
0268       fMaxCrysEcnaInStex = fMaxCrysEcnaInDee;
0269 
0270       fMaxStinInStex = fMaxSCForConsInDee;
0271       fMaxCrysInStex = fMaxCrysForConsInDee;
0272     }
0273   }
0274 }  // end of SetEcalSubDetector(const TString& SubDet)

0275 //======================================================================================

0276 //

0277 //                 METHODS TO GET THE PARAMETERS

0278 //

0279 //======================================================================================

0280 //................................................................. SUBDETECTOR FLAG

0281 TString TEcnaParEcal::GetEcalSubDetector() { return fFlagSubDet; }
0282 //................................................................. BARREL

0283 //------------------------------------------- Max samp ADC

0284 Int_t TEcnaParEcal::MaxSampADCEB() { return fMaxSampADCEB; }  // maximum  number of samples ADC for EB

0285 //------------------------------------------- Max number of events in Ped runs (for each gain)

0286 //Int_t TEcnaParEcal::MaxEvtsInBurstPedRunEB(){return fMaxEvtsInBurstPedRunEB;}

0287 //------------------------------------------- Max SM in barrel

0288 Int_t TEcnaParEcal::MaxSMEtaInEB() { return fMaxSMEtaInEB; }  // maximum number of SMs in eta in EB

0289 Int_t TEcnaParEcal::MaxSMPhiInEB() { return fMaxSMPhiInEB; }  // maximum number of SMs in phi in EB

0290 
0291 Int_t TEcnaParEcal::MaxSMInEBPlus() { return fMaxSMInEBPlus; }    // maximum number of SMs in the EB+

0292 Int_t TEcnaParEcal::MaxSMInEBMinus() { return fMaxSMInEBMinus; }  // maximum number of SMs in the EB-

0293 Int_t TEcnaParEcal::MaxSMInEB() { return fMaxSMInEB; }            // maximum number of SMs in EB

0294 //------------------------------------------- Max tow in EB

0295 Int_t TEcnaParEcal::MaxTowEtaInEB() { return fMaxTowEtaInEB; }  // maximum number of towers in eta in EB

0296 Int_t TEcnaParEcal::MaxTowPhiInEB() { return fMaxTowPhiInEB; }  // maximum number of towers in phi in EB

0297 Int_t TEcnaParEcal::MaxTowInEB() { return fMaxTowInEB; }        // maximum number of towers in EB

0298 //------------------------------------------- Max tow in SM

0299 Int_t TEcnaParEcal::MaxTowEtaInSM() { return fMaxTowEtaInSM; }  // maximum number of towers in eta in SM

0300 Int_t TEcnaParEcal::MaxTowPhiInSM() { return fMaxTowPhiInSM; }  // maximum number of towers in phi in SM

0301 Int_t TEcnaParEcal::MaxTowInSM() { return fMaxTowInSM; }        // maximum number of towers in SM

0302 //------------------------------------------- Max Crys in tower

0303 Int_t TEcnaParEcal::MaxCrysEtaInTow() { return fMaxCrysEtaInTow; }  // maximum  number of crystals in eta a tower

0304 Int_t TEcnaParEcal::MaxCrysPhiInTow() { return fMaxCrysPhiInTow; }  // maximum  number of crystals in phi in a tower

0305 Int_t TEcnaParEcal::MaxCrysInTow() { return fMaxCrysInTow; }        // maximum  number of crystals in a tower

0306 //------------------------------------------- Max crys in SM

0307 Int_t TEcnaParEcal::MaxCrysEtaInSM() { return fMaxCrysEtaInSM; }  // maximum  number of crystals in eta in SM

0308 Int_t TEcnaParEcal::MaxCrysPhiInSM() { return fMaxCrysPhiInSM; }  // maximum  number of crystals in phi in SM

0309 Int_t TEcnaParEcal::MaxCrysInSM() { return fMaxCrysInSM; }        // maximum  number of crystals in SM

0310 
0311 //................................................................. ENDCAP

0312 //------------------------------------------- Max samp ADC

0313 Int_t TEcnaParEcal::MaxSampADCEE() { return fMaxSampADCEE; }  // maximum number of samples ADC for EE

0314 //------------------------------------------- Max number of events in Ped runs (for each gain)

0315 //Int_t TEcnaParEcal::MaxEvtsInBurstPedRunEE(){return fMaxEvtsInBurstPedRunEE;}

0316 //------------------------------------------- Max Dee in Endcap

0317 Int_t TEcnaParEcal::MaxDeeIXInEE() { return fMaxDeeIXInEE; }  // maximum number of dees in IX in EE

0318 Int_t TEcnaParEcal::MaxDeeIYInEE() { return fMaxDeeIYInEE; }  // maximum number of dees in IY in EE

0319 
0320 Int_t TEcnaParEcal::MaxDeeInEEPlus() { return fMaxDeeInEEPlus; }    // maximum number of dees in EE+

0321 Int_t TEcnaParEcal::MaxDeeInEEMinus() { return fMaxDeeInEEMinus; }  // maximum number of dees in EE-

0322 Int_t TEcnaParEcal::MaxDeeInEE() { return fMaxDeeInEE; }            // maximum number of dees in EE

0323 //------------------------------------------- Max SC in EE

0324 Int_t TEcnaParEcal::MaxSCIXInEE() { return fMaxSCIXInEE; }  // max nb of SC's in IX in EE

0325 Int_t TEcnaParEcal::MaxSCIYInEE() { return fMaxSCIYInEE; }  // max nb of SC's in IY in EE

0326 Int_t TEcnaParEcal::MaxSCEcnaInEE() {
0327   return fMaxSCEcnaInEE;
0328 }  // max nb of SC's in the EE matrix (default for MaxSCInEE())

0329 Int_t TEcnaParEcal::MaxSCInEE() { return fMaxSCEcnaInEE; }            // max nb of SC's in the EE matrix

0330 Int_t TEcnaParEcal::MaxSCForConsInEE() { return fMaxSCForConsInEE; }  // max nb of SC's for construction EE

0331 //------------------------------------------- Max SC in Dee

0332 Int_t TEcnaParEcal::MaxSCIXInDee() { return fMaxSCIXInDee; }  // max nb of SCs in IX in Dee

0333 Int_t TEcnaParEcal::MaxSCIYInDee() { return fMaxSCIYInDee; }  // max nb of SCs in IY in Dee

0334 Int_t TEcnaParEcal::MaxSCEcnaInDee() {
0335   return fMaxSCEcnaInDee;
0336 }  // max nb of SCs in Dee matrix (default for MaxSCInDee())

0337 Int_t TEcnaParEcal::MaxSCInDee() { return fMaxSCEcnaInDee; }            // max nb of SCs in the Dee matrix

0338 Int_t TEcnaParEcal::MaxSCForConsInDee() { return fMaxSCForConsInDee; }  // max nb of crystals for construction in Dee

0339 //------------------------------------------- Max Crys in SC

0340 Int_t TEcnaParEcal::MaxCrysIXInSC() { return fMaxCrysIXInSC; }  // maximum number of crystals in IX in a SC

0341 Int_t TEcnaParEcal::MaxCrysIYInSC() { return fMaxCrysIYInSC; }  // maximum number of crystals in IY in a SC

0342 Int_t TEcnaParEcal::MaxCrysInSC() { return fMaxCrysInSC; }      // maximum number of crystals in a SC

0343 //------------------------------------------- Max crys in Dee

0344 Int_t TEcnaParEcal::MaxCrysIXInDee() { return fMaxCrysIXInDee; }  // max nb of crystals in IX in Dee

0345 Int_t TEcnaParEcal::MaxCrysIYInDee() { return fMaxCrysIYInDee; }  // max nb of crystals in IY in Dee

0346 Int_t TEcnaParEcal::MaxCrysEcnaInDee() {
0347   return fMaxCrysEcnaInDee;
0348 }  // max nb of crystals in Dee matrix(default for MaxCrysInDee())

0349 Int_t TEcnaParEcal::MaxCrysInDee() { return fMaxCrysEcnaInDee; }  // max nb of crystals in Dee matrix

0350 Int_t TEcnaParEcal::MaxCrysForConsInDee() {
0351   return fMaxCrysForConsInDee;
0352 }  // max nb of crystals for construction in Dee

0353 Int_t TEcnaParEcal::EmptyChannelsInDeeMatrixIncompleteSCIncluded() {
0354   return fEmptyChannelsInDeeMatrixIncompleteSCIncluded;
0355 }
0356 //------------------------------------------- Max DS in EE

0357 Int_t TEcnaParEcal::MaxDSInEE() { return fMaxDSInEE; }
0358 //------------------------------------------- Not connected and not complete SCs

0359 Int_t TEcnaParEcal::NumberOfNotConnectedSCs() { return fNumberOfNotConnectedSCs; }
0360 Int_t TEcnaParEcal::NumberOfNotCompleteSCs() { return fNumberOfNotCompleteSCs; }
0361 
0362 //................................................................. Stas (current Subdetector)

0363 //------------------------------------------- Max samp ADC

0364 Int_t TEcnaParEcal::MaxSampADC() { return fMaxSampADC; }  // max number of samples ADC

0365 //------------------------------------------- Max number of events in Ped runs (for each gain)

0366 //Int_t TEcnaParEcal::MaxEvtsInBurstPedRun(){return fMaxEvtsInBurstPedRun;}

0367 //------------------------------------------- Max Stex in Stas

0368 Int_t TEcnaParEcal::MaxStexHocoInStas() { return fMaxStexHocoInStas; }  // max number of Stexs in Hoco in Stas+

0369 Int_t TEcnaParEcal::MaxStexVecoInStas() { return fMaxStexVecoInStas; }  // max number of Stexs in Veco in Stas+

0370 
0371 Int_t TEcnaParEcal::MaxStexInStasPlus() { return fMaxStexInStasPlus; }    // max number of Stexs in Stas+

0372 Int_t TEcnaParEcal::MaxStexInStasMinus() { return fMaxStexInStasMinus; }  // max number of Stexs in Stas-

0373 Int_t TEcnaParEcal::MaxStexInStas() { return fMaxStexInStas; }            // max number of Stexs in Stas

0374 //------------------------------------------- Max Stin in Stas

0375 Int_t TEcnaParEcal::MaxStinHocoInStas() { return fMaxStinHocoInStas; }  // maximum number of Stin's in Hoco in Stas

0376 Int_t TEcnaParEcal::MaxStinVecoInStas() { return fMaxStinVecoInStas; }  // maximum number of Stin's in Veco in Stas

0377 Int_t TEcnaParEcal::MaxStinEcnaInStas() { return fMaxStinEcnaInStas; }  // maximum number of Stin's (ECNA) in Stas

0378 //------------------------------------------- Max Stin in Stex

0379 Int_t TEcnaParEcal::MaxStinHocoInStex() { return fMaxStinHocoInStex; }  // max number of Stins in Hoco in a Stex

0380 Int_t TEcnaParEcal::MaxStinVecoInStex() { return fMaxStinVecoInStex; }  // max number of Stins in Veco in a Stex

0381 Int_t TEcnaParEcal::MaxStinEcnaInStex() { return fMaxStinEcnaInStex; }  // max number of Stins in "ECNA matrix" Stex

0382 Int_t TEcnaParEcal::MaxStinInStex() { return fMaxStinInStex; }          // max number of Stins in Stex

0383 
0384 //------------------------------------------- Max Crys in Stin

0385 Int_t TEcnaParEcal::MaxCrysHocoInStin() { return fMaxCrysHocoInStin; }  // max number of crystals in Hoco in a Stin

0386 Int_t TEcnaParEcal::MaxCrysVecoInStin() { return fMaxCrysVecoInStin; }  // max number of crystals in Veco in a Stin

0387 Int_t TEcnaParEcal::MaxCrysInStin() { return fMaxCrysInStin; }          // max number of crystals in a Stin

0388 //------------------------------------------- Max crys in Stex

0389 Int_t TEcnaParEcal::MaxCrysHocoInStex() { return fMaxCrysHocoInStex; }  // max number of crystals in Hoco in a Stex

0390 Int_t TEcnaParEcal::MaxCrysVecoInStex() { return fMaxCrysVecoInStex; }  // max number of crystals in Veco in a Stex

0391 Int_t TEcnaParEcal::MaxCrysEcnaInStex() { return fMaxCrysEcnaInStex; }  // max number of crystals in "ECNA matrix" Stex

0392 Int_t TEcnaParEcal::MaxCrysInStex() { return fMaxCrysInStex; }          // max number of crystals in Stex