X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TPC%2FAliTPCclustererMI.h;h=d854dc0e311f6aa4bbec772ed6c2e42d6723fe3b;hb=61098ddafdd4a3351a49259599094a55986950d0;hp=f9468c277253f073ea1bc95af7549cb9438db65c;hpb=da1ebf24073cdd58f95f5cd420b1b242ae8d1c3d;p=u%2Fmrichter%2FAliRoot.git diff --git a/TPC/AliTPCclustererMI.h b/TPC/AliTPCclustererMI.h index f9468c27725..d854dc0e311 100644 --- a/TPC/AliTPCclustererMI.h +++ b/TPC/AliTPCclustererMI.h @@ -28,7 +28,6 @@ class TTree; class TTreeSRedirector; class AliRawEventHeaderBase; class AliTPCCalROC; -class TVirtualFFT; class AliTPCclustererMI : public TObject{ public: @@ -38,10 +37,10 @@ public: virtual ~AliTPCclustererMI(); virtual void Digits2Clusters(); virtual void Digits2Clusters(AliRawReader* rawReader); - virtual void SetOldRCUFormat(Bool_t rcuFormat = kFALSE) - { fIsOldRCUFormat = rcuFormat; }; virtual void SetInput(TTree * tree); // set input tree with digits - virtual void SetOutput(TTree * tree); //set output tree with + virtual void SetOutput(TTree * tree); // set output tree with + virtual void FillRow(); // fill the output container - Tree or TObjArray + TObjArray * GetOutputArray(){return fOutputArray;} private: Bool_t IsMaximum(Float_t k, Int_t max, const Float_t *bins) const; void MakeCluster2(Int_t k,Int_t max,Float_t *bins,UInt_t m, @@ -56,10 +55,10 @@ private: Float_t & meani, Float_t & meanj, Float_t & sum, Float_t &overlap ); void FindClusters(AliTPCCalROC * noiseROC); Double_t ProcesSignal(Float_t * signal, Int_t nchannels, Int_t id[3], Double_t &rms, Double_t &pedestalCalib); - void DumpHistos(); - Int_t TransformFFT(Float_t *input, Float_t threshold, Bool_t locMax, Float_t *freq, Float_t *re, Float_t *im, Float_t *mag, Float_t *phi); Float_t * fBins; //!digits array + Int_t * fSigBins; //!digits array containg only timebins above threshold + Int_t fNSigBins;//!size of fSigBins Int_t fLoop; //loop - cf in 2 loops Int_t fMaxBin; //current ( for current sector) maximal bin Int_t fMaxTime; //current ( for current sector) maximal time @@ -72,22 +71,20 @@ private: Float_t fPadLength; // the width of the pad Float_t fZWidth; //the z bin width Bool_t fPedSubtraction; // perform pedestal subtraction or not - Bool_t fIsOldRCUFormat; // assume old RCU raw data format AliRawEventHeaderBase *fEventHeader; //! event header information UInt_t fTimeStamp; // Time Stamp UInt_t fEventType; // Event Type TTree * fInput; //!input tree with digits - object not owner TTree * fOutput; //!output tree with digits - object not owner + TObjArray *fOutputArray; //! output TObjArray with pointers arrays of cluster AliTPCClustersRow * fRowCl; //! current cluster row AliSimDigits * fRowDig; //! current digits row const AliTPCParam * fParam; //! tpc parameters Int_t fNcluster; // number of clusters - for given row - TObjArray * fAmplitudeHisto; //! array of histograms of amplitudes TTreeSRedirector *fDebugStreamer; //!debug streamer const AliTPCRecoParam * fRecoParam; //! reconstruction parameters Bool_t fBDumpSignal; // dump signal flag - TVirtualFFT *fFFTr2c; //! Fast Furier transform object - ClassDef(AliTPCclustererMI,1) // Time Projection Chamber digits + ClassDef(AliTPCclustererMI,2) // Time Projection Chamber digits }; inline Bool_t AliTPCclustererMI::IsMaximum(Float_t q,Int_t max,const Float_t *bins) const {