ClassImp(AliITSClusterFinderV2SPD)
-AliITSClusterFinderV2SPD::AliITSClusterFinderV2SPD(AliITSDetTypeRec* dettyp):AliITSClusterFinderV2(dettyp),
+AliITSClusterFinderV2SPD::AliITSClusterFinderV2SPD(AliITSDetTypeRec* dettyp):AliITSClusterFinder(dettyp),
fLastSPD1(AliITSgeomTGeo::GetModuleIndex(2,1,1)-1),
fNySPD(256),
fNzSPD(160),
if(TMath::Abs(iz-iiz)>0.75*idz) continue;
}
ndigits++;
- Float_t qBin;
+ Float_t qBin=0.;
if(rawdata) qBin = bins[idxBins[idx]].GetQ();
if(!rawdata){
AliITSdigitSPD* dig = (AliITSdigitSPD*)digits->UncheckedAt(idxBins[idx]);
for(UInt_t hs=0; hs<6; hs++) {
for(UInt_t chip=0; chip<10; chip++) {
if(input->GetFastOrSignal(eq,hs,chip)) {
- UInt_t module = input->GetOfflineModuleFromOnline(eq,hs,chip);
- UInt_t chipInModule = ( chip>4 ? chip-5 : chip );
- UInt_t chipKey = module*5 + chipInModule;
+ UInt_t chipKey = input->GetOfflineChipKeyFromOnline(eq,hs,chip);
fDetTypeRec->SetFastOrFiredMap(chipKey);
}
}