1 #ifndef ALITRDCLUSTERIZERV1_H
2 #define ALITRDCLUSTERIZERV1_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////////////////////////////////
10 // TRD cluster finder //
12 ////////////////////////////////////////////////////////////////////////////
14 #include "AliTRDclusterizer.h"
16 class AliTRDdataArrayI;
17 class AliTRDdataArrayF;
18 class AliTRDdigitsManager;
22 class AliTRDclusterizerV1 : public AliTRDclusterizer {
26 AliTRDclusterizerV1();
27 AliTRDclusterizerV1(const Text_t* name, const Text_t* title);
28 AliTRDclusterizerV1(const AliTRDclusterizerV1 &c);
29 virtual ~AliTRDclusterizerV1();
30 AliTRDclusterizerV1 &operator=(const AliTRDclusterizerV1 &c);
32 virtual void Copy(TObject &c) const;
33 virtual Bool_t MakeClusters();
34 virtual Bool_t ReadDigits();
35 virtual Bool_t ReadDigits(AliRawReader *rawReader);
36 virtual Bool_t ReadDigits(TTree *digitsTree);
40 void DeConvExp(Double_t *source, Double_t *target
41 , Int_t nTimeTotal, Int_t nexp);
42 void Transform(AliTRDdataArrayI *digitsIn, AliTRDdataArrayF *digitsOut
43 , Int_t nRowMax, Int_t nColMax, Int_t nTimeTotal
44 , Float_t ADCthreshold
45 , AliTRDCalROC *calGainFactorROC
46 , Float_t calGainFactorDetValue);
47 virtual Double_t Unfold(Double_t eps, Int_t plane, Double_t *padSignal);
48 Double_t GetCOG(Double_t signal[5]);
50 AliTRDdigitsManager *fDigitsManager; //! TRD digits manager
52 ClassDef(AliTRDclusterizerV1,5) // TRD-Cluster finder, slow simulator