]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDclusterizerV1.h
Better selection between menus
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizerV1.h
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                               */
5
6 /* $Id$ */
7
8 ////////////////////////////////////////////////////////////////////////////
9 //                                                                        //
10 //  TRD cluster finder                                                    //
11 //                                                                        //
12 ////////////////////////////////////////////////////////////////////////////
13
14 #include "AliTRDclusterizer.h"
15
16 class AliTRDdataArrayI;
17 class AliTRDdataArrayF;
18 class AliTRDdigitsManager;
19 class AliTRDCalROC;
20 class AliRawReader;
21
22 class AliTRDclusterizerV1 : public AliTRDclusterizer {
23
24  public:
25
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);
31
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
37  protected:
38
39           void     DeConvExp(Double_t *source, Double_t *target
40                            , Int_t nTimeTotal, Int_t nexp);
41           void     Transform(AliTRDdataArrayI *digitsIn, AliTRDdataArrayF *digitsOut
42                            , Int_t nRowMax, Int_t nColMax, Int_t nTimeTotal
43                            , Float_t ADCthreshold
44                            , AliTRDCalROC *calGainFactorROC
45                            , Float_t calGainFactorDetValue);
46   virtual Double_t Unfold(Double_t eps, Int_t plane, Double_t *padSignal);
47           Double_t GetCOG(Double_t signal[5]); 
48
49   AliTRDdigitsManager *fDigitsManager;      //! TRD digits manager
50
51   ClassDef(AliTRDclusterizerV1,5)           //  TRD-Cluster finder, slow simulator
52
53 };
54
55 #endif