]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDclusterizerV1.h
Introducing glvolu in the interface
[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
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);
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();
28 virtual Bool_t MakeCluster();
29 virtual Bool_t ReadDigits();
30
f7336fa3 31 virtual void SetClusMaxThresh(Float_t thresh) { fClusMaxThresh = thresh; };
32 virtual void SetClusSigThresh(Float_t thresh) { fClusSigThresh = thresh; };
33 virtual void SetClusMethod(Int_t meth) { fClusMethod = meth; };
34
35 virtual Float_t GetClusMaxThresh() { return fClusMaxThresh; };
36 virtual Float_t GetClusSigThresh() { return fClusSigThresh; };
37 virtual Int_t GetClusMethod() { return fClusMethod; };
38
39 protected:
40
6f1e466d 41 AliTRDdigitsManager *fDigitsManager; //! TRD digits manager
f7336fa3 42
6f1e466d 43 Float_t fClusMaxThresh; // Threshold value for cluster maximum
44 Float_t fClusSigThresh; // Threshold value for cluster signal
45 Int_t fClusMethod; // Clustering method
f7336fa3 46
47 private:
48
49 virtual Float_t Unfold(Float_t eps, Float_t *padSignal);
50 virtual Float_t PadResponse(Float_t x);
51
52 ClassDef(AliTRDclusterizerV1,1) // TRD-Cluster manager, slow simulator
53
54};
55
56#endif