X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSClusterFinderV2SSD.h;h=ab9a39f8d7f78192ca50130aabab252f7ed994e0;hb=6db3170859444cc30c9e5a12dad1ed2b28eb1ea6;hp=670fbe42fdc1275c4dfbdce93262806f2f61b311;hpb=7d62fb642e8e534a0745ecf2706ee54afa6ffa5c;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSClusterFinderV2SSD.h b/ITS/AliITSClusterFinderV2SSD.h index 670fbe42fdc..ab9a39f8d7f 100644 --- a/ITS/AliITSClusterFinderV2SSD.h +++ b/ITS/AliITSClusterFinderV2SSD.h @@ -1,5 +1,10 @@ #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 // @@ -9,36 +14,40 @@ // // 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); + virtual void RawdataToClusters(AliRawReader* rawReader); 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); + 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