1 #ifndef ALIITSCLUSTERFINDERV2SPD_H
2 #define ALIITSCLUSTERFINDERV2SPD_H
3 //--------------------------------------------------------------
4 // ITS clusterer V2 for SPD
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.
10 // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
11 //--------------------------------------------------------------
12 #include "AliITSClusterFinderV2.h"
16 class AliITSRawStream;
18 class AliITSClusterFinderV2SPD : public AliITSClusterFinderV2 {
20 AliITSClusterFinderV2SPD(AliITSDetTypeRec* dettyp);
21 virtual ~AliITSClusterFinderV2SPD(){;}
22 virtual void FindRawClusters(Int_t mod);
23 virtual void RawdataToClusters(AliRawReader* rawReader,TClonesArray** clusters);
28 void FindClustersSPD(TClonesArray *digits);
29 void FindClustersSPD(AliITSRawStream* input,TClonesArray** clusters);
30 Int_t ClustersSPD(AliBin* bins, TClonesArray* digits,TClonesArray* clusters,Int_t maxBins, Int_t nzbins,Int_t iModule,Bool_t rawdata=kFALSE);
32 Int_t fLastSPD1; //index of the last SPD1 detector
33 Int_t fNySPD; //number of pixels in Y
34 Int_t fNzSPD; //number of pixels in Z
35 Float_t fYpitchSPD; //pixel size in Y
36 Float_t fZ1pitchSPD,fZ2pitchSPD; //pixel sizes in Z
37 Float_t fHwSPD; //half width of the SPD detector
38 Float_t fHlSPD; //half length of the SPD detector
39 Float_t fYSPD[260]; //Y-coordinates of pixel centers
40 Float_t fZSPD[170]; //Z-coordinates of pixel centers
42 ClassDef(AliITSClusterFinderV2SPD,1) // ITS cluster finder V2 for SPD