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(!repa){
repa = (AliITSRecoParam*) AliITSReconstructor::GetRecoParam();
if(!repa){
- repa = (AliITSRecoParam*) AliITSReconstructor::GetRecoParamDefault();
+ repa = AliITSRecoParam::GetHighFluxParam();
AliWarning("Using default AliITSRecoParam class");
}
}
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]);
-void AliITSClusterFinderV2SPD::FindClustersSPD(AliITSRawStream* input,
+void AliITSClusterFinderV2SPD::FindClustersSPD(AliITSRawStreamSPD* input,
TClonesArray** clusters)
{
//------------------------------------------------------------
bins[index].SetQ(1);
}
+ // get the FastOr bit map
+ fDetTypeRec->ResetFastOrFiredMap();
+ for(UInt_t eq=0; eq<20; eq++) {
+ for(UInt_t hs=0; hs<6; hs++) {
+ for(UInt_t chip=0; chip<10; chip++) {
+ if(input->GetFastOrSignal(eq,hs,chip)) {
+ UInt_t chipKey = input->GetOfflineChipKeyFromOnline(eq,hs,chip);
+ fDetTypeRec->SetFastOrFiredMap(chipKey);
+ }
+ }
+ }
+ }
+
delete [] binsSPDInit;
delete [] binsSPD;
- AliDebug(1,Form("found clusters in ITS SPD: %d", nClustersSPD));
+ // AliDebug(1,Form("found clusters in ITS SPD: %d", nClustersSPD));
+ Info("FindClustersSPD", "found clusters in ITS SPD: %d", nClustersSPD);
}
AliDebug(1,Form("found clusters in ITS SPD: %d", nClustersSPD));
}
-
-