Save root directory before opening file
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderV2SSD.h
CommitLineData
04366a57 1#ifndef ALIITSCLUSTERFINDERV2SSD_H
2#define ALIITSCLUSTERFINDERV2SSD_H
3//--------------------------------------------------------------
4// ITS clusterer V2 for SSD
5//
6// This can be a "wrapping" for the V1 cluster finding classes
7// if compiled with uncommented "#define V1" line
8// in the AliITSclustererV2.cxx file.
9//
10// Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
11//--------------------------------------------------------------
12#include "AliITSClusterFinderV2.h"
3a4139a2 13#include "AliITSDetTypeRec.h"
04366a57 14
15class TClonesArray;
16class AliRawReader;
17class AliITSRawStream;
3a4139a2 18class AliITSRawStreamSSD;
19class AliITSCalibrationSSD;
04366a57 20
21class AliITSClusterFinderV2SSD : public AliITSClusterFinderV2 {
22public:
8ba39da9 23 AliITSClusterFinderV2SSD(AliITSDetTypeRec* dettyp);
04366a57 24 virtual ~AliITSClusterFinderV2SSD(){;}
25 virtual void FindRawClusters(Int_t mod);
26 virtual void RawdataToClusters(AliRawReader* rawReader,TClonesArray** clusters);
27 protected:
28
29 void FindClustersSSD(TClonesArray *digits);
30 void FindClustersSSD(Ali1Dcluster* neg, Int_t nn,
31 Ali1Dcluster* pos, Int_t np,
32 TClonesArray *clusters=0x0);
33
3a4139a2 34 void FindClustersSSD(AliITSRawStreamSSD* input,TClonesArray** clusters);
35 virtual AliITSCalibrationSSD* GetResp(Int_t mod)const{
36 return (AliITSCalibrationSSD*) fDetTypeRec->GetCalibrationModel(mod);}
04366a57 37
38 Int_t fLastSSD1; //index of the last SSD1 detector
39 Float_t fYpitchSSD; //strip pitch (cm)
40 Float_t fHwSSD; //half-width of an SSD detector (cm)
41 Float_t fHlSSD; //half-length of an SSD detector (cm)
42 Float_t fTanP; //tangent of the stereo angle on the P side
43 Float_t fTanN; //tangent of the stereo angle on the N side
44
c157c94e 45 static Short_t*fPairs; //array used to build positive-negative pairs
46 static Int_t fPairsSize; //actual size of pairs array
04366a57 47
48 ClassDef(AliITSClusterFinderV2SSD,1) // ITS cluster finder V2 for SDD
49};
50
51#endif