]>
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); |
01ef1bd4 | 27 | virtual void RawdataToClusters(AliRawReader* rawReader); |
d59a647b | 28 | void SetPeakSelection(Float_t looseCut=15., Float_t tightCut=30., Float_t maxTime=2000.){ |
29 | fCutOnPeakLoose=looseCut; | |
30 | fCutOnPeakTight=tightCut; | |
31 | fMaxDrTimeForTightCut=maxTime; | |
32 | } | |
a66a0eb6 | 33 | |
93a93288 | 34 | enum {kHybridsPerDDL = 24}; // number of hybrids in each DDL |
de075dae | 35 | enum {kModulesPerDDL = 12}; // number of modules in each DDL |
93a93288 | 36 | |
04366a57 | 37 | protected: |
85bdbebe | 38 | AliITSClusterFinderV2SDD(const AliITSClusterFinderV2SDD &source); // copy constructor |
39 | // assignment operator | |
40 | AliITSClusterFinderV2SDD& operator=(const AliITSClusterFinderV2SDD &source); | |
add58ef6 | 41 | Bool_t NoiseSuppress(Int_t k, Int_t sid, AliBin* bins, AliITSCalibrationSDD* cal) const; |
04366a57 | 42 | void FindClustersSDD(TClonesArray *digits); |
add58ef6 | 43 | void FindClustersSDD(AliBin* bins[2], TBits* anodeFired[2], |
de075dae | 44 | TClonesArray *dig, TClonesArray *clusters=0x0, Int_t jitter=0); |
04366a57 | 45 | |
01ef1bd4 | 46 | void FindClustersSDD(AliITSRawStream* input); |
5bfe44ce | 47 | virtual AliITSCalibrationSDD* GetResp(Int_t mod)const{ |
48 | return (AliITSCalibrationSDD*) fDetTypeRec->GetCalibrationModel(mod);} | |
49 | virtual AliITSsegmentationSDD* GetSeg()const{ | |
50 | return (AliITSsegmentationSDD*)fDetTypeRec->GetSegmentationModel(1);} | |
51 | ||
add58ef6 | 52 | Int_t fNAnodes; // number of anodes |
53 | Int_t fNTimeBins; // number of time bins | |
54 | Int_t fNZbins; // number of cells along anodes | |
55 | Int_t fNXbins; // number of cells along time | |
56 | AliBin* fDDLBins[kHybridsPerDDL]; // container for digits for 1 DDL | |
d59a647b | 57 | Float_t fCutOnPeakLoose; // loose cut on peak (for all drift times) |
58 | Float_t fCutOnPeakTight; // tight cut on peak (for small drift times) | |
59 | Float_t fMaxDrTimeForTightCut; // max. drift time for fCutOnPeakTight | |
04366a57 | 60 | |
d59a647b | 61 | ClassDef(AliITSClusterFinderV2SDD,6) // ITS cluster finder V2 for SDD |
04366a57 | 62 | }; |
63 | ||
64 | #endif |