]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDclusterizerV1.h
reveng tag added
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizerV1.h
CommitLineData
8230f242 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
8#include "AliTRD.h"
6f1e466d 9#include "AliTRDdigitsManager.h"
f7336fa3 10#include "AliTRDclusterizer.h"
11
12///////////////////////////////////////////////////////
13// Finds and handles cluster (slow simulation) //
14///////////////////////////////////////////////////////
15
16class AliTRDclusterizerV1 : public AliTRDclusterizer {
17
18 public:
19
20 AliTRDclusterizerV1();
21 AliTRDclusterizerV1(const Text_t* name, const Text_t* title);
8230f242 22 AliTRDclusterizerV1(AliTRDclusterizerV1 &c);
23 virtual ~AliTRDclusterizerV1();
f7336fa3 24
8230f242 25 virtual void Copy(AliTRDclusterizerV1 &c);
f7336fa3 26 virtual void Init();
27 virtual Bool_t MakeCluster();
28 virtual Bool_t ReadDigits();
29
f7336fa3 30 virtual void SetClusMaxThresh(Float_t thresh) { fClusMaxThresh = thresh; };
31 virtual void SetClusSigThresh(Float_t thresh) { fClusSigThresh = thresh; };
32 virtual void SetClusMethod(Int_t meth) { fClusMethod = meth; };
33
34 virtual Float_t GetClusMaxThresh() { return fClusMaxThresh; };
35 virtual Float_t GetClusSigThresh() { return fClusSigThresh; };
36 virtual Int_t GetClusMethod() { return fClusMethod; };
37
8230f242 38 inline AliTRDclusterizerV1 &operator=(AliTRDclusterizerV1 &c);
39
f7336fa3 40 protected:
41
6f1e466d 42 AliTRDdigitsManager *fDigitsManager; //! TRD digits manager
f7336fa3 43
6f1e466d 44 Float_t fClusMaxThresh; // Threshold value for cluster maximum
45 Float_t fClusSigThresh; // Threshold value for cluster signal
46 Int_t fClusMethod; // Clustering method
f7336fa3 47
48 private:
49
50 virtual Float_t Unfold(Float_t eps, Float_t *padSignal);
51 virtual Float_t PadResponse(Float_t x);
52
53 ClassDef(AliTRDclusterizerV1,1) // TRD-Cluster manager, slow simulator
54
55};
56
8230f242 57//_____________________________________________________________________________
58AliTRDclusterizerV1 &AliTRDclusterizerV1::operator=(AliTRDclusterizerV1 &c)
59{
60 //
61 // Assignment operator
62 //
63
64 if (this != &c) c.Copy(*this);
65 return *this;
66
67}
68
f7336fa3 69#endif