]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSClusterFinderV2SDD.h
Add the possibiloity to save cut settings in the ROOT file
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderV2SDD.h
1 #ifndef ALIITSCLUSTERFINDERV2SDD_H
2 #define ALIITSCLUSTERFINDERV2SDD_H
3 //--------------------------------------------------------------
4 //                       ITS clusterer V2 for SDD
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"
13 #include "AliITSDetTypeRec.h"
14
15 class TClonesArray;
16 class AliRawReader;
17 class AliITSRawStream;
18 class AliITSCalibrationSDD;
19 class AliITSsegmentationSDD;
20
21 class AliITSClusterFinderV2SDD : public AliITSClusterFinderV2 {
22 public:
23   AliITSClusterFinderV2SDD(AliITSDetTypeRec* dettyp);
24   virtual ~AliITSClusterFinderV2SDD(){;}
25   virtual void FindRawClusters(Int_t mod);
26   virtual void RawdataToClusters(AliRawReader* rawReader,TClonesArray** clusters);
27  protected:
28
29   void FindClustersSDD(TClonesArray *digits);
30   void FindClustersSDD(AliBin* bins[2], Int_t nMaxBin, Int_t nMaxZ,
31                        TClonesArray *dig, TClonesArray *clusters=0x0);
32
33   void FindClustersSDD(AliITSRawStream* input,TClonesArray** clusters);
34   void CorrectPosition(Float_t &z, Float_t&y);
35   virtual AliITSCalibrationSDD* GetResp(Int_t mod)const{
36     return (AliITSCalibrationSDD*) fDetTypeRec->GetCalibrationModel(mod);}
37   virtual AliITSsegmentationSDD* GetSeg()const{
38     return (AliITSsegmentationSDD*)fDetTypeRec->GetSegmentationModel(1);} 
39
40
41   Int_t fNySDD;           //number of "pixels" in Y
42   Int_t fNzSDD;           //number of "pixels" in Z
43   Float_t fYpitchSDD;     //"pixel size" in Y (drift direction)
44   Float_t fZpitchSDD;     //"pixel sizes" in Z
45   Float_t fHwSDD;         //half width of the SDD detector
46   Float_t fHlSDD;         //half length of the SDD detector
47   Float_t fYoffSDD;       //some delay in the drift channel   
48
49   ClassDef(AliITSClusterFinderV2SDD,1)  // ITS cluster finder V2 for SDD
50 };
51
52 #endif