]>
Commit | Line | Data |
---|---|---|
04366a57 | 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 | //-------------------------------------------------------------- | |
5d2c2f86 | 12 | #include "AliITSClusterFinder.h" |
5bfe44ce | 13 | #include "AliITSDetTypeRec.h" |
04366a57 | 14 | |
add58ef6 | 15 | class TBits; |
04366a57 | 16 | class TClonesArray; |
17 | class AliRawReader; | |
18 | class AliITSRawStream; | |
5bfe44ce | 19 | class AliITSCalibrationSDD; |
20 | class AliITSsegmentationSDD; | |
04366a57 | 21 | |
5d2c2f86 | 22 | class AliITSClusterFinderV2SDD : public AliITSClusterFinder { |
04366a57 | 23 | public: |
8ba39da9 | 24 | AliITSClusterFinderV2SDD(AliITSDetTypeRec* dettyp); |
add58ef6 | 25 | virtual ~AliITSClusterFinderV2SDD(); |
04366a57 | 26 | virtual void FindRawClusters(Int_t mod); |
27 | virtual void RawdataToClusters(AliRawReader* rawReader,TClonesArray** clusters); | |
a66a0eb6 | 28 | |
93a93288 | 29 | enum {kHybridsPerDDL = 24}; // number of hybrids in each DDL |
de075dae | 30 | enum {kModulesPerDDL = 12}; // number of modules in each DDL |
93a93288 | 31 | |
04366a57 | 32 | protected: |
85bdbebe | 33 | AliITSClusterFinderV2SDD(const AliITSClusterFinderV2SDD &source); // copy constructor |
34 | // assignment operator | |
35 | AliITSClusterFinderV2SDD& operator=(const AliITSClusterFinderV2SDD &source); | |
add58ef6 | 36 | Bool_t NoiseSuppress(Int_t k, Int_t sid, AliBin* bins, AliITSCalibrationSDD* cal) const; |
04366a57 | 37 | void FindClustersSDD(TClonesArray *digits); |
add58ef6 | 38 | void FindClustersSDD(AliBin* bins[2], TBits* anodeFired[2], |
de075dae | 39 | TClonesArray *dig, TClonesArray *clusters=0x0, Int_t jitter=0); |
04366a57 | 40 | |
41 | void FindClustersSDD(AliITSRawStream* input,TClonesArray** clusters); | |
5bfe44ce | 42 | virtual AliITSCalibrationSDD* GetResp(Int_t mod)const{ |
43 | return (AliITSCalibrationSDD*) fDetTypeRec->GetCalibrationModel(mod);} | |
44 | virtual AliITSsegmentationSDD* GetSeg()const{ | |
45 | return (AliITSsegmentationSDD*)fDetTypeRec->GetSegmentationModel(1);} | |
46 | ||
add58ef6 | 47 | Int_t fNAnodes; // number of anodes |
48 | Int_t fNTimeBins; // number of time bins | |
49 | Int_t fNZbins; // number of cells along anodes | |
50 | Int_t fNXbins; // number of cells along time | |
51 | AliBin* fDDLBins[kHybridsPerDDL]; // container for digits for 1 DDL | |
04366a57 | 52 | |
add58ef6 | 53 | ClassDef(AliITSClusterFinderV2SDD,5) // ITS cluster finder V2 for SDD |
04366a57 | 54 | }; |
55 | ||
56 | #endif |