]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDclusterizerV1.h
Modify assignment operator
[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   virtual Bool_t   ReadDigits(TTree *digitsTree);
37
38  protected:
39
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]); 
49
50   AliTRDdigitsManager *fDigitsManager;      //! TRD digits manager
51
52   ClassDef(AliTRDclusterizerV1,5)           //  TRD-Cluster finder, slow simulator
53
54 };
55
56 #endif