Line data Source code
1 : #ifndef ALIITSV0FINDER_H
2 : #define ALIITSV0FINDER_H
3 : /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 :
7 : //-------------------------------------------------------------------------
8 : // V0 finder on-the-fly during ITS tracking
9 : // Origin: Marian Ivanov, CERN, Marian.Ivanov@cern.ch
10 : // Extraction to a separate class: Andrea Dainese
11 : // Current support and development:
12 : //-------------------------------------------------------------------------
13 :
14 : /* $Id$ */
15 :
16 : class TTree;
17 : class TTreeSRedirector;
18 : class AliESDEvent;
19 : class AliITStrackerMI;
20 :
21 : //-------------------------------------------------------------------------
22 : class AliITSV0Finder : public TObject {
23 : public:
24 : AliITSV0Finder();
25 : //AliITSV0Finder(const AliITSV0Finder &/*v0Finder*/) {;}
26 : //AliITSV0Finder & operator=(const AliITSV0Finder &/*v0Finder*/) {;}
27 :
28 : virtual ~AliITSV0Finder();
29 :
30 : //try to find V0
31 : static void FindV02(AliESDEvent *event,AliITStrackerMI *tracker);
32 : //try to refit V0's
33 : static void RefitV02(const AliESDEvent *event,AliITStrackerMI *tracker);
34 : //try to update, or reject TPC V0s
35 : static void UpdateTPCV0(const AliESDEvent *event,AliITStrackerMI *tracker);
36 :
37 0 : TTreeSRedirector *GetDebugStreamer() {return fDebugStreamer;}
38 :
39 0 : static void SetDisabled(Bool_t v=kTRUE) {fgDisabled = v;}
40 0 : static Bool_t GetDisabled() {return fgDisabled;}
41 :
42 : protected:
43 : static Bool_t fgDisabled; // possibilidy to disable from reconstruction in cpases
44 :
45 : private:
46 : TTreeSRedirector *fDebugStreamer; //!debug streamer
47 :
48 :
49 : AliITSV0Finder(const AliITSV0Finder& obj);
50 : AliITSV0Finder& operator=(const AliITSV0Finder& obj);
51 :
52 118 : ClassDef(AliITSV0Finder,0) // on-the-fly V0 finder for AliITStrackerMI
53 : };
54 : #endif
|