]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDclusterizerV1.h
Update of TRD code
[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 AliTRDdigitsManager;
15
16 class AliTRDclusterizerV1 : public AliTRDclusterizer {
17
18  public:
19
20   AliTRDclusterizerV1();
21   AliTRDclusterizerV1(const Text_t* name, const Text_t* title);
22   AliTRDclusterizerV1(const AliTRDclusterizerV1 &c);
23   virtual ~AliTRDclusterizerV1();
24   AliTRDclusterizerV1 &operator=(const AliTRDclusterizerV1 &c);
25
26   virtual void    Copy(TObject &c);
27   virtual void    Init();
28   virtual Bool_t  MakeClusters();
29   virtual Bool_t  ReadDigits();
30
31   virtual void    SetClusMaxThresh(Int_t thresh)          { fClusMaxThresh = thresh; };
32   virtual void    SetClusSigThresh(Int_t thresh)          { fClusSigThresh = thresh; };
33
34   virtual Int_t GetClusMaxThresh() const                  { return fClusMaxThresh; };
35   virtual Int_t GetClusSigThresh() const                  { return fClusSigThresh; };
36
37  protected:
38
39   AliTRDdigitsManager *fDigitsManager; //! TRD digits manager
40
41   Int_t              fClusMaxThresh; // Threshold value for cluster maximum
42   Int_t              fClusSigThresh; // Threshold value for cluster signal
43
44  private:
45
46   virtual Float_t  Unfold(Float_t eps, Float_t *padSignal);
47   virtual Float_t  PadResponse(Float_t x);
48
49   ClassDef(AliTRDclusterizerV1,2)      // TRD-Cluster finder, slow simulator
50
51 };
52
53 #endif