:TObject((TObject&)p)
,fN(p.fN)
,fSec(p.fSec)
- ,fClusters(0x0)
- ,fIndex(0x0)
+ ,fClusters(NULL)
+ ,fIndex(NULL)
,fX(p.fX)
,fdX(p.fdX)
,fRho(p.fRho)
}
//_____________________________________________________________________________
-void AliTRDpropagationLayer::SetZ(Double_t *center, Double_t *w, Double_t *wsensitive )
+void AliTRDpropagationLayer::SetZ(Double_t * const center, Double_t * const w, Double_t * const wsensitive )
{
//
// Set centers and the width of sectors
//
- for (Int_t icham = 0; icham < AliTRDgeometry::kNcham; icham++) {
- fZc[icham] = center[icham];
- fZmax[icham] = w[icham];
- fZmaxSensitive[icham] = wsensitive[icham];
+ for (Int_t istack = 0; istack < AliTRDgeometry::kNstack; istack++) {
+ fZc[istack] = center[istack];
+ fZmax[istack] = w[istack];
+ fZmaxSensitive[istack] = wsensitive[istack];
}
}
//_____________________________________________________________________________
-void AliTRDpropagationLayer::SetHoles(Bool_t *holes)
+void AliTRDpropagationLayer::SetHoles(Bool_t * const holes)
{
//
// Set centers and the width of sectors
fHole = kFALSE;
- for (Int_t icham = 0; icham < AliTRDgeometry::kNcham; icham++) {
- fIsHole[icham] = holes[icham];
- if (holes[icham]) {
+ for (Int_t istack = 0; istack < AliTRDgeometry::kNstack; istack++) {
+ fIsHole[istack] = holes[istack];
+ if (holes[istack]) {
fHole = kTRUE;
}
}