//-------------------------------------------------------
#include <Rtypes.h>
#include <TObject.h>
+#include <AliTPCRecoParam.h>
#define kMAXCLUSTER 2500
class TFile;
void FindClusters(AliTPCCalROC * noiseROC);
Bool_t AcceptCluster(AliTPCclusterMI*c);
Double_t ProcesSignal(Float_t * signal, Int_t nchannels, Int_t id[3], Double_t &rms, Double_t &pedestalCalib);
- void ProcessSectorData(Float_t** allBins, Int_t** allSigBins, Int_t* allNSigBins);
+ void ProcessSectorData();
Float_t * fBins; //!digits array
Int_t * fSigBins; //!digits array containg only timebins above threshold
Bool_t fBDumpSignal; // dump signal flag
Bool_t fBClonesArray; // output clusters stored in TClonesArray
+ // Non-persistent arrays
+
+ Float_t** fAllBins; //! All sector bins
+ Int_t** fAllSigBins;//! All signal bins in a sector
+ Int_t* fAllNSigBins;//! Number of signal bins in a sector
+
+
ClassDef(AliTPCclustererMI,2) // Time Projection Chamber digits
};
if (bins[+max-1] >= q) return kFALSE;
if (bins[+max+1] > q) return kFALSE;
if (bins[-max+1] >= q) return kFALSE;
+ //
+ //
+ if (fRecoParam->GetClusterMaxRange(1)>0){ //local maxima in z on more than 1 time bin
+ if (bins[-2] > q) return kFALSE;
+ if (bins[ 2] > q) return kFALSE;
+ }
+ if (fRecoParam->GetClusterMaxRange(0)>0){ //local maxima in y on more than pad
+ if (bins[-2*max] > q) return kFALSE;
+ if (bins[ 2*max] > q) return kFALSE;
+ }
+
return kTRUE;
}