KaliVeda
Toolkit for HIC analysis
|
GUI for running data analysis tasks.
See http://indra.in2p3.fr/kaliveda/KaliVedaGUIDoc/KaliVedaGUI.html
Definition at line 100 of file KVDataAnalysisLauncher.h.
#include <KVDataAnalysisLauncher.h>
Public Member Functions | |
KVDataAnalysisLauncher (const TGWindow *p=0, UInt_t w=200, UInt_t h=400) | |
~KVDataAnalysisLauncher () | |
Destructeur. | |
void | ClearListOfSelectedRuns () |
Empty displayed list of selected runs. | |
virtual void | DeselectAll (void) |
Deselect all runs currently in the displayed list of runs. | |
void | EditUserClassFiles () |
virtual void | EnterRunlist (void) |
virtual void | Exit (void) |
virtual const Char_t * | GetDataSet (void) |
virtual const Char_t * | GetRepository (void) |
virtual const Char_t * | GetRuns (void) |
virtual const Char_t * | GetSystem (void) |
virtual const Char_t * | GetTask (void) |
virtual Bool_t | IsBatch (void) |
virtual void | Process (void) |
Run the analysis task. | |
virtual void | SelectAll (void) |
Select all runs currently in the displayed list of runs. | |
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. | |
virtual void | SetRepository (const Char_t *r="") |
virtual void | SetRepositoryList (void) |
Sets the list of all possible repositories in the repository combo box. | |
virtual void | SetRuns (const Char_t *s="") |
virtual void | SetRunsList () |
Sets the list of all available runs in the runs list box. | |
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. | |
virtual void | SetUserLibraries (void) |
Set the User's libraries. | |
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) | |
~TGMainFrame () override | |
virtual Bool_t | BindKey (const TGWindow *w, Int_t keycode, Int_t modifier) const |
virtual void | CloseWindow () |
void | DontCallClose () |
TList * | GetBindList () const |
void | GetClassHints (const char *&className, const char *&resourceName) const |
const char * | GetIconName () const override |
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 |
Bool_t | HandleButton (Event_t *event) override |
Bool_t | HandleClientMessage (Event_t *event) override |
Bool_t | HandleKey (Event_t *event) override |
Bool_t | HandleMotion (Event_t *event) override |
Bool_t | HandleSelection (Event_t *event) override |
Bool_t | HandleSelectionRequest (Event_t *event) override |
TClass * | IsA () const override |
virtual void | RemoveBind (const TGWindow *w, Int_t keycode, Int_t modifier) const |
virtual Bool_t | SaveFrameAsCodeOrImage () |
virtual Bool_t | SaveFrameAsCodeOrImage (const TString &fileName) |
void | SavePrimitive (std::ostream &out, Option_t *option="") override |
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 TGPicture * | SetIconPixmap (const char *iconName) |
void | SetMWMHints (UInt_t value, UInt_t funcs, UInt_t input) |
void | SetWindowName (const char *name=nullptr) override |
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) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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) | |
~TGCompositeFrame () override | |
virtual void | AddFrame (TGFrame *f, TGLayoutHints *l=nullptr) |
void | ChangeOptions (UInt_t options) override |
virtual void | ChangeSubframesBackground (Pixel_t back) |
virtual void | Cleanup () |
virtual TGFrameElement * | FindFrameElement (TGFrame *f) const |
UInt_t | GetDefaultHeight () const override |
TGDimension | GetDefaultSize () const override |
UInt_t | GetDefaultWidth () const override |
TGFrame * | GetFrameFromPoint (Int_t x, Int_t y) override |
virtual TGLayoutManager * | GetLayoutManager () const |
virtual TList * | GetList () const |
Int_t | GetState (TGFrame *f) const |
Bool_t | HandleCrossing (Event_t *) override |
Bool_t | HandleDoubleClick (Event_t *) override |
Bool_t | HandleDragDrop (TGFrame *frame, Int_t x, Int_t y, TGLayoutHints *lo) override |
Bool_t | HandleDragEnter (TGFrame *) override |
Bool_t | HandleDragLeave (TGFrame *) override |
Bool_t | HandleDragMotion (TGFrame *) override |
Bool_t | HandleFocusChange (Event_t *) override |
virtual void | HideFrame (TGFrame *f) |
Bool_t | IsArranged (TGFrame *f) const |
Bool_t | IsArranged (TGFrameElement *ptr) const |
Bool_t | IsComposite () const override |
Bool_t | IsEditable () const override |
Bool_t | IsLayoutBroken () const override |
Bool_t | IsMapSubwindows () const override |
Bool_t | IsVisible (TGFrame *f) const |
Bool_t | IsVisible (TGFrameElement *ptr) const |
void | Layout () override |
void | MapSubwindows () override |
Int_t | MustCleanup () const override |
void | Print (Option_t *option="") const override |
Bool_t | ProcessMessage (Longptr_t, Longptr_t, Longptr_t) override |
virtual void | RemoveAll () |
virtual void | RemoveFrame (TGFrame *f) |
virtual void | SavePrimitiveSubframes (std::ostream &out, Option_t *option="") |
void | SetCleanup (Int_t mode=kLocalCleanup) override |
void | SetEditable (Bool_t on=kTRUE) override |
void | SetEditDisabled (UInt_t on=1) override |
void | SetLayoutBroken (Bool_t on=kTRUE) override |
virtual void | SetLayoutManager (TGLayoutManager *l) |
void | SetMapSubwindows (Bool_t on) override |
virtual void | ShowFrame (TGFrame *f) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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) | |
~TGFrame () override | |
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 |
void | Delete (Option_t *="") override |
virtual void | DeleteWindow () |
virtual void | DrawBorder () |
void | DrawClass () const override |
TObject * | DrawClone (Option_t *="") const override |
virtual void | DrawCopy (Handle_t, Int_t, Int_t) |
void | Dump () const override |
virtual Pixel_t | GetBackground () const |
Int_t | GetBorderWidth () const |
virtual TDNDData * | GetDNDData (Atom_t) |
virtual Int_t | GetDragType () const |
virtual Int_t | GetDropType () const |
UInt_t | GetEventMask () const |
virtual Pixel_t | GetForeground () const |
TGFrameElement * | GetFrameElement () 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) |
Bool_t | HandleEvent (Event_t *event) override |
virtual Bool_t | HandleSelectionClear (Event_t *) |
void | Inspect () const override |
virtual Bool_t | IsActive () const |
Bool_t | IsDNDSource () const |
Bool_t | IsDNDTarget () const |
Bool_t | IsEditable () const override |
void | MapRaised () override |
void | MapSubwindows () override |
void | MapWindow () override |
void | Move (Int_t x, Int_t y) override |
void | MoveResize (Int_t x, Int_t y, UInt_t w=0, UInt_t h=0) override |
void | Print (Option_t *option="") const override |
virtual void | ProcessedConfigure (Event_t *event) |
virtual void | ProcessedEvent (Event_t *event) |
virtual void | ReallyDelete () |
void | RemoveInput (UInt_t emask) |
void | ReparentWindow (const TGWindow *p, Int_t x=0, Int_t y=0) override |
virtual void | Resize (TGDimension size) |
void | Resize (UInt_t w=0, UInt_t h=0) override |
void | SaveUserColor (std::ostream &out, Option_t *) |
virtual void | SendMessage (const TGWindow *w, Longptr_t msg, Longptr_t parm1, Longptr_t parm2) |
void | SetBackgroundColor (Pixel_t back) override |
void | SetDNDSource (Bool_t onoff) |
void | SetDNDTarget (Bool_t onoff) |
virtual void | SetDragType (Int_t type) |
void | SetDrawOption (Option_t *="") override |
virtual void | SetDropType (Int_t type) |
void | SetEditable (Bool_t) override |
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) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
void | UnmapWindow () override |
Public Member Functions inherited from TGWindow | |
TGWindow (const TGWindow *p=nullptr, 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=nullptr, SetWindowAttributes_t *attr=nullptr, UInt_t wtype=0) | |
TGWindow (TGClient *c, Window_t id, const TGWindow *parent=nullptr) | |
~TGWindow () override | |
virtual void | DestroySubwindows () |
virtual void | DestroyWindow () |
virtual UInt_t | GetEditDisabled () const |
virtual const TGWindow * | GetMainFrame () const |
const char * | GetName () const override |
const TGWindow * | GetParent () const |
virtual Bool_t | HandleExpose (Event_t *event) |
virtual Bool_t | HandleIdleEvent (TGIdleHandler *) |
Bool_t | HandleTimer (TTimer *) override |
virtual void | IconifyWindow () |
TClass * | IsA () const override |
virtual Bool_t | IsMapped () |
virtual void | LowerWindow () |
void | Print (Option_t *option="") const override |
virtual void | RaiseWindow () |
virtual void | RequestFocus () |
virtual void | SetBackgroundPixmap (Pixmap_t pixmap) |
virtual void | SetName (const char *name) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TGObject | |
TGObject () | |
TGObject (const TGObject &tgo) | |
~TGObject () override | |
TGClient * | GetClient () const |
Handle_t | GetId () const |
ULong_t | Hash () const override |
Bool_t | IsEqual (const TObject *obj) const override |
void | SaveAs (const char *filename="", Option_t *option="") const override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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 TObject * | Clone (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=nullptr) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual Option_t * | GetDrawOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () 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) |
Bool_t | IsDestructed () const |
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, void *vp) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, void *vp) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (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) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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=nullptr, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=nullptr, 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=nullptr, void *receiver=nullptr, const char *slot=nullptr) |
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) |
TList * | GetListOfClassSignals () const |
TList * | GetListOfConnections () const |
TList * | GetListOfSignals () const |
virtual Bool_t | HasConnection (const char *signal_name) const |
virtual void | HighPriority (const char *signal_name, const char *slot_name=nullptr) |
virtual void | LowPriority (const char *signal_name, const char *slot_name=nullptr) |
virtual void | Message (const char *msg) |
virtual Int_t | NumberOfConnections () const |
virtual Int_t | NumberOfSignals () const |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Private Types | |
enum | ElementId { CB_DataRepository , CB_AnalysisTask , CB_DataSet , CB_System , CB_Trigger , LB_Runs , B_Libs , B_Incs , B_Process , B_Quit } |
Private Member Functions | |
void | BuildResourceName (const Char_t *name, TString &, TString &) |
void | DisableUserClassList () |
Remove all entries from user class combo box & disable text entry. | |
void | EnableUserClassList () |
void | FillListOfUserClasses () |
void | GenerateNewUserClass () |
KVDataSetAnalyser * | GetDataAnalyser (KVDataAnalysisTask *task=0) |
const Char_t * | GetResource (const Char_t *name, const Char_t *defaultvalue="") |
const Char_t * | GetSavedResource (const Char_t *name, const Char_t *defaultvalue="") |
const Char_t * | GetUserClass () |
Returns currently selected user class name. | |
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. | |
TString | SystemBatchName () |
Get the system name for the batch name. | |
Private Attributes | |
TGPictureButton * | btEditClass |
TGComboBox * | cbDataSet |
TGComboBox * | cbRepository |
TGComboBox * | cbTask |
TGComboBox * | cbUserClass |
TGCompositeFrame * | cfAnalysis |
Bool_t | checkCompilation |
TGTextButton * | doBatchParams |
Int_t | entryMax |
KVNameValueList | fBatchParameters |
UInt_t | fMainGuiHeight |
heigth of main window in pixels | |
UInt_t | fMainGuiWidth |
width of main window in pixels | |
TGLabel * | fUserClassLabel |
TString | fUserIncludes |
TString | fUserLibraries |
TEnv * | GUIenv |
Declaration des boutons de la fenetre principale. | |
KVDataSetAnalyser * | ia |
KVDBSystem * | lastSelectedSystem |
std::unique_ptr< TList > | list_of_runs |
KVNumberList | listOfRuns |
KVNumberList | listOfSystemRuns |
KVListView * | lvRuns |
KVListView * | lvSystems |
Int_t | NbResNames |
number of names in list | |
Bool_t | noSystems |
TList * | ResourceNames |
used by Get/SetResource | |
Bool_t | selAll |
TGLabel * | selectedRuns |
TGNumberEntry * | teNbToRead |
TGTextEntry * | teUserOptions |
TList * | UserClassNames |
list of user classes present in working directory | |
TGTextButton * | withBatch |
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 TGMainFrame | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TGCompositeFrame | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TGFrame | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static const TGGC & | GetBckgndGC () |
static const TGGC & | GetBlackGC () |
static Pixel_t | GetBlackPixel () |
static Pixel_t | GetDefaultFrameBackground () |
static Pixel_t | GetDefaultSelectedBackground () |
static const TGGC & | GetHilightGC () |
static const TGGC & | GetShadowGC () |
static const TGGC & | GetWhiteGC () |
static Pixel_t | GetWhitePixel () |
Static Public Member Functions inherited from TGWindow | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Int_t | GetCounter () |
Static Public Member Functions inherited from TGObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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 TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
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 const char * | DeclFileName () |
static Bool_t | Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr) |
static Bool_t | Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr) |
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 | |
Protected Member Functions inherited from TGMainFrame | |
TString | GetMWMfuncString () const |
TString | GetMWMinpString () const |
TString | GetMWMvalueString () const |
Protected Member Functions inherited from TGFrame | |
void | DoRedraw () override |
virtual void | Draw3dRectangle (UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h) |
TString | GetOptionString () const |
const TGResourcePool * | GetResourcePool () const |
void * | GetSender () override |
virtual void | StartGuiBuilding (Bool_t on=kTRUE) |
Protected Member Functions inherited from TGWindow | |
TGWindow (const TGWindow &tgw) | |
TGWindow (Window_t id) | |
TGWindow & | operator= (const TGWindow &tgw) |
Protected Member Functions inherited from TGObject | |
TGObject & | operator= (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 | |
TList * | fBindList |
TString | fClassName |
Atom_t * | fDNDTypeList |
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 |
TGLayoutManager * | fLayoutManager |
TList * | fList |
Bool_t | fMapSubwindows |
Int_t | fMustCleanup |
Protected Attributes inherited from TGFrame | |
Pixel_t | fBackground |
Int_t | fBorderWidth |
Int_t | fDNDState |
UInt_t | fEventMask |
TGFrameElement * | fFE |
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 TGWindow * | fParent |
Protected Attributes inherited from TGObject | |
TGClient * | fClient |
Handle_t | fId |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
Protected Attributes inherited from TQObject | |
TList * | fListOfConnections |
TList * | fListOfSignals |
Bool_t | fSignalsBlocked |
Static Protected Attributes inherited from TGCompositeFrame | |
static TGLayoutHints * | fgDefaultHints |
Static Protected Attributes inherited from TGFrame | |
static const TGGC * | fgBckgndGC |
static const TGGC * | fgBlackGC |
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 TGGC * | fgHilightGC |
static Bool_t | fgInit |
static UInt_t | fgLastButton |
static Time_t | fgLastClick |
static const TGGC * | fgShadowGC |
static UInt_t | fgUserColor |
static const TGGC * | fgWhiteGC |
static Pixel_t | fgWhitePixel |
Static Protected Attributes inherited from TGWindow | |
static Int_t | fgCounter |
Static Protected Attributes inherited from TQObject | |
static Bool_t | fgAllSignalsBlocked |
|
private |
Enumerator | |
---|---|
CB_DataRepository | |
CB_AnalysisTask | |
CB_DataSet | |
CB_System | |
CB_Trigger | |
LB_Runs | |
B_Libs | |
B_Incs | |
B_Process | |
B_Quit |
Definition at line 105 of file KVDataAnalysisLauncher.h.
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 | ( | ) |
Destructeur.
Definition at line 756 of file KVDataAnalysisLauncher.cpp.
|
private |
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 1735 of file KVDataAnalysisLauncher.cpp.
void KVDataAnalysisLauncher::ClearListOfSelectedRuns | ( | ) |
Empty displayed list of selected runs.
Definition at line 2174 of file KVDataAnalysisLauncher.cpp.
Deselect all runs currently in the displayed list of runs.
Definition at line 1056 of file KVDataAnalysisLauncher.cpp.
|
private |
Remove all entries from user class combo box & disable text entry.
Definition at line 2058 of file KVDataAnalysisLauncher.cpp.
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 2100 of file KVDataAnalysisLauncher.cpp.
|
private |
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 2080 of file KVDataAnalysisLauncher.cpp.
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 2123 of file KVDataAnalysisLauncher.cpp.
Definition at line 176 of file KVDataAnalysisLauncher.h.
|
private |
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 1855 of file KVDataAnalysisLauncher.cpp.
|
private |
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 1963 of file KVDataAnalysisLauncher.cpp.
|
private |
Get analyser for task If task = 0 we return the current analyser
Definition at line 882 of file KVDataAnalysisLauncher.cpp.
Definition at line 1194 of file KVDataAnalysisLauncher.cpp.
Definition at line 1180 of file KVDataAnalysisLauncher.cpp.
|
private |
Handles resource file ".KVDataAnalysisGUIrc"
We return the current value of the resource "name"
Definition at line 1620 of file KVDataAnalysisLauncher.cpp.
Definition at line 1237 of file KVDataAnalysisLauncher.cpp.
|
private |
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 1649 of file KVDataAnalysisLauncher.cpp.
Definition at line 1222 of file KVDataAnalysisLauncher.cpp.
Definition at line 1208 of file KVDataAnalysisLauncher.cpp.
|
private |
Returns currently selected user class name.
Definition at line 2040 of file KVDataAnalysisLauncher.cpp.
Definition at line 206 of file KVDataAnalysisLauncher.h.
Run the analysis task.
Definition at line 1068 of file KVDataAnalysisLauncher.cpp.
Select all runs currently in the displayed list of runs.
Definition at line 1044 of file KVDataAnalysisLauncher.cpp.
void KVDataAnalysisLauncher::SetBatch | ( | ) |
Set the resource KVDataAnalysisLauncher.Batch according to whether button 'Batch' is down or up
Definition at line 1394 of file KVDataAnalysisLauncher.cpp.
Bool_t KVDataAnalysisLauncher::SetBatchParameters | ( | ) |
Open dialog to set batch parameters for job returns kFALSE if cancel is pressed
Definition at line 1412 of file KVDataAnalysisLauncher.cpp.
Definition at line 1267 of file KVDataAnalysisLauncher.cpp.
Sets the list of all available data sets in the data sets combo box.
Definition at line 796 of file KVDataAnalysisLauncher.cpp.
Definition at line 1246 of file KVDataAnalysisLauncher.cpp.
Sets the list of all possible repositories in the repository combo box.
Definition at line 770 of file KVDataAnalysisLauncher.cpp.
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 1567 of file KVDataAnalysisLauncher.cpp.
Definition at line 1369 of file KVDataAnalysisLauncher.cpp.
|
virtual |
Sets the list of all available runs in the runs list box.
Definition at line 975 of file KVDataAnalysisLauncher.cpp.
Definition at line 1335 of file KVDataAnalysisLauncher.cpp.
Sets the list of all possible systems in the system list. Called every time a task is selected.
The choice of task may lead to a change of batch system:
Definition at line 911 of file KVDataAnalysisLauncher.cpp.
Definition at line 1301 of file KVDataAnalysisLauncher.cpp.
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.
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 2001 of file KVDataAnalysisLauncher.cpp.
|
private |
Sets the list of all available user classes in the drop down list.
Definition at line 1903 of file KVDataAnalysisLauncher.cpp.
Set the User's includes.
Definition at line 1455 of file KVDataAnalysisLauncher.cpp.
Set the User's libraries.
Definition at line 1439 of file KVDataAnalysisLauncher.cpp.
Get the system name for the batch name.
Definition at line 1682 of file KVDataAnalysisLauncher.cpp.
void KVDataAnalysisLauncher::SystemSelectionChanged | ( | ) |
Definition at line 1356 of file KVDataAnalysisLauncher.cpp.
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 2146 of file KVDataAnalysisLauncher.cpp.
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 1931 of file KVDataAnalysisLauncher.cpp.
|
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 1475 of file KVDataAnalysisLauncher.cpp.
|
private |
Definition at line 145 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 133 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 131 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 132 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 144 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 143 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 154 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 150 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 138 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 156 of file KVDataAnalysisLauncher.h.
|
private |
heigth of main window in pixels
Definition at line 170 of file KVDataAnalysisLauncher.h.
|
private |
width of main window in pixels
Definition at line 169 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 146 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 153 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 152 of file KVDataAnalysisLauncher.h.
|
private |
Declaration des boutons de la fenetre principale.
Definition at line 120 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 142 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 135 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 140 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 128 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 129 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 136 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 134 of file KVDataAnalysisLauncher.h.
|
private |
number of names in list
Definition at line 122 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 155 of file KVDataAnalysisLauncher.h.
|
private |
used by Get/SetResource
Definition at line 121 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 139 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 137 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 148 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 147 of file KVDataAnalysisLauncher.h.
|
private |
list of user classes present in working directory
Definition at line 159 of file KVDataAnalysisLauncher.h.
|
private |
Definition at line 149 of file KVDataAnalysisLauncher.h.