#ifndef ALIITSCLUSTERFINDERV2SSD_H
#define ALIITSCLUSTERFINDERV2SSD_H
+/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
+/* $Id$ */
+
//--------------------------------------------------------------
// ITS clusterer V2 for SSD
//
//
// Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
//--------------------------------------------------------------
-#include "AliITSClusterFinderV2.h"
+#include "AliITSClusterFinder.h"
+#include "AliITSDetTypeRec.h"
class TClonesArray;
class AliRawReader;
class AliITSRawStream;
+class AliITSRawStreamSSD;
+class AliITSCalibrationSSD;
-class AliITSClusterFinderV2SSD : public AliITSClusterFinderV2 {
+class AliITSClusterFinderV2SSD : public AliITSClusterFinder {
public:
- AliITSClusterFinderV2SSD(AliITSgeom* geom);
+ AliITSClusterFinderV2SSD(AliITSDetTypeRec* dettyp);
virtual ~AliITSClusterFinderV2SSD(){;}
virtual void FindRawClusters(Int_t mod);
virtual void RawdataToClusters(AliRawReader* rawReader,TClonesArray** clusters);
protected:
-
+ AliITSClusterFinderV2SSD(const AliITSClusterFinderV2SSD& cf);
+ AliITSClusterFinderV2SSD& operator=(const AliITSClusterFinderV2SSD& cf );
void FindClustersSSD(TClonesArray *digits);
void FindClustersSSD(Ali1Dcluster* neg, Int_t nn,
Ali1Dcluster* pos, Int_t np,
TClonesArray *clusters=0x0);
- void FindClustersSSD(AliITSRawStream* input,TClonesArray** clusters);
+ void FindClustersSSD(AliITSRawStreamSSD* input,TClonesArray** clusters);
+ virtual AliITSCalibrationSSD* GetResp(Int_t mod)const{
+ return (AliITSCalibrationSSD*) fDetTypeRec->GetCalibrationModel(mod);}
Int_t fLastSSD1; //index of the last SSD1 detector
- Float_t fYpitchSSD; //strip pitch (cm)
- Float_t fHwSSD; //half-width of an SSD detector (cm)
- Float_t fHlSSD; //half-length of an SSD detector (cm)
- Float_t fTanP; //tangent of the stereo angle on the P side
- Float_t fTanN; //tangent of the stereo angle on the N side
-
+ static Short_t* fgPairs; //array used to build positive-negative pairs
+ static Int_t fgPairsSize; //actual size of pairs array
+ static const Float_t fgkCosmic2008StripShifts[16][9]; // Shifts for 2007/2008 Cosmic data (timing problem)
+ static const Float_t fgkThreshold; // threshold for the seed
- ClassDef(AliITSClusterFinderV2SSD,1) // ITS cluster finder V2 for SDD
+ ClassDef(AliITSClusterFinderV2SSD,4) // ITS cluster finder V2 for SDD
};
#endif