]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDclusterizerV1.h
Change of C02 density
[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 #include "AliTRDclusterizer.h"
9
10 ///////////////////////////////////////////////////////
11 //  Finds and handles cluster (slow simulation)      //
12 ///////////////////////////////////////////////////////
13
14 class AliTRDdataArrayI;
15 class AliTRDdigitsManager;
16 class AliRawReader;
17
18 class AliTRDclusterizerV1 : public AliTRDclusterizer {
19
20  public:
21
22   AliTRDclusterizerV1();
23   AliTRDclusterizerV1(const Text_t* name, const Text_t* title);
24   AliTRDclusterizerV1(const AliTRDclusterizerV1 &c);
25   virtual ~AliTRDclusterizerV1();
26   AliTRDclusterizerV1 &operator=(const AliTRDclusterizerV1 &c);
27
28   virtual void     Copy(TObject &c) const;
29   virtual Bool_t   MakeClusters();
30   virtual Bool_t   ReadDigits();
31   virtual Bool_t   ReadDigits(AliRawReader* rawReader);
32
33  protected:
34
35   AliTRDdigitsManager *fDigitsManager;      //! TRD digits manager
36
37  private:
38   void DeConvExp(Double_t *source, Double_t *target, Int_t nTimeTotal, Int_t nexp);
39   void Transform(AliTRDdataArrayI* digitsIn, AliTRDdataArrayI* digitsOut,
40                  Int_t idet, Int_t nRowMax, Int_t nColMax, Int_t nTimeTotal, Float_t ADCthreshold);
41   virtual Double_t Unfold(Double_t eps, Int_t plane, Double_t *padSignal);
42   Double_t GetCOG(Double_t signal[5]);      // get COG position
43
44   ClassDef(AliTRDclusterizerV1,5)           // TRD-Cluster finder, slow simulator
45
46 };
47
48 #endif