]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/blacklisted-classes/AliEveV0Editors.h
Temporary fix to avoid xrootd thrashing
[u/mrichter/AliRoot.git] / EVE / Alieve / blacklisted-classes / AliEveV0Editors.h
1 // $Id$
2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4 /**************************************************************************
5  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
11  * See cxx source for full Copyright notice                               */
12
13
14 /***********************************************************************
15   This editor appears in the TEveUtil window when v0 are visualize.
16 It allows to select the v0 as a function of some useful parameters.
17
18 Ludovic Gaudichet (gaudichet@to.infn.it)
19 ************************************************************************/
20
21 #ifndef ALIEVE_V0Editors_H
22 #define ALIEVE_V0Editors_H
23
24 #include <TGedFrame.h>
25
26 class TGCheckButton;
27 class TGNumberEntry;
28 class TGColorSelect;
29 class TRootEmbeddedCanvas;
30 class TH1F;
31 class TGCompositeFrame;
32 class TGTab;
33
34 namespace TEveUtil
35 {
36 class TEveGValuator;
37 class TEveGDoubleValuator;
38 }
39
40 class V0List;
41
42 class V0ListEditor : public TGedFrame
43 {
44   V0ListEditor(const V0ListEditor&);            // Not implemented
45   V0ListEditor& operator=(const V0ListEditor&); // Not implemented
46
47 protected:
48   V0List* fMList; // fModel dynamic-casted to V0ListEditor
49
50   TGCheckButton*     fRnrV0sDaugh;
51   TGCheckButton*     fRnrV0vtx;
52   TGCheckButton*     fRnrV0path;
53
54   TGTab *fMainTabA;
55   TGTab *fMainTabB;
56   TGTab *fTabA[3];
57   TGTab *fTabB[3];
58   static const Int_t fgkNRange = 13;
59   TEveGDoubleValuator    *fRange[fgkNRange];
60
61   static const Int_t fgkNCanvas = 14;
62   TRootEmbeddedCanvas *fCanvasA[fgkNCanvas];
63   TRootEmbeddedCanvas *fCanvasB[fgkNCanvas];
64
65   TGCompositeFrame*  AddTab(TGTab *tab, Int_t i, Int_t can, char *name);
66   TGCompositeFrame** CreateTab(TGTab **pMainTab, TGTab **ptab, Int_t can);
67
68   void UpdateAll(Int_t iCanA);
69   void AddSelectTab();
70   void AddSeeTab();
71   void AddValuator(TGCompositeFrame* frame, char *name,
72                    Float_t min, Float_t max, Int_t pres, char *func,
73                    Int_t iHist);
74
75
76 public:
77   V0ListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
78                   UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
79   ~V0ListEditor();
80
81   virtual void SetModel(TObject* obj);
82   void DoRnrDaughters();
83   void DoRnrV0vtx();
84   void DoRnrV0path();
85   void FillCanvas();
86   void UpdateSelectedTab();
87   void AdjustHist(Int_t iHist);
88   void ResetCuts();
89
90   void MassK0sRange();
91   void MassLamRange();
92   void MassAntiLamRange();
93   void ESDv0IndexRange();
94   void CosPointingRange();
95   void DaughterDcaRange();
96   void RadiusRange();
97   void PtRange();
98   void EtaRange();
99   void NegPtRange();
100   void NegEtaRange();
101   void PosPtRange();
102   void PosEtaRange();
103
104   ClassDef(V0ListEditor, 1); // Editor for V0List
105 }; // endclass V0ListEditor
106
107 #endif