]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSClusterFinderV2SPD.h
Code clean-up (Massimo)
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderV2SPD.h
CommitLineData
04366a57 1#ifndef ALIITSCLUSTERFINDERV2SPD_H
2#define ALIITSCLUSTERFINDERV2SPD_H
3//--------------------------------------------------------------
4// ITS clusterer V2 for SPD
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"
04366a57 13
14class TClonesArray;
15class AliRawReader;
16class AliITSRawStream;
ff44c37c 17class AliITSRawStreamSPD;
04366a57 18
5d2c2f86 19class AliITSClusterFinderV2SPD : public AliITSClusterFinder {
04366a57 20public:
8ba39da9 21 AliITSClusterFinderV2SPD(AliITSDetTypeRec* dettyp);
04366a57 22 virtual ~AliITSClusterFinderV2SPD(){;}
23 virtual void FindRawClusters(Int_t mod);
01ef1bd4 24 virtual void RawdataToClusters(AliRawReader* rawReader);
04366a57 25
26
27 protected:
28
29 void FindClustersSPD(TClonesArray *digits);
01ef1bd4 30 void FindClustersSPD(AliITSRawStreamSPD* input);
04366a57 31 Int_t ClustersSPD(AliBin* bins, TClonesArray* digits,TClonesArray* clusters,Int_t maxBins, Int_t nzbins,Int_t iModule,Bool_t rawdata=kFALSE);
32
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
42
43 ClassDef(AliITSClusterFinderV2SPD,1) // ITS cluster finder V2 for SPD
44};
45
46#endif