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 #include "AliTRDclusterizer.h"
10 ///////////////////////////////////////////////////////
11 // Finds and handles cluster (slow simulation) //
12 ///////////////////////////////////////////////////////
14 class AliTRDdataArrayI;
15 class AliTRDdataArrayF;
16 class AliTRDdigitsManager;
19 class AliTRDclusterizerV1 : public AliTRDclusterizer {
23 AliTRDclusterizerV1();
24 AliTRDclusterizerV1(const Text_t* name, const Text_t* title);
25 AliTRDclusterizerV1(const AliTRDclusterizerV1 &c);
26 virtual ~AliTRDclusterizerV1();
27 AliTRDclusterizerV1 &operator=(const AliTRDclusterizerV1 &c);
29 virtual void Copy(TObject &c) const;
30 virtual Bool_t MakeClusters();
31 virtual Bool_t ReadDigits();
32 virtual Bool_t ReadDigits(AliRawReader* rawReader);
36 AliTRDdigitsManager *fDigitsManager; //! TRD digits manager
39 void DeConvExp(Double_t *source, Double_t *target, Int_t nTimeTotal, Int_t nexp);
40 void Transform(AliTRDdataArrayI* digitsIn, AliTRDdataArrayF* digitsOut,
41 Int_t idet, Int_t nRowMax, Int_t nColMax, Int_t nTimeTotal, Float_t ADCthreshold);
42 virtual Double_t Unfold(Double_t eps, Int_t plane, Double_t *padSignal);
43 Double_t GetCOG(Double_t signal[5]); // get COG position
45 ClassDef(AliTRDclusterizerV1,5) // TRD-Cluster finder, slow simulator