1 #ifndef AliTPCCalibViewerGUItime_H 2 #define AliTPCCalibViewerGUItime_H 21 #include <TGComboBox.h> 25 class TGCompositeFrame;
26 class TRootEmbeddedCanvas;
56 void DrawGUI(
const TGWindow *, UInt_t w, UInt_t h);
61 void Reload(Int_t first=1);
88 void MouseMove(Int_t event, Int_t x, Int_t y, TObject *);
TGTextEntry * GetDrawEntry()
TGGroupFrame * fContDrawSel
Subgroup for draw selection.
AliTPCCalibViewerGUItime(const TGWindow *p, UInt_t w, UInt_t h)
TGTextEntry * GetCutsEntry()
TGCompositeFrame * fContCenter
container for GUI elements at the center
Bool_t fIsCustomDraw
if custom draw string is selected
Class for Parsing simple text configuration files.
TGCheckButton * fChkDrawOptSame
draw option 'same'
TGGroupFrame * fContValues
container to keep data point information
TGRadioButton * fRadioXtime
Radio button x-variable: time.
TGLabel * fLblPar
parameter name
TString fDrawString
current draw string
const TString GetDrawOptionString()
TGLabel * fLblValueY
value label
TGCompositeFrame * fContTopBottom
container for all GUI elements, vertical divided
TGTextButton * fBtnDumpRuns
draw button
void UpdateValueArrays(Bool_t withGraph, const Double_t *xArr)
void SetCacheDir(const char *cachedir)
GUI for the AliTPCCalibViewer used for the calibration monitor All functionalities of the AliTPCCalib...
TGLabel * fLblCustomCuts
label for custom cuts string
AliTPCCalibViewerGUItime * fGUI
pointer to mother process
TGRadioButton * fRadioXrun
Radio button x-variable: run.
const TString GetDrawString()
TGLabel * fLblCustomDraw
label for custom draw string
TGCompositeFrame * fContCustom
container for custom draw command GUI elements
AliTPCCalibViewerGUI * fCalibViewerGUI
calib viewer gui used to display verbose information for one run
void SetCalibViewerGUItab(TGTabElement *const tab)
TVectorD fValuesX
values of current selection
TChain * GetChain() const
void Reload(Int_t first=1)
TGraph * fCurrentGraph
current graph
TVectorD fTimeStamps
timr stamps of current selection
TString fileName(const char *dir, int runNumber, const char *da, int i, const char *type)
void DoNewSelectionAliases()
void UseConfigFile(const char *file="")
TGGroupFrame * fContAliases
container to keep data point information
TGCompositeFrame * fContDrawSelSubRunTime
Radio button subframe.
TH1 * fCurrentHist
histogram currently drawn in main canvas
TGLabel * fLblValueXVal
value of the data point hoovered
void DoChangeSelectionList()
TGLabel * fLblRunNumber
run number label
AliTPCConfigParser * fConfigParser
configuration parser
void SetGuiTree(Int_t run)
TMap * fMapRefTrees
map of reference trees for the CalibViewer
TString fConfigFile
configuration file keeping active branches and branch descriptions
TVectorD fRunNumbers
run numbers of current selection
TGGroupFrame * fContDrawOpt
Subgroup for draw selection.
TGLabel * fLblRunType
run type label
TGCompositeFrame * fContLCR
container for all GUI elements, horizontal divided
void HandleButtonsDrawSel(Int_t id=-1)
void AddReferenceTree(const char *treeFileName, const char *refName="R")
TGCheckButton * fChkDrawOptSparse
draw option 'sparse'
void SetCalibViewerGUI(AliTPCCalibViewerGUI *const gui)
const char * GetCustomDrawString() const
Int_t fCurrentRunDetails
run number for wich details are currently shown
TFile * fFile
file that keeps the tree
void GetCutString(TString &cutStr)
TGLabel * fLblRunTime
time stamp label
TGLabel * fLblRunNumberVal
run number of the data point hoovered
TVectorD fValuesY
values of current selection
void MouseMove(Int_t event, Int_t x, Int_t y, TObject *)
TGNumberEntry * fNmbPar
parameter number
void DrawGUI(const TGWindow *, UInt_t w, UInt_t h)
TObjArray * fTrashBox
graphics objects to be deleted (histograms, graphs,...)
AliTPCCalibViewerGUItime & operator=(const AliTPCCalibViewerGUItime &v)
virtual ~AliTPCCalibViewerGUItime()
TRootEmbeddedCanvas * fCanvMain
main drawing canvas
TGComboBox * fComboAddDrawOpt
additional draw options combo box
AliTPCCalibViewerGUI * gui
TGTransientFrame * fMain
Main frame.
Bool_t fNoGraph
Whether to create a graph.
TGComboBox * fComboCustomCuts
combo box custom cuts string
static TObjArray * ShowGUI(const char *fileName=0, const char *treeName="dcs")
TGListBox * fListVariables
listbox with possible variables
TGLabel * fLblValueX
value label
Long64_t fGraphLimitEntries
limit in number of entries in the chain for producing a graph
TGCompositeFrame * fContCustomCuts
container for custom cut options GUI elements
void SubstituteUnderscores(TString &s)
void UseChain(TChain *const chain)
TGListBox * fListCalibType
calibration type selection box
TGComboBox * fComboCustomDraw
combo box custom draw string
TGTextEntry * fTxt2
text input
TGLabel * fLblValueYVal
value of the data point hoovered
TGTextEntry * GetDrawOptEntry()
void UseFile(const char *fileName, const char *treeName)
TGTabElement * fCalibViewerGUItab
tab the calib view gui redies in
void SetConfigFileName(const char *file)
TGRadioButton * fRadioXhist
Radio button x-variable: show only 1D distribution.
TGCompositeFrame * fContRight
container for GUI elements on right side
TGLabel * fLblRunTimeVal
time stamp of the data point hoovered
GUI for displaying calibration entires over time Calibration Trees are created using the macro TPC/Ca...
TGComboBox * fComboRunType
run type selection box
TGListBox * fListAliases
list of aliases
int main(int argc, char **argv)
TChain * fTree
internal tree
TGCompositeFrame * fContLeft
container for GUI elements on left side
void GetHistogramTitle(TString &title)
TString fOutputCacheDir
output cache diretory for AliTPCCalibViewerGUI trees, created on the fly
TGGroupFrame * fContCalibType
calibration type label