]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSClusterFinderV2SSD.h
Fix for the case of non-existent calibration files
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderV2SSD.h
CommitLineData
04366a57 1#ifndef ALIITSCLUSTERFINDERV2SSD_H
2#define ALIITSCLUSTERFINDERV2SSD_H
42ed6062 3/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
04366a57 8//--------------------------------------------------------------
9// ITS clusterer V2 for SSD
10//
11// This can be a "wrapping" for the V1 cluster finding classes
12// if compiled with uncommented "#define V1" line
13// in the AliITSclustererV2.cxx file.
14//
15// Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
16//--------------------------------------------------------------
5d2c2f86 17#include "AliITSClusterFinder.h"
3a4139a2 18#include "AliITSDetTypeRec.h"
6c8e94cf 19#include "AliRefArray.h"
04366a57 20
21class TClonesArray;
22class AliRawReader;
23class AliITSRawStream;
3a4139a2 24class AliITSRawStreamSSD;
25class AliITSCalibrationSSD;
04366a57 26
5d2c2f86 27class AliITSClusterFinderV2SSD : public AliITSClusterFinder {
04366a57 28public:
8ba39da9 29 AliITSClusterFinderV2SSD(AliITSDetTypeRec* dettyp);
04366a57 30 virtual ~AliITSClusterFinderV2SSD(){;}
31 virtual void FindRawClusters(Int_t mod);
01ef1bd4 32 virtual void RawdataToClusters(AliRawReader* rawReader);
04366a57 33 protected:
308b5ea4 34 AliITSClusterFinderV2SSD(const AliITSClusterFinderV2SSD& cf);
35 AliITSClusterFinderV2SSD& operator=(const AliITSClusterFinderV2SSD& cf );
04366a57 36 void FindClustersSSD(TClonesArray *digits);
18f63405 37 void FindClustersSSD(const Ali1Dcluster* neg, Int_t nn,
38 const Ali1Dcluster* pos, Int_t np,
d1781ed9 39 TClonesArray *clusters=0x0);
04366a57 40
01ef1bd4 41 void FindClustersSSD(AliITSRawStreamSSD* input);
3a4139a2 42 virtual AliITSCalibrationSSD* GetResp(Int_t mod)const{
b4ba7182 43 return (AliITSCalibrationSSD*) GetDetTypeRec()->GetCalibrationModel(mod);}
04366a57 44
45 Int_t fLastSSD1; //index of the last SSD1 detector
66b89079 46 Float_t fLorentzShiftP; // Shift due to ExB on drift N-side @ actual B field, layer 5, units: strip width
47 Float_t fLorentzShiftN; // Shift due to ExB on drift P-side @ actual B field, layer 5, units: strip width
6c8e94cf 48 AliRefArray fRawIDRef[2]; // storage for rawID -> ClusterID (used in embedding)
308b5ea4 49 static Short_t* fgPairs; //array used to build positive-negative pairs
50 static Int_t fgPairsSize; //actual size of pairs array
42ed6062 51 static const Float_t fgkCosmic2008StripShifts[16][9]; // Shifts for 2007/2008 Cosmic data (timing problem)
d695268b 52 static const Float_t fgkThreshold; // threshold for the seed
04366a57 53
d695268b 54 ClassDef(AliITSClusterFinderV2SSD,4) // ITS cluster finder V2 for SDD
04366a57 55};
56
57#endif