Int_t nPt = kNptBins;
// Clean up ......
- for (Int_t i=0; i<kMaxNumberOfDetectors; i++) {
- for (Int_t j=0; j<nPt; j++) {
+ for (Int_t j=0; j<nPt; j++) {
+ for (Int_t i=0; i<kMaxNumberOfDetectors; i++) {
fDetPointRes[i][j] = RIDICULOUS;
fDetPointZRes[i][j] = RIDICULOUS;
- fTransMomenta[i] =0;
- fMomentumRes[i] =0;
- fResolutionRPhi[i] =0;
}
+ fTransMomenta[j] =0;
+ fMomentumRes[j] =0;
+ fResolutionRPhi[j] =0;
}
if (!allPt) { // not the whole pt range -> allows a faster minimization at a defined 'meanpt'
} else if (AlignResiduals==2) {
- // tracking errors ... PLUS ... chip misalignment
+ // tracking errors ... PLUS ... module misalignment
// itsRecoParam->SetClusterMisalErrorYBOn(0.0010,0.0030,0.0500,0.0500,0.0020,0.0020); // [cm]
// itsRecoParam->SetClusterMisalErrorZBOn(0.0050,0.0050,0.0050,0.0050,0.1000,0.1000);
- // the ITS chips are misalignment with small gaussian smearings with
+ // the ITS modules are misalignment with small gaussian smearings with
// sigmarphi ~ 8, 10, 10 micron in SPD, SDD, SSD
AddLayer((char*)"spd1", 3.9, 0.0114, TMath::Sqrt(0.0012*0.0012+0.0010*0.0010+0.0008*0.0008),
} else {
- // the ITS chips are misalignment with small gaussian smearings with
+ // the ITS modules are misalignment with small gaussian smearings with
// sigmarphi ~ 8, 10, 10 micron in SPD, SDD, SSD
// unknown in Z ????