KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | List of all members
KVDataAnalysisLauncher Class Reference

GUI for running data analysis tasks.

See http://indra.in2p3.fr/kaliveda/KaliVedaGUIDoc/KaliVedaGUI.html

Definition at line 97 of file KVDataAnalysisLauncher.h.

Public Member Functions

 KVDataAnalysisLauncher (const TGWindow *p=0, UInt_t w=200, UInt_t h=400)
 
 ~KVDataAnalysisLauncher ()
 Destructeur. More...
 
void ClearListOfSelectedRuns ()
 Empty displayed list of selected runs. More...
 
virtual void DeselectAll (void)
 Deselect all runs currently in the displayed list of runs. More...
 
void EditUserClassFiles ()
 
virtual void EnterRunlist (void)
 
virtual void Exit (void)
 
virtual const Char_tGetDataSet (void)
 
virtual const Char_tGetRepository (void)
 
virtual const Char_tGetRuns (void)
 
virtual const Char_tGetSystem (void)
 
virtual const Char_tGetTask (void)
 
virtual Bool_t IsBatch (void)
 
virtual void Process (void)
 Run the analysis task. More...
 
virtual void SelectAll (void)
 Select all runs currently in the displayed list of runs. More...
 
void SetBatch ()
 
Bool_t SetBatchParameters ()
 
virtual void SetDataSet (const Char_t *ds="")
 
virtual void SetDataSetList (Char_t *s)
 Sets the list of all available data sets in the data sets combo box. More...
 
virtual void SetRepository (const Char_t *r="")
 
virtual void SetRepositoryList (void)
 Sets the list of all possible repositories in the repository combo box. More...
 
virtual void SetRuns (const Char_t *s="")
 
virtual void SetRunsList ()
 Sets the list of all available runs in the runs list box. More...
 
virtual void SetSystem (const Char_t *s="")
 
virtual void SetSystemList (Int_t s)
 
virtual void SetTask (const Char_t *t="")
 
virtual void SetTaskList (Char_t *s)
 
virtual void SetUserIncludes (void)
 Set the User's includes. More...
 
virtual void SetUserLibraries (void)
 Set the User's libraries. More...
 
void SystemSelectionChanged ()
 
void UpdateListOfSelectedRuns ()
 
void UserClassSelected (char *)
 
virtual Bool_t WarningBox (const char *title="Warning", const char *msg="Warning", Bool_t confirm=kFALSE)
 
- 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
 
virtual void CloseWindow ()
 
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
 

Protected Member Functions

void BuildResourceName (const Char_t *name, TString &, TString &)
 
void DisableUserClassList ()
 Remove all entries from user class combo box & disable text entry. More...
 
void EnableUserClassList ()
 
void FillListOfUserClasses ()
 
void GenerateNewUserClass ()
 
KVDataSetAnalyserGetDataAnalyser (KVDataAnalysisTask *task=0)
 
const Char_tGetResource (const Char_t *name, const Char_t *defaultvalue="")
 
const Char_tGetSavedResource (const Char_t *name, const Char_t *defaultvalue="")
 
const Char_tGetUserClass ()
 Returns currently selected user class name. More...
 
void SetResource (const Char_t *name, const Char_t *value)
 
void SetUserClass (const Char_t *)
 
void SetUserClassList ()
 Sets the list of all available user classes in the drop down list. More...
 
TString SystemBatchName ()
 Get the system name for the batch name. More...
 
- 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
 

Protected Attributes

TGPictureButtonbtEditClass
 
TGComboBoxcbDataSet
 
TGComboBoxcbRepository
 
TGComboBoxcbTask
 
TGComboBoxcbUserClass
 
TGCompositeFramecfAnalysis
 
Bool_t checkCompilation
 
TGTextButtondoBatchParams
 
Int_t entryMax
 
KVNameValueList fBatchParameters
 
UInt_t fMainGuiHeight
 heigth of main window in pixels More...
 
UInt_t fMainGuiWidth
 width of main window in pixels More...
 
TGLabelfUserClassLabel
 
TString fUserIncludes
 
TString fUserLibraries
 
TEnvGUIenv
 Declaration des boutons de la fenetre principale. More...
 
KVDataSetAnalyseria
 
KVDBSystemlastSelectedSystem
 
unique_ptr< TListlist_of_runs
 
KVNumberList listOfRuns
 
KVNumberList listOfSystemRuns
 
KVListViewlvRuns
 
KVListViewlvSystems
 
Int_t NbResNames
 number of names in list More...
 
Bool_t noSystems
 
TListResourceNames
 used by Get/SetResource More...
 
Bool_t selAll
 
TGLabelselectedRuns
 
TGNumberEntryteNbToRead
 
TGTextEntryteUserOptions
 
TListUserClassNames
 list of user classes present in working directory More...
 
TGTextButtonwithBatch
 
- 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
 

Private Types

enum  ElementId {
  CB_DataRepository , CB_AnalysisTask , CB_DataSet , CB_System ,
  CB_Trigger , LB_Runs , B_Libs , B_Incs ,
  B_Process , B_Quit
}
 

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)
 
- 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
 
- 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)
 
- 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 <KVDataAnalysisLauncher.h>

Inheritance diagram for KVDataAnalysisLauncher:
Inheritance graph
[legend]

Member Enumeration Documentation

◆ ElementId

Enumerator
CB_DataRepository 
CB_AnalysisTask 
CB_DataSet 
CB_System 
CB_Trigger 
LB_Runs 
B_Libs 
B_Incs 
B_Process 
B_Quit 

Definition at line 102 of file KVDataAnalysisLauncher.h.

Constructor & Destructor Documentation

◆ KVDataAnalysisLauncher()

KVDataAnalysisLauncher::KVDataAnalysisLauncher ( const TGWindow p = 0,
UInt_t  w = 200,
UInt_t  h = 400 
)

Main window width and height can be set using .kvrootrc variables: KaliVedaGUI.MainGUIWidth: 800 KaliVedaGUI.MainGUIHeight: 600 Maximum column width of runlist can be set using: KaliVedaGUI.MaxColWidth: 500

Definition at line 436 of file KVDataAnalysisLauncher.cpp.

◆ ~KVDataAnalysisLauncher()

KVDataAnalysisLauncher::~KVDataAnalysisLauncher ( )

Destructeur.

Definition at line 756 of file KVDataAnalysisLauncher.cpp.

Member Function Documentation

◆ BuildResourceName()

void KVDataAnalysisLauncher::BuildResourceName ( const Char_t name,
TString cur_res,
TString saved_res 
)
protected

Build the full resource names for storing DataSet, Task, etc.

We store the current state of the interface using the following resource names:

"name" "cur_res" Repository KVDataAnalysisLauncher.Repository DataSet KVDataAnalysisLauncher.DataSet Task KVDataAnalysisLauncher.Task System KVDataAnalysisLauncher.System Trigger KVDataAnalysisLauncher.Trigger RunsList KVDataAnalysisLauncher.RunsList UserClass KVDataAnalysisLauncher.UserClass UserClassOptions KVDataAnalysisLauncher.UserClassOptions KVDataSelector KVDataAnalysisLauncher.KVDataSelector NbEventsToRead KVDataAnalysisLauncher.NbEventsToRead

We also keep a "memory" of all selected configurations using the following resource names:

"name" "saved_res" DataSet KVDataAnalysisLauncher.DataSet.[repository] Task KVDataAnalysisLauncher.Task.[repository].[dataset] System KVDataAnalysisLauncher.System.[repository].[dataset].[task] Trigger KVDataAnalysisLauncher.Trigger.[repository].[dataset].[task].[system] RunsList KVDataAnalysisLauncher.RunsList.[repository].[dataset].[task].[system].[trigger] UserClass KVDataAnalysisLauncher.UserClass.[repository].[dataset].[task].[system].[trigger] UserClassOptions KVDataAnalysisLauncher.UserClassOptions.[repository].[dataset].[task].[system].[trigger].[class] KVDataSelector KVDataAnalysisLauncher.KVDataSelector.[repository].[dataset].[task].[system].[trigger] NbEventsToRead KVDataAnalysisLauncher.NbEventsToRead.[repository].[dataset].[task].[system].[trigger]

N.B. [task]: it is the NAME of the task which is used in the resource name. N.B.2. [system]: it is the name given by SystemBatchName() which is used in the resource name. N.B.3. [trigger]: for the resource name we take "M > 4", "M>=8" "All" etc. and replace all ' ', '>' or '=' by '' to give "M4", "M8", "All", etc.

If name = "Repository", saved_res="" as we do not save it. If the resource cannot be saved because one of the resources that is needed to form the full resource name has not been set, saved_res="". Resource name for current value

Definition at line 1710 of file KVDataAnalysisLauncher.cpp.

◆ ClearListOfSelectedRuns()

void KVDataAnalysisLauncher::ClearListOfSelectedRuns ( )

Empty displayed list of selected runs.

Definition at line 2149 of file KVDataAnalysisLauncher.cpp.

◆ DeselectAll()

void KVDataAnalysisLauncher::DeselectAll ( void  )
virtual

Deselect all runs currently in the displayed list of runs.

Definition at line 1030 of file KVDataAnalysisLauncher.cpp.

◆ DisableUserClassList()

void KVDataAnalysisLauncher::DisableUserClassList ( )
protected

Remove all entries from user class combo box & disable text entry.

Definition at line 2033 of file KVDataAnalysisLauncher.cpp.

◆ EditUserClassFiles()

void KVDataAnalysisLauncher::EditUserClassFiles ( )

If environment variable $EDITOR is set, and if the currently selected user class has available source files, we open them in the user's favourite editor

Definition at line 2075 of file KVDataAnalysisLauncher.cpp.

◆ EnableUserClassList()

void KVDataAnalysisLauncher::EnableUserClassList ( )
protected

Reenable user class combo box & text entry, fill list with all known user classes & select the one corresponding to the current environment

Definition at line 2055 of file KVDataAnalysisLauncher.cpp.

◆ EnterRunlist()

void KVDataAnalysisLauncher::EnterRunlist ( void  )
virtual

Called when user presses "Runlist" button. Open dialogue box in which a runlist can be entered. The runs in the runlist will be selected.

Definition at line 2098 of file KVDataAnalysisLauncher.cpp.

◆ Exit()

virtual void KVDataAnalysisLauncher::Exit ( void  )
inlinevirtual

Definition at line 173 of file KVDataAnalysisLauncher.h.

◆ FillListOfUserClasses()

void KVDataAnalysisLauncher::FillListOfUserClasses ( )
protected

Look at files in working directory & deduce list of user analysis classes. We look for any file ending in '.h'. If we can find a corresponding '.cpp' or '.C' or '.cxx', we consider that it is a user analysis class. This list is used to fill the "User Class" drop-down list. We add "[NEW]" at the end of the list: if selected, this will generate a new user analysis class for the currently selected data & analysis task

Definition at line 1830 of file KVDataAnalysisLauncher.cpp.

◆ GenerateNewUserClass()

void KVDataAnalysisLauncher::GenerateNewUserClass ( )
protected

called when user selects [NEW] in user class list we generate a new analysis class for currently selected data & task the source files are opened in the $EDITOR the new class is selected for the analysis Get name of new class

Definition at line 1938 of file KVDataAnalysisLauncher.cpp.

◆ GetDataAnalyser()

KVDataSetAnalyser * KVDataAnalysisLauncher::GetDataAnalyser ( KVDataAnalysisTask task = 0)
protected

Get analyser for task If task = 0 we return the current analyser

Definition at line 882 of file KVDataAnalysisLauncher.cpp.

◆ GetDataSet()

const Char_t * KVDataAnalysisLauncher::GetDataSet ( void  )
virtual

Definition at line 1169 of file KVDataAnalysisLauncher.cpp.

◆ GetRepository()

const Char_t * KVDataAnalysisLauncher::GetRepository ( void  )
virtual

Definition at line 1155 of file KVDataAnalysisLauncher.cpp.

◆ GetResource()

const Char_t * KVDataAnalysisLauncher::GetResource ( const Char_t name,
const Char_t defaultvalue = "" 
)
protected

Handles resource file ".KVDataAnalysisGUIrc"

We return the current value of the resource "name"

Definition at line 1595 of file KVDataAnalysisLauncher.cpp.

◆ GetRuns()

const Char_t * KVDataAnalysisLauncher::GetRuns ( void  )
virtual

Definition at line 1212 of file KVDataAnalysisLauncher.cpp.

◆ GetSavedResource()

const Char_t * KVDataAnalysisLauncher::GetSavedResource ( const Char_t name,
const Char_t defaultvalue = "" 
)
protected

Handles resource file ".KVDataAnalysisGUIrc"

We look for a stored value of the resource "name" corresponding to the current values of all the resources which come before "name" in the list : Repository DataSet Task System Trigger These values are stored in resources with names like: KVDataAnalysisLauncher.[name].[repository].[dataset]...

If no stored value is found, the defaultvalue is returned

Definition at line 1624 of file KVDataAnalysisLauncher.cpp.

◆ GetSystem()

const Char_t * KVDataAnalysisLauncher::GetSystem ( void  )
virtual

Definition at line 1197 of file KVDataAnalysisLauncher.cpp.

◆ GetTask()

const Char_t * KVDataAnalysisLauncher::GetTask ( void  )
virtual

Definition at line 1183 of file KVDataAnalysisLauncher.cpp.

◆ GetUserClass()

const Char_t * KVDataAnalysisLauncher::GetUserClass ( )
protected

Returns currently selected user class name.

Definition at line 2015 of file KVDataAnalysisLauncher.cpp.

◆ IsBatch()

virtual Bool_t KVDataAnalysisLauncher::IsBatch ( void  )
inlinevirtual

Definition at line 203 of file KVDataAnalysisLauncher.h.

◆ Process()

void KVDataAnalysisLauncher::Process ( void  )
virtual

Run the analysis task.

Definition at line 1042 of file KVDataAnalysisLauncher.cpp.

◆ SelectAll()

void KVDataAnalysisLauncher::SelectAll ( void  )
virtual

Select all runs currently in the displayed list of runs.

Definition at line 1018 of file KVDataAnalysisLauncher.cpp.

◆ SetBatch()

void KVDataAnalysisLauncher::SetBatch ( )

Set the resource KVDataAnalysisLauncher.Batch according to whether button 'Batch' is down or up

Definition at line 1369 of file KVDataAnalysisLauncher.cpp.

◆ SetBatchParameters()

Bool_t KVDataAnalysisLauncher::SetBatchParameters ( )

Open dialog to set batch parameters for job returns kFALSE if cancel is pressed

Definition at line 1387 of file KVDataAnalysisLauncher.cpp.

◆ SetDataSet()

void KVDataAnalysisLauncher::SetDataSet ( const Char_t ds = "")
virtual

Definition at line 1242 of file KVDataAnalysisLauncher.cpp.

◆ SetDataSetList()

void KVDataAnalysisLauncher::SetDataSetList ( Char_t s)
virtual

Sets the list of all available data sets in the data sets combo box.

Definition at line 796 of file KVDataAnalysisLauncher.cpp.

◆ SetRepository()

void KVDataAnalysisLauncher::SetRepository ( const Char_t r = "")
virtual

Definition at line 1221 of file KVDataAnalysisLauncher.cpp.

◆ SetRepositoryList()

void KVDataAnalysisLauncher::SetRepositoryList ( void  )
virtual

Sets the list of all possible repositories in the repository combo box.

Definition at line 770 of file KVDataAnalysisLauncher.cpp.

◆ SetResource()

void KVDataAnalysisLauncher::SetResource ( const Char_t name,
const Char_t value 
)
protected

Handles resource file ".KVDataAnalysisGUIrc" We store the current state of the interface using the following resource names:

Repository KVDataAnalysisLauncher.Repository DataSet KVDataAnalysisLauncher.DataSet Task KVDataAnalysisLauncher.Task System KVDataAnalysisLauncher.System Trigger KVDataAnalysisLauncher.Trigger RunsList KVDataAnalysisLauncher.RunsList UserClass KVDataAnalysisLauncher.UserClass KVDataSelector KVDataAnalysisLauncher.KVDataSelector NbEventsToRead KVDataAnalysisLauncher.NbEventsToRead

We also keep a "memory" of all selected configurations using the following resource names:

DataSet KVDataAnalysisLauncher.DataSet.[repository] Task KVDataAnalysisLauncher.Task.[repository].[dataset] System KVDataAnalysisLauncher.System.[repository].[dataset].[task] Trigger KVDataAnalysisLauncher.Trigger.[repository].[dataset].[task].[system] RunsList KVDataAnalysisLauncher.RunsList.[repository].[dataset].[task].[system].[trigger] UserClass KVDataAnalysisLauncher.UserClass.[repository].[dataset].[task].[system].[trigger] KVDataSelector KVDataAnalysisLauncher.KVDataSelector.[repository].[dataset].[task].[system].[trigger] NbEventsToRead KVDataAnalysisLauncher.NbEventsToRead.[repository].[dataset].[task].[system].[trigger]

N.B. [task]: it is the NAME of the task which is used in the resource name. N.B.2. [system]: it is the name given by SystemBatchName() which is used in the resource name. N.B.3. [trigger]: for the resource name we take "M > 4", "M>=8" "All" etc. and replace all ' ', '>' or '=' by '' to give "M4", "M8", "All", etc.

Definition at line 1542 of file KVDataAnalysisLauncher.cpp.

◆ SetRuns()

void KVDataAnalysisLauncher::SetRuns ( const Char_t s = "")
virtual

Definition at line 1344 of file KVDataAnalysisLauncher.cpp.

◆ SetRunsList()

void KVDataAnalysisLauncher::SetRunsList ( )
virtual

Sets the list of all available runs in the runs list box.

Definition at line 949 of file KVDataAnalysisLauncher.cpp.

◆ SetSystem()

void KVDataAnalysisLauncher::SetSystem ( const Char_t s = "")
virtual

Definition at line 1310 of file KVDataAnalysisLauncher.cpp.

◆ SetSystemList()

void KVDataAnalysisLauncher::SetSystemList ( Int_t  itask)
virtual

Sets the list of all possible systems in the system list Called every time a task is selected

Definition at line 905 of file KVDataAnalysisLauncher.cpp.

◆ SetTask()

void KVDataAnalysisLauncher::SetTask ( const Char_t t = "")
virtual

Definition at line 1276 of file KVDataAnalysisLauncher.cpp.

◆ SetTaskList()

void KVDataAnalysisLauncher::SetTaskList ( Char_t dataset)
virtual

Sets the list of all possible tasks in the tasks combo box Called when a new dataset is selected in the dropdown list

Definition at line 834 of file KVDataAnalysisLauncher.cpp.

◆ SetUserClass()

void KVDataAnalysisLauncher::SetUserClass ( const Char_t class_name)
protected

Sets selected user class in combo box according to e.g. a previously stored resource value. We update the resource corresponding to the current state of the interface. look for user class in list

Definition at line 1976 of file KVDataAnalysisLauncher.cpp.

◆ SetUserClassList()

void KVDataAnalysisLauncher::SetUserClassList ( )
protected

Sets the list of all available user classes in the drop down list.

Definition at line 1878 of file KVDataAnalysisLauncher.cpp.

◆ SetUserIncludes()

void KVDataAnalysisLauncher::SetUserIncludes ( void  )
virtual

Set the User's includes.

Definition at line 1430 of file KVDataAnalysisLauncher.cpp.

◆ SetUserLibraries()

void KVDataAnalysisLauncher::SetUserLibraries ( void  )
virtual

Set the User's libraries.

Definition at line 1414 of file KVDataAnalysisLauncher.cpp.

◆ SystemBatchName()

TString KVDataAnalysisLauncher::SystemBatchName ( void  )
protected

Get the system name for the batch name.

Definition at line 1657 of file KVDataAnalysisLauncher.cpp.

◆ SystemSelectionChanged()

void KVDataAnalysisLauncher::SystemSelectionChanged ( )

Definition at line 1331 of file KVDataAnalysisLauncher.cpp.

◆ UpdateListOfSelectedRuns()

void KVDataAnalysisLauncher::UpdateListOfSelectedRuns ( )

Called when the selected runs in TGListView lvRuns change. We update the KVNumberList listOfRuns according to the current selection we modify the limits of the 'runs per job' widget

Definition at line 2121 of file KVDataAnalysisLauncher.cpp.

◆ UserClassSelected()

void KVDataAnalysisLauncher::UserClassSelected ( char *  class_name)

Called when a user class is selected in the combo box. Updates batch name if 'auto batch name' is selected.

Definition at line 1906 of file KVDataAnalysisLauncher.cpp.

◆ WarningBox()

Bool_t KVDataAnalysisLauncher::WarningBox ( const char *  title = "Warning",
const char *  msg = "Warning",
Bool_t  confirm = kFALSE 
)
virtual

Warning box in case of problems if confirm=kTRUE we ask for a yes/no answer from the user: if 'yes' is pressed, we return kTRUE, if 'no', kFALSE. by default, only a 'dismiss' button is shown, and this method always returns kTRUE.

Definition at line 1450 of file KVDataAnalysisLauncher.cpp.

Member Data Documentation

◆ btEditClass

TGPictureButton* KVDataAnalysisLauncher::btEditClass
protected

Definition at line 142 of file KVDataAnalysisLauncher.h.

◆ cbDataSet

TGComboBox* KVDataAnalysisLauncher::cbDataSet
protected

Definition at line 130 of file KVDataAnalysisLauncher.h.

◆ cbRepository

TGComboBox* KVDataAnalysisLauncher::cbRepository
protected

Definition at line 128 of file KVDataAnalysisLauncher.h.

◆ cbTask

TGComboBox* KVDataAnalysisLauncher::cbTask
protected

Definition at line 129 of file KVDataAnalysisLauncher.h.

◆ cbUserClass

TGComboBox* KVDataAnalysisLauncher::cbUserClass
protected

Definition at line 141 of file KVDataAnalysisLauncher.h.

◆ cfAnalysis

TGCompositeFrame* KVDataAnalysisLauncher::cfAnalysis
protected

Definition at line 140 of file KVDataAnalysisLauncher.h.

◆ checkCompilation

Bool_t KVDataAnalysisLauncher::checkCompilation
protected

Definition at line 151 of file KVDataAnalysisLauncher.h.

◆ doBatchParams

TGTextButton* KVDataAnalysisLauncher::doBatchParams
protected

Definition at line 147 of file KVDataAnalysisLauncher.h.

◆ entryMax

Int_t KVDataAnalysisLauncher::entryMax
protected

Definition at line 135 of file KVDataAnalysisLauncher.h.

◆ fBatchParameters

KVNameValueList KVDataAnalysisLauncher::fBatchParameters
protected

Definition at line 153 of file KVDataAnalysisLauncher.h.

◆ fMainGuiHeight

UInt_t KVDataAnalysisLauncher::fMainGuiHeight
protected

heigth of main window in pixels

Definition at line 167 of file KVDataAnalysisLauncher.h.

◆ fMainGuiWidth

UInt_t KVDataAnalysisLauncher::fMainGuiWidth
protected

width of main window in pixels

Definition at line 166 of file KVDataAnalysisLauncher.h.

◆ fUserClassLabel

TGLabel* KVDataAnalysisLauncher::fUserClassLabel
protected

Definition at line 143 of file KVDataAnalysisLauncher.h.

◆ fUserIncludes

TString KVDataAnalysisLauncher::fUserIncludes
protected

Definition at line 150 of file KVDataAnalysisLauncher.h.

◆ fUserLibraries

TString KVDataAnalysisLauncher::fUserLibraries
protected

Definition at line 149 of file KVDataAnalysisLauncher.h.

◆ GUIenv

TEnv* KVDataAnalysisLauncher::GUIenv
protected

Declaration des boutons de la fenetre principale.

Definition at line 117 of file KVDataAnalysisLauncher.h.

◆ ia

KVDataSetAnalyser* KVDataAnalysisLauncher::ia
protected

Definition at line 139 of file KVDataAnalysisLauncher.h.

◆ lastSelectedSystem

KVDBSystem* KVDataAnalysisLauncher::lastSelectedSystem
protected

Definition at line 132 of file KVDataAnalysisLauncher.h.

◆ list_of_runs

unique_ptr<TList> KVDataAnalysisLauncher::list_of_runs
protected

Definition at line 137 of file KVDataAnalysisLauncher.h.

◆ listOfRuns

KVNumberList KVDataAnalysisLauncher::listOfRuns
protected

Definition at line 125 of file KVDataAnalysisLauncher.h.

◆ listOfSystemRuns

KVNumberList KVDataAnalysisLauncher::listOfSystemRuns
protected

Definition at line 126 of file KVDataAnalysisLauncher.h.

◆ lvRuns

KVListView* KVDataAnalysisLauncher::lvRuns
protected

Definition at line 133 of file KVDataAnalysisLauncher.h.

◆ lvSystems

KVListView* KVDataAnalysisLauncher::lvSystems
protected

Definition at line 131 of file KVDataAnalysisLauncher.h.

◆ NbResNames

Int_t KVDataAnalysisLauncher::NbResNames
protected

number of names in list

Definition at line 119 of file KVDataAnalysisLauncher.h.

◆ noSystems

Bool_t KVDataAnalysisLauncher::noSystems
protected

Definition at line 152 of file KVDataAnalysisLauncher.h.

◆ ResourceNames

TList* KVDataAnalysisLauncher::ResourceNames
protected

used by Get/SetResource

Definition at line 118 of file KVDataAnalysisLauncher.h.

◆ selAll

Bool_t KVDataAnalysisLauncher::selAll
protected

Definition at line 136 of file KVDataAnalysisLauncher.h.

◆ selectedRuns

TGLabel* KVDataAnalysisLauncher::selectedRuns
protected

Definition at line 134 of file KVDataAnalysisLauncher.h.

◆ teNbToRead

TGNumberEntry* KVDataAnalysisLauncher::teNbToRead
protected

Definition at line 145 of file KVDataAnalysisLauncher.h.

◆ teUserOptions

TGTextEntry* KVDataAnalysisLauncher::teUserOptions
protected

Definition at line 144 of file KVDataAnalysisLauncher.h.

◆ UserClassNames

TList* KVDataAnalysisLauncher::UserClassNames
protected

list of user classes present in working directory

Definition at line 156 of file KVDataAnalysisLauncher.h.

◆ withBatch

TGTextButton* KVDataAnalysisLauncher::withBatch
protected

Definition at line 146 of file KVDataAnalysisLauncher.h.


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