]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIITSCLUSTERFINDERV2SSD_H | |
2 | #define ALIITSCLUSTERFINDERV2SSD_H | |
3 | /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //-------------------------------------------------------------- | |
9 | // ITS clusterer V2 for SSD | |
10 | // | |
11 | // This can be a "wrapping" for the V1 cluster finding classes | |
12 | // if compiled with uncommented "#define V1" line | |
13 | // in the AliITSclustererV2.cxx file. | |
14 | // | |
15 | // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch | |
16 | //-------------------------------------------------------------- | |
17 | #include "AliITSClusterFinder.h" | |
18 | #include "AliITSDetTypeRec.h" | |
19 | ||
20 | class TClonesArray; | |
21 | class AliRawReader; | |
22 | class AliITSRawStream; | |
23 | class AliITSRawStreamSSD; | |
24 | class AliITSCalibrationSSD; | |
25 | ||
26 | class AliITSClusterFinderV2SSD : public AliITSClusterFinder { | |
27 | public: | |
28 | AliITSClusterFinderV2SSD(AliITSDetTypeRec* dettyp); | |
29 | virtual ~AliITSClusterFinderV2SSD(){;} | |
30 | virtual void FindRawClusters(Int_t mod); | |
31 | virtual void RawdataToClusters(AliRawReader* rawReader,TClonesArray** clusters); | |
32 | protected: | |
33 | AliITSClusterFinderV2SSD(const AliITSClusterFinderV2SSD& cf); | |
34 | AliITSClusterFinderV2SSD& operator=(const AliITSClusterFinderV2SSD& cf ); | |
35 | void FindClustersSSD(TClonesArray *digits); | |
36 | void FindClustersSSD(Ali1Dcluster* neg, Int_t nn, | |
37 | Ali1Dcluster* pos, Int_t np, | |
38 | TClonesArray *clusters=0x0); | |
39 | ||
40 | void FindClustersSSD(AliITSRawStreamSSD* input,TClonesArray** clusters); | |
41 | virtual AliITSCalibrationSSD* GetResp(Int_t mod)const{ | |
42 | return (AliITSCalibrationSSD*) fDetTypeRec->GetCalibrationModel(mod);} | |
43 | ||
44 | Int_t fLastSSD1; //index of the last SSD1 detector | |
45 | static Short_t* fgPairs; //array used to build positive-negative pairs | |
46 | static Int_t fgPairsSize; //actual size of pairs array | |
47 | static const Float_t fgkCosmic2008StripShifts[16][9]; // Shifts for 2007/2008 Cosmic data (timing problem) | |
48 | ||
49 | ClassDef(AliITSClusterFinderV2SSD,3) // ITS cluster finder V2 for SDD | |
50 | }; | |
51 | ||
52 | #endif |