]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDclusterizerV1.h
Next round of effc++ changes
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizerV1.h
CommitLineData
dd9a6ee3 1#ifndef ALITRDCLUSTERIZERV1_H
2#define ALITRDCLUSTERIZERV1_H
f7336fa3 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
6d50f529 8////////////////////////////////////////////////////////////////////////////
9// //
10// TRD cluster finder //
11// //
12////////////////////////////////////////////////////////////////////////////
f7336fa3 13
6d50f529 14#include "AliTRDclusterizer.h"
f7336fa3 15
3becff3c 16class AliTRDdataArrayI;
11dc3a9e 17class AliTRDdataArrayF;
793ff80c 18class AliTRDdigitsManager;
928e9fae 19class AliRawReader;
793ff80c 20
f7336fa3 21class AliTRDclusterizerV1 : public AliTRDclusterizer {
22
23 public:
24
25 AliTRDclusterizerV1();
26 AliTRDclusterizerV1(const Text_t* name, const Text_t* title);
dd9a6ee3 27 AliTRDclusterizerV1(const AliTRDclusterizerV1 &c);
6d50f529 28 virtual ~AliTRDclusterizerV1();
dd9a6ee3 29 AliTRDclusterizerV1 &operator=(const AliTRDclusterizerV1 &c);
f7336fa3 30
e0d47c25 31 virtual void Copy(TObject &c) const;
17b26de4 32 virtual Bool_t MakeClusters();
33 virtual Bool_t ReadDigits();
928e9fae 34 virtual Bool_t ReadDigits(AliRawReader* rawReader);
f7336fa3 35
36 protected:
f7336fa3 37
6d50f529 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);
a5cadd36 43 virtual Double_t Unfold(Double_t eps, Int_t plane, Double_t *padSignal);
6d50f529 44 Double_t GetCOG(Double_t signal[5]);
45
46 AliTRDdigitsManager *fDigitsManager; //! TRD digits manager
3becff3c 47
6d50f529 48 ClassDef(AliTRDclusterizerV1,5) // TRD-Cluster finder, slow simulator
a5cadd36 49
f7336fa3 50};
51
52#endif