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