]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIITSCLUSTERFINDERV2SDD_H | |
2 | #define ALIITSCLUSTERFINDERV2SDD_H | |
3 | //-------------------------------------------------------------- | |
4 | // ITS clusterer V2 for SDD | |
5 | // | |
6 | // This can be a "wrapping" for the V1 cluster finding classes | |
7 | // if compiled with uncommented "#define V1" line | |
8 | // in the AliITSclustererV2.cxx file. | |
9 | // | |
10 | // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch | |
11 | //-------------------------------------------------------------- | |
12 | #include "AliITSClusterFinder.h" | |
13 | #include "AliITSDetTypeRec.h" | |
14 | ||
15 | class TClonesArray; | |
16 | class AliRawReader; | |
17 | class AliITSRawStream; | |
18 | class AliITSCalibrationSDD; | |
19 | class AliITSsegmentationSDD; | |
20 | ||
21 | class AliITSClusterFinderV2SDD : public AliITSClusterFinder { | |
22 | public: | |
23 | AliITSClusterFinderV2SDD(AliITSDetTypeRec* dettyp); | |
24 | virtual ~AliITSClusterFinderV2SDD(){;} | |
25 | virtual void FindRawClusters(Int_t mod); | |
26 | virtual void RawdataToClusters(AliRawReader* rawReader,TClonesArray** clusters); | |
27 | ||
28 | enum {kHybridsPerDDL = 24}; // number of hybrids in each DDL | |
29 | enum {kModulesPerDDL = 12}; // number of modules in each DDL | |
30 | ||
31 | protected: | |
32 | Bool_t NoiseSuppress(Int_t k, Int_t sid, Int_t nzBins, AliBin* bins, AliITSCalibrationSDD* cal) const; | |
33 | void FindClustersSDD(TClonesArray *digits); | |
34 | void FindClustersSDD(AliBin* bins[2], Int_t nMaxBin, Int_t nMaxZ, | |
35 | TClonesArray *dig, TClonesArray *clusters=0x0, Int_t jitter=0); | |
36 | ||
37 | void FindClustersSDD(AliITSRawStream* input,TClonesArray** clusters); | |
38 | virtual AliITSCalibrationSDD* GetResp(Int_t mod)const{ | |
39 | return (AliITSCalibrationSDD*) fDetTypeRec->GetCalibrationModel(mod);} | |
40 | virtual AliITSsegmentationSDD* GetSeg()const{ | |
41 | return (AliITSsegmentationSDD*)fDetTypeRec->GetSegmentationModel(1);} | |
42 | ||
43 | ||
44 | ClassDef(AliITSClusterFinderV2SDD,4) // ITS cluster finder V2 for SDD | |
45 | }; | |
46 | ||
47 | #endif |