ROOT logo
#ifndef ALIITSCLUSTERFINDERV2SPD_H
#define ALIITSCLUSTERFINDERV2SPD_H
//--------------------------------------------------------------
//                       ITS clusterer V2 for SPD
//
//   This can be a "wrapping" for the V1 cluster finding classes
//   if compiled with uncommented "#define V1" line 
//   in the AliITSclustererV2.cxx file.
//
//   Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch 
//--------------------------------------------------------------
#include "AliITSClusterFinder.h"

class TClonesArray;
class AliRawReader;
class AliITSRawStream;
class AliITSRawStreamSPD;

class AliITSClusterFinderV2SPD : public AliITSClusterFinder {
public:
  AliITSClusterFinderV2SPD(AliITSDetTypeRec* dettyp);
  virtual ~AliITSClusterFinderV2SPD(){;}
  virtual void FindRawClusters(Int_t mod);
  virtual void RawdataToClusters(AliRawReader* rawReader);
  

 protected:

  void FindClustersSPD(TClonesArray *digits);
  void FindClustersSPD(AliITSRawStreamSPD* input);
  Int_t ClustersSPD(AliBin* bins, TClonesArray* digits,TClonesArray* clusters,Int_t maxBins, Int_t nzbins,Int_t iModule,Bool_t rawdata=kFALSE);

  Int_t fLastSPD1;       //index of the last SPD1 detector
  Int_t fNySPD;          //number of pixels in Y
  Int_t fNzSPD;          //number of pixels in Z
  Float_t fYpitchSPD;    //pixel size in Y
  Float_t fZ1pitchSPD,fZ2pitchSPD;    //pixel sizes in Z
  Float_t fHwSPD;        //half width of the SPD detector
  Float_t fHlSPD;        //half length of the SPD detector
  Float_t fYSPD[260];    //Y-coordinates of pixel centers
  Float_t fZSPD[170];    //Z-coordinates of pixel centers

  ClassDef(AliITSClusterFinderV2SPD,1)  // ITS cluster finder V2 for SPD
};

#endif
 AliITSClusterFinderV2SPD.h:1
 AliITSClusterFinderV2SPD.h:2
 AliITSClusterFinderV2SPD.h:3
 AliITSClusterFinderV2SPD.h:4
 AliITSClusterFinderV2SPD.h:5
 AliITSClusterFinderV2SPD.h:6
 AliITSClusterFinderV2SPD.h:7
 AliITSClusterFinderV2SPD.h:8
 AliITSClusterFinderV2SPD.h:9
 AliITSClusterFinderV2SPD.h:10
 AliITSClusterFinderV2SPD.h:11
 AliITSClusterFinderV2SPD.h:12
 AliITSClusterFinderV2SPD.h:13
 AliITSClusterFinderV2SPD.h:14
 AliITSClusterFinderV2SPD.h:15
 AliITSClusterFinderV2SPD.h:16
 AliITSClusterFinderV2SPD.h:17
 AliITSClusterFinderV2SPD.h:18
 AliITSClusterFinderV2SPD.h:19
 AliITSClusterFinderV2SPD.h:20
 AliITSClusterFinderV2SPD.h:21
 AliITSClusterFinderV2SPD.h:22
 AliITSClusterFinderV2SPD.h:23
 AliITSClusterFinderV2SPD.h:24
 AliITSClusterFinderV2SPD.h:25
 AliITSClusterFinderV2SPD.h:26
 AliITSClusterFinderV2SPD.h:27
 AliITSClusterFinderV2SPD.h:28
 AliITSClusterFinderV2SPD.h:29
 AliITSClusterFinderV2SPD.h:30
 AliITSClusterFinderV2SPD.h:31
 AliITSClusterFinderV2SPD.h:32
 AliITSClusterFinderV2SPD.h:33
 AliITSClusterFinderV2SPD.h:34
 AliITSClusterFinderV2SPD.h:35
 AliITSClusterFinderV2SPD.h:36
 AliITSClusterFinderV2SPD.h:37
 AliITSClusterFinderV2SPD.h:38
 AliITSClusterFinderV2SPD.h:39
 AliITSClusterFinderV2SPD.h:40
 AliITSClusterFinderV2SPD.h:41
 AliITSClusterFinderV2SPD.h:42
 AliITSClusterFinderV2SPD.h:43
 AliITSClusterFinderV2SPD.h:44
 AliITSClusterFinderV2SPD.h:45
 AliITSClusterFinderV2SPD.h:46