Resolved merge conflict
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterizerV1.h
CommitLineData
f7336fa3 1#ifndef TRDclusterizerV1_h
2#define TRDclusterizerV1_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#include "AliTRD.h"
9#include "AliTRDsegmentArray.h"
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);
22 ~AliTRDclusterizerV1();
23
24 virtual void Init();
25 virtual Bool_t MakeCluster();
26 virtual Bool_t ReadDigits();
27
28 virtual void SetDigitsArray(AliTRDsegmentArray *Array) { fDigitsArray = Array; };
29
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
38 protected:
39
40 AliTRDsegmentArray *fDigitsArray; //! Array of detector segments containing the digits
41
42 Float_t fClusMaxThresh; // Threshold value for cluster maximum
43 Float_t fClusSigThresh; // Threshold value for cluster signal
44 Int_t fClusMethod; // Clustering method
45
46 private:
47
48 virtual Float_t Unfold(Float_t eps, Float_t *padSignal);
49 virtual Float_t PadResponse(Float_t x);
50
51 ClassDef(AliTRDclusterizerV1,1) // TRD-Cluster manager, slow simulator
52
53};
54
55#endif