2 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * See cxx source for full Copyright notice */
6 /***********************************************************************
7 This editor appears in the Reve window when v0 are visualize.
8 It allows to select the v0 as a function of some useful parameters.
10 Ludovic Gaudichet (gaudichet@to.infn.it)
11 ************************************************************************/
13 #ifndef ALIEVE_V0Editors_H
14 #define ALIEVE_V0Editors_H
16 #include <TGedFrame.h>
21 class TRootEmbeddedCanvas;
23 class TGCompositeFrame;
29 class RGDoubleValuator;
36 class V0ListEditor : public TGedFrame
38 V0ListEditor(const V0ListEditor&); // Not implemented
39 V0ListEditor& operator=(const V0ListEditor&); // Not implemented
42 V0List* fMList; // fModel dynamic-casted to V0ListEditor
44 TGCheckButton* fRnrV0sDaugh;
45 TGCheckButton* fRnrV0vtx;
46 TGCheckButton* fRnrV0path;
52 static const Int_t fgkNRange = 13;
53 Reve::RGDoubleValuator *fRange[fgkNRange];
55 static const Int_t fgkNCanvas = 14;
56 TRootEmbeddedCanvas *fCanvasA[fgkNCanvas];
57 TRootEmbeddedCanvas *fCanvasB[fgkNCanvas];
59 TGCompositeFrame* AddTab(TGTab *tab, Int_t i, Int_t can, char *name);
60 TGCompositeFrame** CreateTab(TGTab **pMainTab, TGTab **ptab, Int_t can);
62 void UpdateAll(Int_t iCanA);
65 void AddValuator(TGCompositeFrame* frame, char *name,
66 Float_t min, Float_t max, Int_t pres, char *func,
71 V0ListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
72 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
75 virtual void SetModel(TObject* obj);
76 void DoRnrDaughters();
80 void UpdateSelectedTab();
81 void AdjustHist(Int_t iHist);
86 void MassAntiLamRange();
87 void ESDv0IndexRange();
88 void CosPointingRange();
89 void DaughterDcaRange();
98 ClassDef(V0ListEditor, 1); // Editor for V0List
99 }; // endclass V0ListEditor
101 } // end namespace Alieve