KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members

Graphical interface tool for managing, creating, testing and fitting identification grids.

http://indra.in2p3.fr/kaliveda/images/newIDgridManager.png

Definition at line 28 of file KVIDGridManagerGUI.h.

Public Member Functions

 KVIDGridManagerGUI ()
 
virtual ~ KVIDGridManagerGUI ()
 
void ActivateToolbarButtons ()
 disable all buttons More...
 
 ClassDef (KVIDGridManagerGUI, 0) TFile *TestIdentificationWithTree(KVIDGraph *gr
 
void ClearGrid ()
 deletes all lines in currently selected grid(s) More...
 
void CloseWindow ()
 close viewer More...
 
void CopyGrid ()
 
void CreateAndFillTabs ()
 
void DeleteAllGridsInTab ()
 delete the all grids in currently selected tab More...
 
void DeleteGrids ()
 delete the current selected grid, or all currently selected grids if there are more than one More...
 
void DeleteSelectedGrids ()
 warning message and confirmation More...
 
void FitGrid ()
 
Int_t GetNSelected ()
 returns current number of selected items in grid list More...
 
void HandleGridsMenu (Int_t id)
 Receive signals emitted by items selected in Grids menu. More...
 
void MergeGrids ()
 
void NewCut ()
 
void NewGrid ()
 
void NewIDContour ()
 
void NewIDLine ()
 
void OpenFile ()
 
void OpenRootFile ()
 
void Quit ()
 
void RemoveEmptyTabs ()
 Recursively remove any empty tabs. More...
 
void SaveCurrent ()
 
void SaveGridsAs (const TCollection *=0)
 
void SelectionChanged ()
 
void SetIDTelescopes ()
 Set ID telescopes for selected grid. More...
 
void ShowListOfLines ()
 
void StartEditor ()
 
void StartEditor (TObject *)
 Info("StartEditor(TObject*)", "obj=%p", o);. More...
 
void TabSelect (Int_t)
 called when a new tab is selected More...
 
void TestGrid ()
 
void TestTreeGrid ()
 
void UpdateListOfGrids ()
 
void UpdateListOfLines ()
 
void UpdateTabs ()
 
- Public Member Functions inherited from TGMainFrame
 TGMainFrame (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=kVerticalFrame)
 
virtual ~TGMainFrame ()
 
virtual Bool_t BindKey (const TGWindow *w, Int_t keycode, Int_t modifier) const
 
void DontCallClose ()
 
TListGetBindList () const
 
void GetClassHints (const char *&className, const char *&resourceName) const
 
const char * GetIconName () const
 
const char * GetIconPixmap () const
 
void GetMWMHints (UInt_t &value, UInt_t &funcs, UInt_t &input) const
 
const char * GetWindowName () const
 
void GetWMPosition (Int_t &x, Int_t &y) const
 
void GetWMSize (UInt_t &w, UInt_t &h) const
 
void GetWMSizeHints (UInt_t &wmin, UInt_t &hmin, UInt_t &wmax, UInt_t &hmax, UInt_t &winc, UInt_t &hinc) const
 
EInitialState GetWMState () const
 
virtual Bool_t HandleButton (Event_t *event)
 
virtual Bool_t HandleClientMessage (Event_t *event)
 
virtual Bool_t HandleKey (Event_t *event)
 
virtual Bool_t HandleMotion (Event_t *event)
 
virtual Bool_t HandleSelection (Event_t *event)
 
virtual Bool_t HandleSelectionRequest (Event_t *event)
 
virtual void RemoveBind (const TGWindow *w, Int_t keycode, Int_t modifier) const
 
virtual Bool_t SaveFrameAsCodeOrImage ()
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
virtual void SaveSource (const char *filename="Rootappl.C", Option_t *option="")
 
virtual void SendCloseMessage ()
 
void SetClassHints (const char *className, const char *resourceName)
 
void SetIconName (const char *name)
 
void SetIconPixmap (char **xpm_array)
 
const TGPictureSetIconPixmap (const char *iconName)
 
void SetMWMHints (UInt_t value, UInt_t funcs, UInt_t input)
 
void SetWindowName (const char *name=0)
 
void SetWMPosition (Int_t x, Int_t y)
 
void SetWMSize (UInt_t w, UInt_t h)
 
void SetWMSizeHints (UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
 
void SetWMState (EInitialState state)
 
- Public Member Functions inherited from TGCompositeFrame
 TGCompositeFrame (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
 
 TGCompositeFrame (TGClient *c, Window_t id, const TGWindow *parent=nullptr)
 
virtual ~TGCompositeFrame ()
 
virtual void AddFrame (TGFrame *f, TGLayoutHints *l=0)
 
virtual void ChangeOptions (UInt_t options)
 
virtual void ChangeSubframesBackground (Pixel_t back)
 
virtual void Cleanup ()
 
virtual TGFrameElementFindFrameElement (TGFrame *f) const
 
virtual UInt_t GetDefaultHeight () const
 
virtual TGDimension GetDefaultSize () const
 
virtual UInt_t GetDefaultWidth () const
 
virtual TGFrameGetFrameFromPoint (Int_t x, Int_t y)
 
virtual TGLayoutManagerGetLayoutManager () const
 
virtual TListGetList () const
 
Int_t GetState (TGFrame *f) const
 
virtual Bool_t HandleCrossing (Event_t *)
 
virtual Bool_t HandleDoubleClick (Event_t *)
 
virtual Bool_t HandleDragDrop (TGFrame *frame, Int_t x, Int_t y, TGLayoutHints *lo)
 
virtual Bool_t HandleDragEnter (TGFrame *)
 
virtual Bool_t HandleDragLeave (TGFrame *)
 
virtual Bool_t HandleDragMotion (TGFrame *)
 
virtual Bool_t HandleFocusChange (Event_t *)
 
virtual void HideFrame (TGFrame *f)
 
Bool_t IsArranged (TGFrame *f) const
 
Bool_t IsArranged (TGFrameElement *ptr) const
 
Bool_t IsComposite () const
 
virtual Bool_t IsEditable () const
 
virtual Bool_t IsLayoutBroken () const
 
virtual Bool_t IsMapSubwindows () const
 
Bool_t IsVisible (TGFrame *f) const
 
Bool_t IsVisible (TGFrameElement *ptr) const
 
virtual void Layout ()
 
virtual void MapSubwindows ()
 
virtual Int_t MustCleanup () const
 
virtual void Print (Option_t *option="") const
 
virtual Bool_t ProcessMessage (Long_t, Long_t, Long_t)
 
virtual void RemoveAll ()
 
virtual void RemoveFrame (TGFrame *f)
 
virtual void SavePrimitiveSubframes (std::ostream &out, Option_t *option="")
 
virtual void SetCleanup (Int_t mode=kLocalCleanup)
 
virtual void SetEditable (Bool_t on=kTRUE)
 
virtual void SetEditDisabled (UInt_t on=1)
 
virtual void SetLayoutBroken (Bool_t on=kTRUE)
 
virtual void SetLayoutManager (TGLayoutManager *l)
 
virtual void SetMapSubwindows (Bool_t on)
 
virtual void ShowFrame (TGFrame *f)
 
virtual Bool_t TranslateCoordinates (TGFrame *child, Int_t x, Int_t y, Int_t &fx, Int_t &fy)
 
- Public Member Functions inherited from TGFrame
 TGFrame (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
 
 TGFrame (TGClient *c, Window_t id, const TGWindow *parent=nullptr)
 
virtual ~TGFrame ()
 
virtual void Activate (Bool_t)
 
void AddInput (UInt_t emask)
 
virtual void ChangeBackground (Pixel_t back)
 
Bool_t Contains (Int_t x, Int_t y) const
 
virtual void Delete (Option_t *="")
 
virtual void DeleteWindow ()
 
virtual void DrawBorder ()
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *="") const
 
virtual void DrawCopy (Handle_t, Int_t, Int_t)
 
virtual void Dump () const
 
virtual Pixel_t GetBackground () const
 
Int_t GetBorderWidth () const
 
virtual TDNDDataGetDNDData (Atom_t)
 
virtual Int_t GetDragType () const
 
virtual Int_t GetDropType () const
 
UInt_t GetEventMask () const
 
virtual Pixel_t GetForeground () const
 
TGFrameElementGetFrameElement () const
 
UInt_t GetHeight () const
 
UInt_t GetMaxHeight () const
 
UInt_t GetMaxWidth () const
 
UInt_t GetMinHeight () const
 
UInt_t GetMinWidth () const
 
virtual UInt_t GetOptions () const
 
TGDimension GetSize () const
 
UInt_t GetWidth () const
 
Int_t GetX () const
 
Int_t GetY () const
 
virtual Bool_t HandleColormapChange (Event_t *)
 
virtual Bool_t HandleConfigureNotify (Event_t *event)
 
virtual Bool_t HandleDNDDrop (TDNDData *)
 
virtual Atom_t HandleDNDEnter (Atom_t *)
 
virtual Bool_t HandleDNDFinished ()
 
virtual Bool_t HandleDNDLeave ()
 
virtual Atom_t HandleDNDPosition (Int_t, Int_t, Atom_t, Int_t, Int_t)
 
virtual Bool_t HandleEvent (Event_t *event)
 
virtual Bool_t HandleSelectionClear (Event_t *)
 
virtual void Inspect () const
 
virtual Bool_t IsActive () const
 
Bool_t IsDNDSource () const
 
Bool_t IsDNDTarget () const
 
virtual void MapRaised ()
 
virtual void MapWindow ()
 
virtual void Move (Int_t x, Int_t y)
 
virtual void MoveResize (Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
 
virtual void ProcessedConfigure (Event_t *event)
 
virtual void ProcessedEvent (Event_t *event)
 
virtual void ReallyDelete ()
 
void RemoveInput (UInt_t emask)
 
virtual void ReparentWindow (const TGWindow *p, Int_t x=0, Int_t y=0)
 
virtual void Resize (TGDimension size)
 
virtual void Resize (UInt_t w=0, UInt_t h=0)
 
void SaveUserColor (std::ostream &out, Option_t *)
 
virtual void SendMessage (const TGWindow *w, Long_t msg, Long_t parm1, Long_t parm2)
 
virtual void SetBackgroundColor (Pixel_t back)
 
void SetDNDSource (Bool_t onoff)
 
void SetDNDTarget (Bool_t onoff)
 
virtual void SetDragType (Int_t type)
 
virtual void SetDrawOption (Option_t *="")
 
virtual void SetDropType (Int_t type)
 
virtual void SetForegroundColor (Pixel_t)
 
void SetFrameElement (TGFrameElement *fe)
 
virtual void SetHeight (UInt_t h)
 
virtual void SetMaxHeight (UInt_t h)
 
virtual void SetMaxWidth (UInt_t w)
 
virtual void SetMinHeight (UInt_t h)
 
virtual void SetMinWidth (UInt_t w)
 
virtual void SetSize (const TGDimension &s)
 
virtual void SetWidth (UInt_t w)
 
virtual void SetX (Int_t x)
 
virtual void SetY (Int_t y)
 
virtual void UnmapWindow ()
 
- Public Member Functions inherited from TGWindow
 TGWindow (const TGWindow *p=0, Int_t x=0, Int_t y=0, UInt_t w=0, UInt_t h=0, UInt_t border=0, Int_t depth=0, UInt_t clss=0, void *visual=0, SetWindowAttributes_t *attr=0, UInt_t wtype=0)
 
 TGWindow (TGClient *c, Window_t id, const TGWindow *parent=0)
 
virtual ~TGWindow ()
 
virtual void DestroySubwindows ()
 
virtual void DestroyWindow ()
 
virtual UInt_t GetEditDisabled () const
 
virtual const TGWindowGetMainFrame () const
 
virtual const char * GetName () const
 
const TGWindowGetParent () const
 
virtual Bool_t HandleExpose (Event_t *event)
 
virtual Bool_t HandleIdleEvent (TGIdleHandler *)
 
virtual Bool_t HandleTimer (TTimer *)
 
virtual void IconifyWindow ()
 
virtual Bool_t IsMapped ()
 
virtual void LowerWindow ()
 
virtual void RaiseWindow ()
 
virtual void RequestFocus ()
 
virtual void SetBackgroundPixmap (Pixmap_t pixmap)
 
virtual void SetName (const char *name)
 
- Public Member Functions inherited from TGObject
 TGObject ()
 
 TGObject (const TGObject &tgo)
 
virtual ~TGObject ()
 
TGClientGetClient () const
 
Handle_t GetId () const
 
ULong_t Hash () const
 
Bool_t IsEqual (const TObject *obj) const
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 
virtual ~TObject ()
 
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Copy (TObject &object) const
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 
virtual UInt_t GetUniqueID () const
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete[] (void *ptr)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetUniqueID (UInt_t uid)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 
- Public Member Functions inherited from TQObject
 TQObject ()
 
virtual ~TQObject ()
 
Bool_t AreSignalsBlocked () const
 
Bool_t BlockSignals (Bool_t b)
 
virtual void ChangedBy (const char *method)
 
void CollectClassSignalLists (TList &list, TClass *cls)
 
Bool_t Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot)
 
virtual void Connected (const char *)
 
virtual void Destroyed ()
 
Bool_t Disconnect (const char *signal=0, void *receiver=0, const char *slot=0)
 
virtual void Disconnected (const char *)
 
void Emit (const char *signal)
 
void Emit (const char *signal, const T &arg)
 
void EmitVA (const char *signal_name, Int_t, const T &... params)
 
TListGetListOfClassSignals () const
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 
virtual void HighPriority (const char *signal_name, const char *slot_name=0)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=0)
 
virtual void Message (const char *msg)
 
virtual Int_t NumberOfConnections () const
 
virtual Int_t NumberOfSignals () const
 

Public Attributes

const Char_tname_of_data_histo
 
- Public Attributes inherited from TGWindow
 kEditDisable
 
 kEditDisableBtnEnable
 
 kEditDisableEvents
 
 kEditDisableGrab
 
 kEditDisableHeight
 
 kEditDisableKeyEnable
 
 kEditDisableLayout
 
 kEditDisableResize
 
 kEditDisableWidth
 
 kEditEnable
 
 kIsHtmlView
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 

Private Types

enum  {
  M_GRIDS_NEW , M_GRIDS_READ , M_GRIDS_SAVE_SEL , M_GRIDS_SAVE_TAB ,
  M_GRIDS_SAVE_ALL , M_GRIDS_DEL_SEL , M_GRIDS_DEL_TAB , M_GRIDS_DEL_ALL ,
  M_GRIDS_SET_RUNLIST , M_GRIDS_SET_VARX , M_GRIDS_SET_VARY , M_GRIDS_SET_MASSFORM ,
  M_GRIDS_SET_ZID , M_GRIDS_CLEAR , ID_LIST_BOX , M_QUIT
}
 

Private Member Functions

TCollectionGetAllGridsInTab ()
 
void SetStatus (const Char_t *text="")
 

Private Attributes

KVListViewfCUTInfoList
 list of lines in currently selected grid More...
 
KVListViewfCUTList
 list of lines in currently selected grid More...
 
TString fFileName
 
Int_t fFirstGrid
 
TGTabfGridListTabs
 tabs with lists of grids More...
 
TGHorizontalFramefHframe
 
KVIDGridEditorfIDGridEditor
 ID grid editor. More...
 
KVListViewfIDGridList
 list of grids in current tab More...
 
KVListViewfIDLineList
 list of lines in currently selected grid More...
 
Int_t fLastGrid
 
KVIDGraphfLastSelectedGrid
 
TGMenuBarfMenuBar
 
TGLayoutHintsfMenuBarHelpLayout
 
TGLayoutHintsfMenuBarItemLayout
 
TGPopupMenufMenuEdit
 
TGPopupMenufMenuFile
 TGMainFrame* fMain;. More...
 
TGPopupMenufMenuHelp
 
Int_t fNbButtons
 
std::unique_ptr< TListfSelectedEntries
 
KVIDGraphfSelectedGrid
 
TGStatusBarfStatusBar
 
TGButtonfTBbuttons [50]
 
TGButtonfTBCopyG
 
TGButtonfTBDelG
 
TGButtonfTBFit
 
TGButtonfTBNewCut
 
TGButtonfTBNewG
 
TGButtonfTBNewIDC
 
TGButtonfTBNewIDL
 
TGButtonfTBOpen
 
TGButtonfTBOpenRoot
 
TGButtonfTBRefresh
 
TGButtonfTBSave
 
TGButtonfTBSetIDG
 
TGButtonfTBStartEditor
 
TGButtonfTBTest
 
TGButtonfTBTestTree
 
TGToolBarfToolBar
 

Additional Inherited Members

- Public Types inherited from TGWindow
enum  EEditMode
 
enum  EStatusBits
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TGFrame
static const TGGCGetBckgndGC ()
 
static const TGGCGetBlackGC ()
 
static Pixel_t GetBlackPixel ()
 
static Pixel_t GetDefaultFrameBackground ()
 
static Pixel_t GetDefaultSelectedBackground ()
 
static const TGGCGetHilightGC ()
 
static const TGGCGetShadowGC ()
 
static const TGGCGetWhiteGC ()
 
static Pixel_t GetWhitePixel ()
 
- Static Public Member Functions inherited from TGWindow
static Int_t GetCounter ()
 
- Static Public Member Functions inherited from TObject
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 
static Bool_t BlockAllSignals (Bool_t b)
 
static Bool_t Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=0, const char *slot=0)
 
static Bool_t Disconnect (TQObject *sender, const char *signal=0, void *receiver=0, const char *slot=0)
 
- Protected Member Functions inherited from TGMainFrame
TString GetMWMfuncString () const
 
TString GetMWMinpString () const
 
TString GetMWMvalueString () const
 
- Protected Member Functions inherited from TGFrame
virtual void DoRedraw ()
 
virtual void Draw3dRectangle (UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
 
TString GetOptionString () const
 
const TGResourcePoolGetResourcePool () const
 
virtual voidGetSender ()
 
virtual void StartGuiBuilding (Bool_t on=kTRUE)
 
- Protected Member Functions inherited from TGWindow
 TGWindow (const TGWindow &tgw)
 
 TGWindow (Window_t id)
 
TGWindowoperator= (const TGWindow &tgw)
 
- Protected Member Functions inherited from TGObject
TGObjectoperator= (const TGObject &tgo)
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Member Functions inherited from TQObject
virtual const char * GetSenderClassName () const
 
- Static Protected Member Functions inherited from TGFrame
static Time_t GetLastClick ()
 
- Static Protected Member Functions inherited from TQObject
static Int_t CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot)
 
static TString CompressName (const char *method_name)
 
static Bool_t ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 
- Protected Attributes inherited from TGMainFrame
TListfBindList
 
TString fClassName
 
Atom_tfDNDTypeList
 
TString fIconName
 
TString fIconPixmap
 
UInt_t fMWMFuncs
 
UInt_t fMWMInput
 
UInt_t fMWMValue
 
TString fResourceName
 
TString fWindowName
 
UInt_t fWMHeight
 
UInt_t fWMHeightInc
 
EInitialState fWMInitState
 
UInt_t fWMMaxHeight
 
UInt_t fWMMaxWidth
 
UInt_t fWMMinHeight
 
UInt_t fWMMinWidth
 
UInt_t fWMWidth
 
UInt_t fWMWidthInc
 
Int_t fWMX
 
Int_t fWMY
 
 kDontCallClose
 
- Protected Attributes inherited from TGCompositeFrame
Bool_t fLayoutBroken
 
TGLayoutManagerfLayoutManager
 
TListfList
 
Bool_t fMapSubwindows
 
Int_t fMustCleanup
 
- Protected Attributes inherited from TGFrame
Pixel_t fBackground
 
Int_t fBorderWidth
 
Int_t fDNDState
 
UInt_t fEventMask
 
TGFrameElementfFE
 
UInt_t fHeight
 
UInt_t fMaxHeight
 
UInt_t fMaxWidth
 
UInt_t fMinHeight
 
UInt_t fMinWidth
 
UInt_t fOptions
 
UInt_t fWidth
 
Int_t fX
 
Int_t fY
 
 kDeleteWindowCalled
 
- Protected Attributes inherited from TGWindow
UInt_t fEditDisabled
 
TString fName
 
Bool_t fNeedRedraw
 
const TGWindowfParent
 
- Protected Attributes inherited from TGObject
TGClientfClient
 
Handle_t fId
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 
- Static Protected Attributes inherited from TGCompositeFrame
static TGLayoutHintsfgDefaultHints
 
- Static Protected Attributes inherited from TGFrame
static const TGGCfgBckgndGC
 
static const TGGCfgBlackGC
 
static Pixel_t fgBlackPixel
 
static Window_t fgDbw
 
static Int_t fgDbx
 
static Int_t fgDby
 
static Pixel_t fgDefaultFrameBackground
 
static Pixel_t fgDefaultSelectedBackground
 
static const TGGCfgHilightGC
 
static Bool_t fgInit
 
static UInt_t fgLastButton
 
static Time_t fgLastClick
 
static const TGGCfgShadowGC
 
static UInt_t fgUserColor
 
static const TGGCfgWhiteGC
 
static Pixel_t fgWhitePixel
 
- Static Protected Attributes inherited from TGWindow
static Int_t fgCounter
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked
 

#include <KVIDGridManagerGUI.h>

Inheritance diagram for KVIDGridManagerGUI:
Inheritance graph
[legend]

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
M_GRIDS_NEW 
M_GRIDS_READ 
M_GRIDS_SAVE_SEL 
M_GRIDS_SAVE_TAB 
M_GRIDS_SAVE_ALL 
M_GRIDS_DEL_SEL 
M_GRIDS_DEL_TAB 
M_GRIDS_DEL_ALL 
M_GRIDS_SET_RUNLIST 
M_GRIDS_SET_VARX 
M_GRIDS_SET_VARY 
M_GRIDS_SET_MASSFORM 
M_GRIDS_SET_ZID 
M_GRIDS_CLEAR 
ID_LIST_BOX 
M_QUIT 

Definition at line 34 of file KVIDGridManagerGUI.h.

Constructor & Destructor Documentation

◆ KVIDGridManagerGUI()

KVIDGridManagerGUI::KVIDGridManagerGUI ( )

Definition at line 33 of file KVIDGridManagerGUI.cpp.

◆ ~ KVIDGridManagerGUI()

virtual KVIDGridManagerGUI::~ KVIDGridManagerGUI ( )
virtual

Member Function Documentation

◆ ActivateToolbarButtons()

void KVIDGridManagerGUI::ActivateToolbarButtons ( )

disable all buttons

Definition at line 1197 of file KVIDGridManagerGUI.cpp.

◆ ClassDef()

KVIDGridManagerGUI::ClassDef ( KVIDGridManagerGUI  ,
 
)

◆ ClearGrid()

void KVIDGridManagerGUI::ClearGrid ( )

deletes all lines in currently selected grid(s)

Definition at line 704 of file KVIDGridManagerGUI.cpp.

◆ CloseWindow()

void KVIDGridManagerGUI::CloseWindow ( )
virtual

close viewer

Reimplemented from TGMainFrame.

Definition at line 304 of file KVIDGridManagerGUI.cpp.

◆ CopyGrid()

void KVIDGridManagerGUI::CopyGrid ( )

Definition at line 730 of file KVIDGridManagerGUI.cpp.

◆ CreateAndFillTabs()

void KVIDGridManagerGUI::CreateAndFillTabs ( )

create a tab for each type of ID telescope put a list box for ID grid names on each tab

Definition at line 864 of file KVIDGridManagerGUI.cpp.

◆ DeleteAllGridsInTab()

void KVIDGridManagerGUI::DeleteAllGridsInTab ( )

delete the all grids in currently selected tab

Definition at line 667 of file KVIDGridManagerGUI.cpp.

◆ DeleteGrids()

void KVIDGridManagerGUI::DeleteGrids ( )

delete the current selected grid, or all currently selected grids if there are more than one

Definition at line 640 of file KVIDGridManagerGUI.cpp.

◆ DeleteSelectedGrids()

void KVIDGridManagerGUI::DeleteSelectedGrids ( )

warning message and confirmation

Definition at line 519 of file KVIDGridManagerGUI.cpp.

◆ FitGrid()

void KVIDGridManagerGUI::FitGrid ( )

Definition at line 1550 of file KVIDGridManagerGUI.cpp.

◆ GetAllGridsInTab()

TCollection* KVIDGridManagerGUI::GetAllGridsInTab ( )
inlineprivate

list of all grids (selected or not) in current tab

Definition at line 92 of file KVIDGridManagerGUI.h.

◆ GetNSelected()

Int_t KVIDGridManagerGUI::GetNSelected ( )

returns current number of selected items in grid list

Definition at line 629 of file KVIDGridManagerGUI.cpp.

◆ HandleGridsMenu()

void KVIDGridManagerGUI::HandleGridsMenu ( Int_t  id)

Receive signals emitted by items selected in Grids menu.

reset filename to avoid hitting Save and overwriting previous file

Definition at line 367 of file KVIDGridManagerGUI.cpp.

◆ MergeGrids()

void KVIDGridManagerGUI::MergeGrids ( )

merge 2 grids KVIDGraph *g1 = (KVIDGraph *) fSelectedEntries->At(1); KVIDGraph *g2 = (KVIDGraph *) fSelectedEntries->First(); new KVMergeGridsDialog(g1, g2, fClient->GetDefaultRoot(), this, 10, 10);

Definition at line 805 of file KVIDGridManagerGUI.cpp.

◆ NewCut()

void KVIDGridManagerGUI::NewCut ( )

GUI method to draw a new cut and add it to graph. A dialog box with drop-down list pops up for the user to choose the class of the new cut, unless only one choice is possible, in which case it is used automatically. For each KVIDGraph-derived class, the list of possible cut classes and the default class are define in .kvrootrc by the variables:

[class_name].CutClass: [cut class 1] +[class_name].CutClass: [cut class 2]

  • ... [class_name].DefaultCutClass: [cut class]

Definition at line 1289 of file KVIDGridManagerGUI.cpp.

◆ NewGrid()

void KVIDGridManagerGUI::NewGrid ( )

Create a new identification grid. First we ask the user to select the identification telescope(s) for which this grid will be used. For a given type of ID telescope, several types of grid may be applicable. If so, we ask the user to choose one.

Definition at line 755 of file KVIDGridManagerGUI.cpp.

◆ NewIDContour()

void KVIDGridManagerGUI::NewIDContour ( )
inline

Definition at line 144 of file KVIDGridManagerGUI.h.

◆ NewIDLine()

void KVIDGridManagerGUI::NewIDLine ( )

GUI method to draw a new identifier and add it to graph. A dialog box with drop-down list pops up for the user to choose the class of the new identifier, unless only one choice is possible, in which case it is used automatically. For each KVIDGraph-derived class, the list of possible identifier classes and the default class are define in .kvrootrc by the variables:

[class_name].IDClass: [id class 1] +[class_name].IDClass: [id class 2]

  • ... [class_name].DefaultIDClass: [id class]

Definition at line 1237 of file KVIDGridManagerGUI.cpp.

◆ OpenFile()

void KVIDGridManagerGUI::OpenFile ( )

Definition at line 535 of file KVIDGridManagerGUI.cpp.

◆ OpenRootFile()

void KVIDGridManagerGUI::OpenRootFile ( )

Definition at line 341 of file KVIDGridManagerGUI.cpp.

◆ Quit()

void KVIDGridManagerGUI::Quit ( )
inline

Definition at line 150 of file KVIDGridManagerGUI.h.

◆ RemoveEmptyTabs()

void KVIDGridManagerGUI::RemoveEmptyTabs ( )

Recursively remove any empty tabs.

Definition at line 1090 of file KVIDGridManagerGUI.cpp.

◆ SaveCurrent()

void KVIDGridManagerGUI::SaveCurrent ( )
inline

Definition at line 139 of file KVIDGridManagerGUI.h.

◆ SaveGridsAs()

void KVIDGridManagerGUI::SaveGridsAs ( const TCollection selection = 0)

Opens dialog to choose filename in which to save grids. If selection=0 (default), all grids are saved If selection!=0 only grids in list are saved

Definition at line 820 of file KVIDGridManagerGUI.cpp.

◆ SelectionChanged()

void KVIDGridManagerGUI::SelectionChanged ( )

called any time the selection of grids changes each time, we update: fSelectedEntries : the list of all selected entries GetNSelected() : the number of selected entries fSelectedGrid : the last selected grid (=the only grid selected if GeTNSelected==1) get number of selected items

Definition at line 604 of file KVIDGridManagerGUI.cpp.

◆ SetIDTelescopes()

void KVIDGridManagerGUI::SetIDTelescopes ( )

Set ID telescopes for selected grid.

Definition at line 686 of file KVIDGridManagerGUI.cpp.

◆ SetStatus()

void KVIDGridManagerGUI::SetStatus ( const Char_t text = "")
inlineprivate

set status bar message

Definition at line 99 of file KVIDGridManagerGUI.h.

◆ ShowListOfLines()

void KVIDGridManagerGUI::ShowListOfLines ( )

Called when a grid is selected in list of grids We fill list of all lines in grid If only one grid is selected, we display its lines in the line list If more than one grid is selected, we clear the line list

Definition at line 1157 of file KVIDGridManagerGUI.cpp.

◆ StartEditor() [1/2]

void KVIDGridManagerGUI::StartEditor ( )

Definition at line 314 of file KVIDGridManagerGUI.cpp.

◆ StartEditor() [2/2]

void KVIDGridManagerGUI::StartEditor ( TObject o)

Info("StartEditor(TObject*)", "obj=%p", o);.

Definition at line 331 of file KVIDGridManagerGUI.cpp.

◆ TabSelect()

void KVIDGridManagerGUI::TabSelect ( Int_t  )

called when a new tab is selected

Definition at line 940 of file KVIDGridManagerGUI.cpp.

◆ TestGrid()

void KVIDGridManagerGUI::TestGrid ( )

test the identification with selected grid we search in current pad for the data histogram

Definition at line 1337 of file KVIDGridManagerGUI.cpp.

◆ TestTreeGrid()

void KVIDGridManagerGUI::TestTreeGrid ( )

test the identification with selected grid we search in current pad for the data histogram

Definition at line 1374 of file KVIDGridManagerGUI.cpp.

◆ UpdateListOfGrids()

void KVIDGridManagerGUI::UpdateListOfGrids ( )

remove all existing entries, then fill list from gIDGridManager we update the current pad, in case the displayed grid no longer exists grid buttons are disabled, as any selected grid is deselected cout << "DEBUG: KVIDGridManagerGUI::UpdateListOfGrids(): starting..." << endl;

Definition at line 577 of file KVIDGridManagerGUI.cpp.

◆ UpdateListOfLines()

void KVIDGridManagerGUI::UpdateListOfLines ( )

called when a previously selected grid is modified updates lists of lines

Definition at line 1128 of file KVIDGridManagerGUI.cpp.

◆ UpdateTabs()

void KVIDGridManagerGUI::UpdateTabs ( )

create a tab for each type of ID telescope put a list box for ID grid names on each tab cout << "DEBUG: KVIDGridManagerGUI::UpdateTabs() : starting..." << endl;

Definition at line 958 of file KVIDGridManagerGUI.cpp.

Member Data Documentation

◆ fCUTInfoList

KVListView* KVIDGridManagerGUI::fCUTInfoList
private

list of lines in currently selected grid

Definition at line 60 of file KVIDGridManagerGUI.h.

◆ fCUTList

KVListView* KVIDGridManagerGUI::fCUTList
private

list of lines in currently selected grid

Definition at line 59 of file KVIDGridManagerGUI.h.

◆ fFileName

TString KVIDGridManagerGUI::fFileName
private

Definition at line 89 of file KVIDGridManagerGUI.h.

◆ fFirstGrid

Int_t KVIDGridManagerGUI::fFirstGrid
private

Definition at line 85 of file KVIDGridManagerGUI.h.

◆ fGridListTabs

TGTab* KVIDGridManagerGUI::fGridListTabs
private

tabs with lists of grids

Definition at line 56 of file KVIDGridManagerGUI.h.

◆ fHframe

TGHorizontalFrame* KVIDGridManagerGUI::fHframe
private

Definition at line 55 of file KVIDGridManagerGUI.h.

◆ fIDGridEditor

KVIDGridEditor* KVIDGridManagerGUI::fIDGridEditor
private

ID grid editor.

Definition at line 62 of file KVIDGridManagerGUI.h.

◆ fIDGridList

KVListView* KVIDGridManagerGUI::fIDGridList
private

list of grids in current tab

Definition at line 57 of file KVIDGridManagerGUI.h.

◆ fIDLineList

KVListView* KVIDGridManagerGUI::fIDLineList
private

list of lines in currently selected grid

Definition at line 58 of file KVIDGridManagerGUI.h.

◆ fLastGrid

Int_t KVIDGridManagerGUI::fLastGrid
private

Definition at line 86 of file KVIDGridManagerGUI.h.

◆ fLastSelectedGrid

KVIDGraph* KVIDGridManagerGUI::fLastSelectedGrid
private

Definition at line 88 of file KVIDGridManagerGUI.h.

◆ fMenuBar

TGMenuBar* KVIDGridManagerGUI::fMenuBar
private

Definition at line 54 of file KVIDGridManagerGUI.h.

◆ fMenuBarHelpLayout

TGLayoutHints* KVIDGridManagerGUI::fMenuBarHelpLayout
private

Definition at line 53 of file KVIDGridManagerGUI.h.

◆ fMenuBarItemLayout

TGLayoutHints* KVIDGridManagerGUI::fMenuBarItemLayout
private

Definition at line 52 of file KVIDGridManagerGUI.h.

◆ fMenuEdit

TGPopupMenu* KVIDGridManagerGUI::fMenuEdit
private

Definition at line 32 of file KVIDGridManagerGUI.h.

◆ fMenuFile

TGPopupMenu* KVIDGridManagerGUI::fMenuFile
private

TGMainFrame* fMain;.

Definition at line 31 of file KVIDGridManagerGUI.h.

◆ fMenuHelp

TGPopupMenu* KVIDGridManagerGUI::fMenuHelp
private

Definition at line 33 of file KVIDGridManagerGUI.h.

◆ fNbButtons

Int_t KVIDGridManagerGUI::fNbButtons
private

Definition at line 66 of file KVIDGridManagerGUI.h.

◆ fSelectedEntries

std::unique_ptr<TList> KVIDGridManagerGUI::fSelectedEntries
private

Definition at line 90 of file KVIDGridManagerGUI.h.

◆ fSelectedGrid

KVIDGraph* KVIDGridManagerGUI::fSelectedGrid
private

Definition at line 87 of file KVIDGridManagerGUI.h.

◆ fStatusBar

TGStatusBar* KVIDGridManagerGUI::fStatusBar
private

Definition at line 83 of file KVIDGridManagerGUI.h.

◆ fTBbuttons

TGButton* KVIDGridManagerGUI::fTBbuttons[50]
private

Definition at line 65 of file KVIDGridManagerGUI.h.

◆ fTBCopyG

TGButton* KVIDGridManagerGUI::fTBCopyG
private

Definition at line 70 of file KVIDGridManagerGUI.h.

◆ fTBDelG

TGButton* KVIDGridManagerGUI::fTBDelG
private

Definition at line 77 of file KVIDGridManagerGUI.h.

◆ fTBFit

TGButton* KVIDGridManagerGUI::fTBFit
private

Definition at line 74 of file KVIDGridManagerGUI.h.

◆ fTBNewCut

TGButton* KVIDGridManagerGUI::fTBNewCut
private

Definition at line 73 of file KVIDGridManagerGUI.h.

◆ fTBNewG

TGButton* KVIDGridManagerGUI::fTBNewG
private

Definition at line 69 of file KVIDGridManagerGUI.h.

◆ fTBNewIDC

TGButton* KVIDGridManagerGUI::fTBNewIDC
private

Definition at line 72 of file KVIDGridManagerGUI.h.

◆ fTBNewIDL

TGButton* KVIDGridManagerGUI::fTBNewIDL
private

Definition at line 71 of file KVIDGridManagerGUI.h.

◆ fTBOpen

TGButton* KVIDGridManagerGUI::fTBOpen
private

Definition at line 67 of file KVIDGridManagerGUI.h.

◆ fTBOpenRoot

TGButton* KVIDGridManagerGUI::fTBOpenRoot
private

Definition at line 81 of file KVIDGridManagerGUI.h.

◆ fTBRefresh

TGButton* KVIDGridManagerGUI::fTBRefresh
private

Definition at line 79 of file KVIDGridManagerGUI.h.

◆ fTBSave

TGButton* KVIDGridManagerGUI::fTBSave
private

Definition at line 68 of file KVIDGridManagerGUI.h.

◆ fTBSetIDG

TGButton* KVIDGridManagerGUI::fTBSetIDG
private

Definition at line 78 of file KVIDGridManagerGUI.h.

◆ fTBStartEditor

TGButton* KVIDGridManagerGUI::fTBStartEditor
private

Definition at line 80 of file KVIDGridManagerGUI.h.

◆ fTBTest

TGButton* KVIDGridManagerGUI::fTBTest
private

Definition at line 75 of file KVIDGridManagerGUI.h.

◆ fTBTestTree

TGButton* KVIDGridManagerGUI::fTBTestTree
private

Definition at line 76 of file KVIDGridManagerGUI.h.

◆ fToolBar

TGToolBar* KVIDGridManagerGUI::fToolBar
private

Definition at line 64 of file KVIDGridManagerGUI.h.

◆ name_of_data_histo

const Char_t* KVIDGridManagerGUI::name_of_data_histo

Definition at line 158 of file KVIDGridManagerGUI.h.


The documentation for this class was generated from the following files: