]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TRD/AliTRDclusterizerV1.h
Introduce AliDebug and AliLog (B.Polichtchouk)
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizerV1.h
... / ...
CommitLineData
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
16class AliTRDdataArrayI;
17class AliTRDdataArrayF;
18class AliTRDdigitsManager;
19class AliRawReader;
20
21class AliTRDclusterizerV1 : public AliTRDclusterizer {
22
23 public:
24
25 AliTRDclusterizerV1();
26 AliTRDclusterizerV1(const Text_t* name, const Text_t* title);
27 AliTRDclusterizerV1(const AliTRDclusterizerV1 &c);
28 virtual ~AliTRDclusterizerV1();
29 AliTRDclusterizerV1 &operator=(const AliTRDclusterizerV1 &c);
30
31 virtual void Copy(TObject &c) const;
32 virtual Bool_t MakeClusters();
33 virtual Bool_t ReadDigits();
34 virtual Bool_t ReadDigits(AliRawReader* rawReader);
35
36 protected:
37
38 void DeConvExp(Double_t *source, Double_t *target
39 , Int_t nTimeTotal, Int_t nexp);
40 void Transform(AliTRDdataArrayI* digitsIn, AliTRDdataArrayF* digitsOut
41 , Int_t idet, Int_t nRowMax, Int_t nColMax
42 , Int_t nTimeTotal, Float_t ADCthreshold);
43 virtual Double_t Unfold(Double_t eps, Int_t plane, Double_t *padSignal);
44 Double_t GetCOG(Double_t signal[5]);
45
46 AliTRDdigitsManager *fDigitsManager; //! TRD digits manager
47
48 ClassDef(AliTRDclusterizerV1,5) // TRD-Cluster finder, slow simulator
49
50};
51
52#endif