]>
Commit | Line | Data |
---|---|---|
b69620f8 | 1 | #ifndef ALIITSURECONSTRUCTOR_H |
2 | #define ALIITSURECONSTRUCTOR_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id: AliITSUReconstructor.h 54053 2012-01-22 22:12:15Z masera $ */ | |
7 | /////////////////////////////////////////////////////////////////////////////// | |
8 | // // | |
9 | // class for ITS reconstruction // | |
10 | // // | |
11 | /////////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | #include "AliReconstructor.h" | |
14 | #include "AliITSURecoParam.h" | |
ee52e7b5 | 15 | #include "AliITSURecoDet.h" |
b69620f8 | 16 | |
17 | class AliTracker; | |
18 | class AliTrackleter; | |
19 | class AliITSUGeomTGeo; | |
20 | ||
21 | class AliITSUReconstructor: public AliReconstructor { | |
22 | public: | |
23 | AliITSUReconstructor(); | |
24 | virtual ~AliITSUReconstructor(); | |
889b1493 | 25 | virtual void Init(); |
26 | virtual void Reconstruct(TTree *digitsTree, TTree *clustersTree) const; | |
27 | virtual void Reconstruct(AliRawReader*, TTree*) const {}; | |
28 | // | |
29 | virtual AliTracker* CreateTracker() const; | |
30 | virtual AliVertexer* CreateVertexer() const; | |
b69620f8 | 31 | virtual AliTrackleter* CreateMultFinder() const; |
32 | virtual AliTracker* CreateTrackleter() const; | |
889b1493 | 33 | // |
d9d5cc43 | 34 | virtual const char* GetDetectorName() const {return "ITS";} |
889b1493 | 35 | // |
36 | TClonesArray* GetClusters(Int_t lrID) const {return fClusters ? fClusters[lrID] : 0;} | |
37 | AliITSUGeomTGeo* GetGeom() const {return (AliITSUGeomTGeo*)fGeom;} | |
3d4dc3e2 | 38 | AliITSURecoDet* GetITSInterface(); |
889b1493 | 39 | // |
ee52e7b5 | 40 | Int_t LoadClusters(TTree* treeRP) {return GetITSInterface()->LoadClusters(treeRP);} |
889b1493 | 41 | // |
b69620f8 | 42 | static const AliITSURecoParam* GetRecoParam() { |
43 | return dynamic_cast<const AliITSURecoParam*>(AliReconstructor::GetRecoParam(0)); } | |
44 | ||
45 | private: | |
46 | AliITSUReconstructor(const AliITSUReconstructor &); //Not implemented | |
47 | AliITSUReconstructor& operator=(const AliITSUReconstructor &); //Not implemented | |
889b1493 | 48 | AliITSUGeomTGeo* fGeom; // geometry wrapper |
3d4dc3e2 | 49 | AliITSURecoDet* fITS; // interface to ITS (reconstruction oriented) |
b69620f8 | 50 | TObjArray fClusterFinders; // array of clusterfinders per layer |
889b1493 | 51 | TClonesArray** fClusters; // container for recpoints TClonesArrays |
b69620f8 | 52 | // |
53 | ClassDef(AliITSUReconstructor, 0) // class for the ITSU reconstruction | |
54 | }; | |
55 | ||
56 | #endif |