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