]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSClusterFinderV2SSD.h
Another histos for lumi
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderV2SSD.h
index fcfc6676b63972652067cd9bd4bc7c78958f2e2c..be2cc805edbea31e65201dc8a54ffb0899329b2b 100644 (file)
@@ -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
 //
 //
 //   Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch 
 //--------------------------------------------------------------
-#include "AliITSClusterFinderV2.h"
+#include "AliITSClusterFinder.h"
+#include "AliITSDetTypeRec.h"
+#include "AliRefArray.h"
 
 class TClonesArray;
 class AliRawReader;
 class AliITSRawStream;
+class AliITSRawStreamSSD;
+class AliITSCalibrationSSD;
 
-class AliITSClusterFinderV2SSD : public AliITSClusterFinderV2 {
+class AliITSClusterFinderV2SSD : public AliITSClusterFinder {
 public:
   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,
+  void FindClustersSSD(const Ali1Dcluster* neg, Int_t nn, 
+                      const 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*) GetDetTypeRec()->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
-
-
-  ClassDef(AliITSClusterFinderV2SSD,1)  // ITS cluster finder V2 for SDD
+  Float_t  fLorentzShiftP; // Shift due to ExB on drift N-side @ actual B field, layer 5, units: strip width 
+  Float_t  fLorentzShiftN; // Shift due to ExB on drift P-side @ actual B field, layer 5, units: strip width
+  AliRefArray fRawIDRef[2];   // storage for rawID -> ClusterID (used in embedding)
+  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,4)  // ITS cluster finder V2 for SDD
 };
 
 #endif