]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSClusterFinderV2SSD.h
Fixes for reading zero-suppressed data. These should be propagated to
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderV2SSD.h
1 #ifndef ALIITSCLUSTERFINDERV2SSD_H
2 #define ALIITSCLUSTERFINDERV2SSD_H
3 //--------------------------------------------------------------
4 //                       ITS clusterer V2 for SSD
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 "AliITSClusterFinderV2.h"
13 #include "AliITSDetTypeRec.h"
14
15 class TClonesArray;
16 class AliRawReader;
17 class AliITSRawStream;
18 class AliITSRawStreamSSD;
19 class AliITSCalibrationSSD;
20
21 class AliITSClusterFinderV2SSD : public AliITSClusterFinderV2 {
22 public:
23   AliITSClusterFinderV2SSD(AliITSDetTypeRec* dettyp);
24   virtual ~AliITSClusterFinderV2SSD(){;}
25   virtual void FindRawClusters(Int_t mod);
26   virtual void RawdataToClusters(AliRawReader* rawReader,TClonesArray** clusters);
27  protected:
28   AliITSClusterFinderV2SSD(const AliITSClusterFinderV2SSD& cf);
29   AliITSClusterFinderV2SSD& operator=(const AliITSClusterFinderV2SSD&  cf );
30   void FindClustersSSD(TClonesArray *digits);
31   void FindClustersSSD(Ali1Dcluster* neg, Int_t nn, 
32                        Ali1Dcluster* pos, Int_t np,
33                        TClonesArray *clusters=0x0);
34
35   void FindClustersSSD(AliITSRawStreamSSD* input,TClonesArray** clusters);
36   virtual AliITSCalibrationSSD* GetResp(Int_t mod)const{
37     return (AliITSCalibrationSSD*) fDetTypeRec->GetCalibrationModel(mod);}
38
39   Int_t fLastSSD1;        //index of the last SSD1 detector   
40   static Short_t* fgPairs;       //array used to build positive-negative pairs
41   static Int_t    fgPairsSize;    //actual size of pairs array
42
43   ClassDef(AliITSClusterFinderV2SSD,2)  // ITS cluster finder V2 for SDD
44 };
45
46 #endif