32 Long_t i_this = (Long_t)
this;
35 SetEcalSubDetector(SubDet.Data());
44 SetEcalSubDetector(SubDet.Data());
69 fMaxSampADCEB = (Int_t)10;
73 fMaxSMEtaInEB = (Int_t)2;
74 fMaxSMPhiInEB = (Int_t)18;
76 fMaxSMInEBPlus = (Int_t)18;
77 fMaxSMInEBMinus = (Int_t)18;
79 fMaxTowEtaInSM = (Int_t)17;
80 fMaxTowPhiInSM = (Int_t)4;
82 fMaxCrysEtaInTow = (Int_t)5;
83 fMaxCrysPhiInTow = (Int_t)5;
87 fMaxTowEtaInEB = fMaxSMEtaInEB*fMaxTowEtaInSM;
88 fMaxTowPhiInEB = fMaxSMPhiInEB*fMaxTowPhiInSM;
89 fMaxTowInEB = fMaxTowEtaInEB*fMaxTowPhiInEB;
91 fMaxSMInEB = fMaxSMInEBPlus + fMaxSMInEBMinus;
92 fMaxTowInSM = (Int_t)(fMaxTowEtaInSM*fMaxTowPhiInSM);
93 fMaxCrysInTow = (Int_t)(fMaxCrysEtaInTow*fMaxCrysPhiInTow);
95 fMaxCrysEtaInSM = (Int_t)(fMaxTowEtaInSM*fMaxCrysEtaInTow);
96 fMaxCrysPhiInSM = (Int_t)(fMaxTowPhiInSM*fMaxCrysPhiInTow);
97 fMaxCrysInSM = (Int_t)(fMaxTowInSM*fMaxCrysInTow);
101 fMaxSampADCEE = (Int_t)10;
105 fMaxDeeIXInEE = (Int_t)4;
106 fMaxDeeIYInEE = (Int_t)1;
108 fMaxDeeInEEPlus = (Int_t)2;
109 fMaxDeeInEEMinus = (Int_t)2;
111 fMaxSCIXInDee = (Int_t)10;
112 fMaxSCIYInDee = (Int_t)20;
113 fMaxSCForConsInDee = (Int_t)149;
115 fMaxCrysIXInSC = (Int_t)5;
116 fMaxCrysIYInSC = (Int_t)5;
118 fEmptyChannelsForIncompleteSCInDee = (Int_t)63;
120 fMaxDSInEEPlus = (Int_t)9;
121 fMaxDSInEEMinus = (Int_t)9;
123 fNumberOfNotConnectedSCs = (Int_t)7;
124 fNumberOfNotCompleteSCs = (Int_t)4;
127 fMaxDeeInEE = fMaxDeeInEEPlus + fMaxDeeInEEMinus;
129 fMaxSCIXInEE = fMaxDeeIXInEE*fMaxSCIXInDee;
130 fMaxSCIYInEE = fMaxDeeIYInEE*fMaxSCIYInDee;
131 fMaxSCEcnaInEE = fMaxSCIXInEE*fMaxSCIYInEE;
132 fMaxSCForConsInEE = fMaxDeeInEE*fMaxSCForConsInDee;
134 fMaxSCEcnaInDee = fMaxSCIXInDee*fMaxSCIYInDee;
136 fMaxCrysIXInDee = fMaxSCIXInDee*fMaxCrysIXInSC;
137 fMaxCrysIYInDee = fMaxSCIYInDee*fMaxCrysIYInSC;
139 fMaxCrysInSC = fMaxCrysIXInSC*fMaxCrysIYInSC;
140 fMaxCrysEcnaInDee = fMaxSCEcnaInDee*fMaxCrysInSC;
141 fMaxCrysForConsInDee = fMaxSCForConsInDee*fMaxCrysInSC;
143 fEmptyChannelsInDeeMatrixIncompleteSCIncluded =
144 fMaxCrysEcnaInDee - fMaxCrysForConsInDee + fEmptyChannelsForIncompleteSCInDee;
146 fMaxDSInEE = fMaxDSInEEPlus + fMaxDSInEEMinus;
154 fMaxStexHocoInStas = 0;
155 fMaxStexVecoInStas = 0;
157 fMaxStexInStasPlus = 0;
158 fMaxStexInStasMinus = 0;
161 fMaxStinHocoInStas = 0;
162 fMaxStinVecoInStas = 0;
163 fMaxStinEcnaInStas = 0;
166 fMaxStinHocoInStex = 0;
167 fMaxStinVecoInStex = 0;
168 fMaxStinEcnaInStex = 0;
170 fMaxCrysHocoInStin = 0;
171 fMaxCrysVecoInStin = 0;
174 fMaxCrysHocoInStex = 0;
175 fMaxCrysVecoInStex = 0;
176 fMaxCrysEcnaInStex = 0;
184 fgMaxCar = (Int_t)512;
186 Int_t MaxCar = fgMaxCar;
187 fCodeEB.Resize(MaxCar);
191 fCodeEE.Resize(MaxCar);
195 fFlagSubDet.Resize(MaxCar);
196 fFlagSubDet =
"No info";
203 if( SubDet != fCodeEB && SubDet != fCodeEE )
205 cout <<
"!TEcnaParEcal::SetEcalSubDetector(...)> " << SubDet
206 <<
" : unknown subdetector code (requested: EB or EE)" << fTTBELL << endl;
210 Int_t MaxCar = fgMaxCar;
211 fFlagSubDet.Resize(MaxCar);
212 fFlagSubDet = SubDet.Data();
214 if( fFlagSubDet != fCodeEB && fFlagSubDet != fCodeEE )
216 cout <<
"!TEcnaParEcal::SetEcalSubDetector(...)> fFlagSubDet = " << fFlagSubDet
217 <<
" : CODE PROBLEM, subdetector flag not initialized." << fTTBELL << endl;
220 if(fFlagSubDet == fCodeEB)
222 fMaxSampADC = fMaxSampADCEB;
225 fMaxStexHocoInStas = fMaxSMEtaInEB;
226 fMaxStexVecoInStas = fMaxSMPhiInEB;
228 fMaxStexInStasPlus = fMaxSMInEBPlus;
229 fMaxStexInStasMinus = fMaxSMInEBMinus;
230 fMaxStexInStas = fMaxSMInEB;
232 fMaxStinHocoInStas = fMaxTowEtaInEB;
233 fMaxStinVecoInStas = fMaxTowPhiInEB;
234 fMaxStinEcnaInStas = fMaxTowEtaInEB*fMaxTowPhiInEB;
236 fMaxStinHocoInStex = fMaxTowEtaInSM;
237 fMaxStinVecoInStex = fMaxTowPhiInSM;
238 fMaxStinEcnaInStex = fMaxTowInSM;
240 fMaxCrysHocoInStin = fMaxCrysEtaInTow;
241 fMaxCrysVecoInStin = fMaxCrysPhiInTow;
242 fMaxCrysInStin = fMaxCrysInTow;
244 fMaxCrysHocoInStex = fMaxCrysEtaInSM;
245 fMaxCrysVecoInStex = fMaxCrysPhiInSM;
246 fMaxCrysEcnaInStex = fMaxCrysInSM;
248 fMaxStinInStex = fMaxTowInSM;
249 fMaxCrysInStex = fMaxCrysInSM;
252 if(fFlagSubDet == fCodeEE)
254 fMaxSampADC = fMaxSampADCEE;
257 fMaxStexHocoInStas = fMaxDeeIXInEE;
258 fMaxStexVecoInStas = fMaxDeeIYInEE;
260 fMaxStexInStasPlus = fMaxDeeInEEPlus;
261 fMaxStexInStasMinus = fMaxDeeInEEMinus;
262 fMaxStexInStas = fMaxDeeInEE;
264 fMaxStinHocoInStas = fMaxSCIXInEE;
265 fMaxStinVecoInStas = fMaxSCIYInEE;
266 fMaxStinEcnaInStas = fMaxSCIXInEE*fMaxSCIYInEE;
268 fMaxStinHocoInStex = fMaxSCIXInDee;
269 fMaxStinVecoInStex = fMaxSCIYInDee;
270 fMaxStinEcnaInStex = fMaxSCEcnaInDee;
272 fMaxCrysHocoInStin = fMaxCrysIXInSC;
273 fMaxCrysVecoInStin = fMaxCrysIYInSC;
274 fMaxCrysInStin = fMaxCrysInSC;
276 fMaxCrysHocoInStex = fMaxCrysIXInDee;
277 fMaxCrysVecoInStex = fMaxCrysIYInDee;
278 fMaxCrysEcnaInStex = fMaxCrysEcnaInDee;
280 fMaxStinInStex = fMaxSCForConsInDee;
281 fMaxCrysInStex = fMaxCrysForConsInDee;
Int_t MaxCrysHocoInStex()
Int_t MaxStexVecoInStas()
Int_t MaxCrysVecoInStin()
Int_t MaxStinVecoInStex()
Int_t MaxStinHocoInStas()
Bool_t RegisterPointer(const TString &, const Long_t &)
Int_t MaxStexInStasPlus()
Int_t MaxStinVecoInStas()
Int_t NumberOfNotConnectedSCs()
Int_t MaxStexInStasMinus()
Int_t MaxCrysVecoInStex()
Int_t MaxSCForConsInDee()
Int_t MaxCrysEcnaInStex()
Int_t MaxCrysHocoInStin()
Int_t MaxStinEcnaInStas()
Int_t MaxStexHocoInStas()
void SetEcalSubDetector(const TString &)
Int_t MaxStinEcnaInStex()
TString GetEcalSubDetector()
Int_t MaxStinHocoInStex()
Int_t NumberOfNotCompleteSCs()
Int_t MaxCrysForConsInDee()
Int_t EmptyChannelsInDeeMatrixIncompleteSCIncluded()