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 "AliITSClusterFinder.h"
16 class AliITSRawStream;
17 class AliITSRawStreamSPD;
19 class AliITSClusterFinderV2SPD : public AliITSClusterFinder {
21 AliITSClusterFinderV2SPD(AliITSDetTypeRec* dettyp);
22 virtual ~AliITSClusterFinderV2SPD(){;}
23 virtual void FindRawClusters(Int_t mod);
24 virtual void RawdataToClusters(AliRawReader* rawReader);
29 void FindClustersSPD(TClonesArray *digits);
30 void FindClustersSPD(AliITSRawStreamSPD* input);
31 Int_t ClustersSPD(AliBin* bins, TClonesArray* digits,TClonesArray* clusters,Int_t maxBins, Int_t nzbins,Int_t iModule,Bool_t rawdata=kFALSE);
33 Int_t fLastSPD1; //index of the last SPD1 detector
34 Int_t fNySPD; //number of pixels in Y
35 Int_t fNzSPD; //number of pixels in Z
36 Float_t fYpitchSPD; //pixel size in Y
37 Float_t fZ1pitchSPD,fZ2pitchSPD; //pixel sizes in Z
38 Float_t fHwSPD; //half width of the SPD detector
39 Float_t fHlSPD; //half length of the SPD detector
40 Float_t fYSPD[260]; //Y-coordinates of pixel centers
41 Float_t fZSPD[170]; //Z-coordinates of pixel centers
43 ClassDef(AliITSClusterFinderV2SPD,1) // ITS cluster finder V2 for SPD