Added two missing includes to allow macro compilation (thanks to Laurent for remarkin...
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderV2SDD.h
CommitLineData
04366a57 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//--------------------------------------------------------------
5d2c2f86 12#include "AliITSClusterFinder.h"
5bfe44ce 13#include "AliITSDetTypeRec.h"
04366a57 14
15class TClonesArray;
16class AliRawReader;
17class AliITSRawStream;
5bfe44ce 18class AliITSCalibrationSDD;
19class AliITSsegmentationSDD;
04366a57 20
5d2c2f86 21class AliITSClusterFinderV2SDD : public AliITSClusterFinder {
04366a57 22public:
8ba39da9 23 AliITSClusterFinderV2SDD(AliITSDetTypeRec* dettyp);
04366a57 24 virtual ~AliITSClusterFinderV2SDD(){;}
25 virtual void FindRawClusters(Int_t mod);
26 virtual void RawdataToClusters(AliRawReader* rawReader,TClonesArray** clusters);
a66a0eb6 27
93a93288 28 enum {kHybridsPerDDL = 24}; // number of hybrids in each DDL
de075dae 29 enum {kModulesPerDDL = 12}; // number of modules in each DDL
93a93288 30
04366a57 31 protected:
2b025386 32 Bool_t NoiseSuppress(Int_t k, Int_t sid, Int_t nzBins, AliBin* bins, AliITSCalibrationSDD* cal) const;
04366a57 33 void FindClustersSDD(TClonesArray *digits);
34 void FindClustersSDD(AliBin* bins[2], Int_t nMaxBin, Int_t nMaxZ,
de075dae 35 TClonesArray *dig, TClonesArray *clusters=0x0, Int_t jitter=0);
04366a57 36
37 void FindClustersSDD(AliITSRawStream* input,TClonesArray** clusters);
5bfe44ce 38 virtual AliITSCalibrationSDD* GetResp(Int_t mod)const{
39 return (AliITSCalibrationSDD*) fDetTypeRec->GetCalibrationModel(mod);}
40 virtual AliITSsegmentationSDD* GetSeg()const{
41 return (AliITSsegmentationSDD*)fDetTypeRec->GetSegmentationModel(1);}
42
04366a57 43
4952f440 44 ClassDef(AliITSClusterFinderV2SDD,4) // ITS cluster finder V2 for SDD
04366a57 45};
46
47#endif