![]() |
AliRoot Core
v5-06-30 (35d6c57)
|
Frame to select input data source(s) to be displayed. More...
#include <AliMUONPainterDataSourceFrame.h>
Public Member Functions | |
AliMUONPainterDataSourceFrame (const TGWindow *p, UInt_t w, UInt_t h) | |
virtual | ~AliMUONPainterDataSourceFrame () |
void | CalibrateButtonClicked () |
void | CreateOCDBDataSource () |
void | CreateACFDataSource () |
void | CreateRawDataSource () |
void | DataMakerWasRegistered (AliMUONVTrackerDataMaker *reader) |
void | DataMakerWasUnregistered (const AliMUONVTrackerDataMaker *reader) |
void | HistogramButtonClicked () |
void | EventRangeButtonClicked () |
void | OpenFileDialog () |
void | OpenFileDialogACF () |
void | OpenRecentSource () |
void | StartRunning () |
void | StopRunning () |
Static Public Member Functions | |
static void | CreatePedestalCanvases (AliMUONVTrackerData *data, Double_t pedMin=0, Double_t pedMax=500, Double_t sigmaMin=0, Double_t sigmaMax=5) |
static AliMUONPainterMatrix * | CreateFullTracker (AliMUONVTrackerData *data, Int_t dim, Double_t xmin, Double_t xmax, const AliMUONAttPainter &att) |
Private Member Functions | |
AliMUONPainterDataSourceFrame (const AliMUONPainterDataSourceFrame &rhs) | |
Not implemented. More... | |
AliMUONPainterDataSourceFrame & | operator= (const AliMUONPainterDataSourceFrame &rhs) |
Not implemented. More... | |
void | AddRecentSource (const char *name) |
Bool_t | CreateRawDataSource (const TString &uri) |
void | CreateOCDBDataSource (const TString &uri) |
void | CreateOCDBDataSource (const TString &cdbPath, Int_t runNumber, const TString &type, const TString &ranges) |
void | CreateACFDataSource (const TString &uri) |
void | CreateACFDataSource (const TString &acfPath, const TString &type) |
void | RegisterDataSource (AliMUONVTrackerDataMaker *reader, const char *dsName) |
AliMUONPainterEnv * | Env () |
Private Attributes | |
TGGroupFrame * | fRecentSourceSelector |
to select recently used sources More... | |
TGGroupFrame * | fRawSelector |
to select a new raw data source More... | |
TGCompositeFrame * | fRawSelector2 |
idem More... | |
TGCompositeFrame * | fRawSelector21 |
idem More... | |
TGCompositeFrame * | fRawSelector22 |
idem More... | |
TGCompositeFrame * | fRawSelector24 |
idem More... | |
TGCompositeFrame * | fRawSelector23 |
idem More... | |
TGCheckButton * | fCalibrateNoGain |
to trig calibration of raw data (only 0 suppression) More... | |
TGCheckButton * | fCalibrateGainConstantCapa |
to trig calibration of raw data (0-supp and gain w/ constant capacitance) More... | |
TGCheckButton * | fCalibrateGain |
to trig calibration of raw data (full blown calibration) More... | |
TGCheckButton * | fCalibrateEmelecGain |
to trig calibration of raw data (full blown calibration but with factory gains) More... | |
TGCheckButton * | fHistogramButton |
to trig histogramming of raw data More... | |
TGNumberEntry * | fHistoMin |
xmin of histo to make More... | |
TGNumberEntry * | fHistoMax |
xmax of histo to make More... | |
TGCheckButton * | fEventRangeButton |
to trig limitation of event range More... | |
TGNumberEntry * | fEventMin |
min event number to consider More... | |
TGNumberEntry * | fEventMax |
max event number to consider More... | |
TGTextEntry * | fRawOCDBPath |
OCDB path for raw data calibration. More... | |
TGGroupFrame * | fOCDBSelector |
to select a new OCDB data source More... | |
TGGroupFrame * | fDataReaders |
to display currently active data sources More... | |
TGTextEntry * | fFilePath |
raw data file path text entry widget More... | |
TGTextEntry * | fOCDBPath |
OCDB path text entry widget. More... | |
TGNumberEntry * | fRunSelector |
OCDB run number entry widget. More... | |
TGComboBox * | fOCDBTypes |
OCDB type combo box entry widget. More... | |
TGComboBox * | fRecentSources |
recent sources combo box More... | |
TGTextButton * | fCreateRecentButton |
button to create a recent data source More... | |
TObjArray * | fItems |
list of data readers we handle More... | |
TGGroupFrame * | fACFSelector |
to select ACF (ASCII calibration files) More... | |
TGTextEntry * | fACFPath |
path to ASCII calibration file More... | |
TGComboBox * | fACFTypes |
types of ASCII calibration files More... | |
Frame to select input data source(s) to be displayed.
A complete frame to select and display various data sources to be displayed : either raw data or OCDB data. Later on we might add digits and clusters for instance.
Definition at line 32 of file AliMUONPainterDataSourceFrame.h.
AliMUONPainterDataSourceFrame::AliMUONPainterDataSourceFrame | ( | const TGWindow * | p, |
UInt_t | w, | ||
UInt_t | h | ||
) |
Ctor
Recent source selection
Raw file selection
OCDB selection
ASCII calibration file selection
Definition at line 67 of file AliMUONPainterDataSourceFrame.cxx.
|
virtual |
dtor
Definition at line 280 of file AliMUONPainterDataSourceFrame.cxx.
|
private |
Not implemented.
|
private |
Add a source to the list of recently used sources
Definition at line 289 of file AliMUONPainterDataSourceFrame.cxx.
Referenced by RegisterDataSource().
void AliMUONPainterDataSourceFrame::CalibrateButtonClicked | ( | ) |
Calibrate button was clicked.
Definition at line 315 of file AliMUONPainterDataSourceFrame.cxx.
void AliMUONPainterDataSourceFrame::CreateACFDataSource | ( | ) |
Create an ACF data source (using information from the widgets)
Definition at line 335 of file AliMUONPainterDataSourceFrame.cxx.
Referenced by CreateACFDataSource(), and OpenRecentSource().
|
private |
Create an ACF data source, given it's URI
Definition at line 362 of file AliMUONPainterDataSourceFrame.cxx.
|
private |
Create an ACF data source for a given (path,type)
Definition at line 350 of file AliMUONPainterDataSourceFrame.cxx.
|
static |
Generate, draw and register a matrix of 10 painters to show all the tracker chambers
Definition at line 377 of file AliMUONPainterDataSourceFrame.cxx.
Referenced by CreatePedestalCanvases().
void AliMUONPainterDataSourceFrame::CreateOCDBDataSource | ( | ) |
Create an OCDB data source (using information from the widgets)
Definition at line 408 of file AliMUONPainterDataSourceFrame.cxx.
Referenced by CreateOCDBDataSource(), and OpenRecentSource().
|
private |
Create an OCDB data source, given it's full descriptor
Definition at line 422 of file AliMUONPainterDataSourceFrame.cxx.
|
private |
Create an OCDB data source for a given (path,runnumber,type) triplet
Definition at line 443 of file AliMUONPainterDataSourceFrame.cxx.
|
static |
Create 4 canvases with the pedestals contained in data to show mean and sigma, for bending and non bending, with given limits
Definition at line 478 of file AliMUONPainterDataSourceFrame.cxx.
Referenced by RegisterDataSource().
void AliMUONPainterDataSourceFrame::CreateRawDataSource | ( | ) |
Create a new raw data source (using info from the widgets)
Definition at line 525 of file AliMUONPainterDataSourceFrame.cxx.
Referenced by OpenRecentSource().
|
private |
Create a new raw data source, given its URI
Basic test to see if the file is correct and to get run numbre
Definition at line 594 of file AliMUONPainterDataSourceFrame.cxx.
void AliMUONPainterDataSourceFrame::DataMakerWasRegistered | ( | AliMUONVTrackerDataMaker * | reader | ) |
Update ourselves as a new data reader was created
Definition at line 749 of file AliMUONPainterDataSourceFrame.cxx.
void AliMUONPainterDataSourceFrame::DataMakerWasUnregistered | ( | const AliMUONVTrackerDataMaker * | reader | ) |
Update ourselves as a data reader was deleted
Definition at line 775 of file AliMUONPainterDataSourceFrame.cxx.
|
private |
Definition at line 806 of file AliMUONPainterDataSourceFrame.cxx.
Referenced by CreateOCDBDataSource(), OpenFileDialog(), OpenFileDialogACF(), OpenRecentSource(), and RegisterDataSource().
void AliMUONPainterDataSourceFrame::EventRangeButtonClicked | ( | ) |
EventRange button was clicked.
Definition at line 813 of file AliMUONPainterDataSourceFrame.cxx.
void AliMUONPainterDataSourceFrame::HistogramButtonClicked | ( | ) |
Histogram button was clicked.
Definition at line 833 of file AliMUONPainterDataSourceFrame.cxx.
void AliMUONPainterDataSourceFrame::OpenFileDialog | ( | ) |
Open a file dialog to select a file to be read
Definition at line 851 of file AliMUONPainterDataSourceFrame.cxx.
void AliMUONPainterDataSourceFrame::OpenFileDialogACF | ( | ) |
Open a file dialog to select an ASCII calibration file to be read
Definition at line 880 of file AliMUONPainterDataSourceFrame.cxx.
void AliMUONPainterDataSourceFrame::OpenRecentSource | ( | ) |
Open one source from the recently used ones
Definition at line 907 of file AliMUONPainterDataSourceFrame.cxx.
|
private |
Not implemented.
|
private |
Register a new data source
Definition at line 945 of file AliMUONPainterDataSourceFrame.cxx.
Referenced by CreateACFDataSource(), CreateOCDBDataSource(), and CreateRawDataSource().
void AliMUONPainterDataSourceFrame::StartRunning | ( | ) |
One data source starts running. Disable the Run button of the other ones
Definition at line 982 of file AliMUONPainterDataSourceFrame.cxx.
void AliMUONPainterDataSourceFrame::StopRunning | ( | ) |
One data source stops running. Enable the Run button of all items
Definition at line 1003 of file AliMUONPainterDataSourceFrame.cxx.
|
private |
path to ASCII calibration file
Definition at line 128 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateACFDataSource(), and OpenFileDialogACF().
|
private |
to select ACF (ASCII calibration files)
Definition at line 127 of file AliMUONPainterDataSourceFrame.h.
|
private |
types of ASCII calibration files
Definition at line 129 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateACFDataSource().
|
private |
to trig calibration of raw data (full blown calibration but with factory gains)
Definition at line 108 of file AliMUONPainterDataSourceFrame.h.
Referenced by CalibrateButtonClicked(), and CreateRawDataSource().
|
private |
to trig calibration of raw data (full blown calibration)
Definition at line 107 of file AliMUONPainterDataSourceFrame.h.
Referenced by CalibrateButtonClicked(), and CreateRawDataSource().
|
private |
to trig calibration of raw data (0-supp and gain w/ constant capacitance)
Definition at line 106 of file AliMUONPainterDataSourceFrame.h.
Referenced by CalibrateButtonClicked(), and CreateRawDataSource().
|
private |
to trig calibration of raw data (only 0 suppression)
Definition at line 105 of file AliMUONPainterDataSourceFrame.h.
Referenced by CalibrateButtonClicked(), and CreateRawDataSource().
|
private |
button to create a recent data source
Definition at line 124 of file AliMUONPainterDataSourceFrame.h.
Referenced by AddRecentSource().
|
private |
to display currently active data sources
Definition at line 118 of file AliMUONPainterDataSourceFrame.h.
Referenced by DataMakerWasRegistered(), and DataMakerWasUnregistered().
|
private |
max event number to consider
Definition at line 114 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateRawDataSource(), and EventRangeButtonClicked().
|
private |
min event number to consider
Definition at line 113 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateRawDataSource(), and EventRangeButtonClicked().
|
private |
to trig limitation of event range
Definition at line 112 of file AliMUONPainterDataSourceFrame.h.
Referenced by EventRangeButtonClicked().
|
private |
raw data file path text entry widget
Definition at line 119 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateRawDataSource(), and OpenFileDialog().
|
private |
to trig histogramming of raw data
Definition at line 109 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateRawDataSource(), and HistogramButtonClicked().
|
private |
xmax of histo to make
Definition at line 111 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateRawDataSource(), and HistogramButtonClicked().
|
private |
xmin of histo to make
Definition at line 110 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateRawDataSource(), and HistogramButtonClicked().
|
private |
list of data readers we handle
Definition at line 125 of file AliMUONPainterDataSourceFrame.h.
Referenced by DataMakerWasRegistered(), DataMakerWasUnregistered(), StartRunning(), StopRunning(), and ~AliMUONPainterDataSourceFrame().
|
private |
OCDB path text entry widget.
Definition at line 120 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateOCDBDataSource().
|
private |
to select a new OCDB data source
Definition at line 117 of file AliMUONPainterDataSourceFrame.h.
|
private |
OCDB type combo box entry widget.
Definition at line 122 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateOCDBDataSource().
|
private |
OCDB path for raw data calibration.
Definition at line 115 of file AliMUONPainterDataSourceFrame.h.
Referenced by CalibrateButtonClicked(), and CreateRawDataSource().
|
private |
to select a new raw data source
Definition at line 99 of file AliMUONPainterDataSourceFrame.h.
|
private |
idem
Definition at line 100 of file AliMUONPainterDataSourceFrame.h.
|
private |
idem
Definition at line 101 of file AliMUONPainterDataSourceFrame.h.
|
private |
idem
Definition at line 102 of file AliMUONPainterDataSourceFrame.h.
|
private |
idem
Definition at line 104 of file AliMUONPainterDataSourceFrame.h.
|
private |
idem
Definition at line 103 of file AliMUONPainterDataSourceFrame.h.
|
private |
recent sources combo box
Definition at line 123 of file AliMUONPainterDataSourceFrame.h.
Referenced by AddRecentSource(), and OpenRecentSource().
|
private |
to select recently used sources
Definition at line 97 of file AliMUONPainterDataSourceFrame.h.
|
private |
OCDB run number entry widget.
Definition at line 121 of file AliMUONPainterDataSourceFrame.h.
Referenced by CreateOCDBDataSource().