Line data Source code
1 : #ifndef ALIITSRECONSTRUCTOR_H
2 : #define ALIITSRECONSTRUCTOR_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /* $Id$ */
7 : ///////////////////////////////////////////////////////////////////////////////
8 : // //
9 : // class for ITS reconstruction //
10 : // //
11 : ///////////////////////////////////////////////////////////////////////////////
12 :
13 : #include "AliReconstructor.h"
14 : #include "AliITSRecoParam.h"
15 : #include "AliITSDetTypeRec.h"
16 : #include "AliITSRecPointContainer.h"
17 : class AliESDpid;
18 : class AliITSgeom;
19 : class AliTracker;
20 : class AliTrackleter;
21 : class AliITStrackerMI;
22 :
23 : class AliITSReconstructor: public AliReconstructor {
24 : public:
25 : AliITSReconstructor();
26 : virtual ~AliITSReconstructor();
27 : virtual void Init();
28 : virtual void GetPidSettings(AliESDpid *ESDpid);
29 : virtual void Reconstruct(AliRawReader* rawReader, TTree* clustersTree) const;
30 : virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
31 :
32 : virtual AliTracker* CreateTracker() const;
33 : virtual AliVertexer* CreateVertexer() const;
34 : virtual AliTrackleter* CreateMultFinder() const;
35 :
36 : virtual void FillESD(TTree* /*digitsTree*/, TTree* clustersTree,
37 : AliESDEvent* /* esd */) const;
38 : virtual void FillESD(AliRawReader* /*rawReader*/, TTree* clustersTree,
39 : AliESDEvent* esd) const
40 8 : {FillESD((TTree*)NULL, clustersTree, esd);}
41 4 : virtual void Terminate() const {AliITSRecPointContainer::Destroy();}
42 :
43 1382368 : static const AliITSRecoParam* GetRecoParam() { return dynamic_cast<const AliITSRecoParam*>(AliReconstructor::GetRecoParam(0)); }
44 :
45 0 : static void SetCheckInvariant(Bool_t v) {fgkCheckInvariant = v;}
46 48 : static Bool_t GetCheckInvariant() {return fgkCheckInvariant;}
47 :
48 : private:
49 : AliITSReconstructor(const AliITSReconstructor &); //Not implemented
50 : AliITSReconstructor& operator=(const AliITSReconstructor &); //Not implemented
51 :
52 : //data
53 : AliITSDetTypeRec *fDetTypeRec; // reconstructor
54 :
55 : static Bool_t fgkCheckInvariant; // allow or forbid AliITStrackV2::CheckInvariant
56 :
57 206 : ClassDef(AliITSReconstructor, 6) // class for the ITS reconstruction
58 : };
59 :
60 : #endif
|