AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONPainterDataSourceFrame Class Reference

Frame to select input data source(s) to be displayed. More...

#include <AliMUONPainterDataSourceFrame.h>

Inheritance diagram for AliMUONPainterDataSourceFrame:

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 AliMUONPainterMatrixCreateFullTracker (AliMUONVTrackerData *data, Int_t dim, Double_t xmin, Double_t xmax, const AliMUONAttPainter &att)
 

Private Member Functions

 AliMUONPainterDataSourceFrame (const AliMUONPainterDataSourceFrame &rhs)
 Not implemented. More...
 
AliMUONPainterDataSourceFrameoperator= (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)
 
AliMUONPainterEnvEnv ()
 

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...
 
TObjArrayfItems
 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...
 

Detailed Description

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.

Author
Laurent Aphecetche, Subatech

Definition at line 32 of file AliMUONPainterDataSourceFrame.h.

Constructor & Destructor Documentation

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.

AliMUONPainterDataSourceFrame::~AliMUONPainterDataSourceFrame ( )
virtual

dtor

Definition at line 280 of file AliMUONPainterDataSourceFrame.cxx.

AliMUONPainterDataSourceFrame::AliMUONPainterDataSourceFrame ( const AliMUONPainterDataSourceFrame rhs)
private

Not implemented.

Member Function Documentation

void AliMUONPainterDataSourceFrame::AddRecentSource ( const char *  name)
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().

void AliMUONPainterDataSourceFrame::CreateACFDataSource ( const TString &  uri)
private

Create an ACF data source, given it's URI

Definition at line 362 of file AliMUONPainterDataSourceFrame.cxx.

void AliMUONPainterDataSourceFrame::CreateACFDataSource ( const TString &  acfPath,
const TString &  type 
)
private

Create an ACF data source for a given (path,type)

Definition at line 350 of file AliMUONPainterDataSourceFrame.cxx.

AliMUONPainterMatrix * AliMUONPainterDataSourceFrame::CreateFullTracker ( AliMUONVTrackerData data,
Int_t  dim,
Double_t  xmin,
Double_t  xmax,
const AliMUONAttPainter att 
)
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().

void AliMUONPainterDataSourceFrame::CreateOCDBDataSource ( const TString &  uri)
private

Create an OCDB data source, given it's full descriptor

Definition at line 422 of file AliMUONPainterDataSourceFrame.cxx.

void AliMUONPainterDataSourceFrame::CreateOCDBDataSource ( const TString &  cdbPath,
Int_t  runNumber,
const TString &  type,
const TString &  ranges 
)
private

Create an OCDB data source for a given (path,runnumber,type) triplet

Definition at line 443 of file AliMUONPainterDataSourceFrame.cxx.

void AliMUONPainterDataSourceFrame::CreatePedestalCanvases ( AliMUONVTrackerData data,
Double_t  pedMin = 0,
Double_t  pedMax = 500,
Double_t  sigmaMin = 0,
Double_t  sigmaMax = 5 
)
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().

Bool_t AliMUONPainterDataSourceFrame::CreateRawDataSource ( const TString &  uri)
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.

AliMUONPainterEnv * AliMUONPainterDataSourceFrame::Env ( )
private
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.

AliMUONPainterDataSourceFrame& AliMUONPainterDataSourceFrame::operator= ( const AliMUONPainterDataSourceFrame rhs)
private

Not implemented.

void AliMUONPainterDataSourceFrame::RegisterDataSource ( AliMUONVTrackerDataMaker reader,
const char *  dsName 
)
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.

Member Data Documentation

TGTextEntry* AliMUONPainterDataSourceFrame::fACFPath
private

path to ASCII calibration file

Definition at line 128 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateACFDataSource(), and OpenFileDialogACF().

TGGroupFrame* AliMUONPainterDataSourceFrame::fACFSelector
private

to select ACF (ASCII calibration files)

Definition at line 127 of file AliMUONPainterDataSourceFrame.h.

TGComboBox* AliMUONPainterDataSourceFrame::fACFTypes
private

types of ASCII calibration files

Definition at line 129 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateACFDataSource().

TGCheckButton* AliMUONPainterDataSourceFrame::fCalibrateEmelecGain
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().

TGCheckButton* AliMUONPainterDataSourceFrame::fCalibrateGain
private

to trig calibration of raw data (full blown calibration)

Definition at line 107 of file AliMUONPainterDataSourceFrame.h.

Referenced by CalibrateButtonClicked(), and CreateRawDataSource().

TGCheckButton* AliMUONPainterDataSourceFrame::fCalibrateGainConstantCapa
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().

TGCheckButton* AliMUONPainterDataSourceFrame::fCalibrateNoGain
private

to trig calibration of raw data (only 0 suppression)

Definition at line 105 of file AliMUONPainterDataSourceFrame.h.

Referenced by CalibrateButtonClicked(), and CreateRawDataSource().

TGTextButton* AliMUONPainterDataSourceFrame::fCreateRecentButton
private

button to create a recent data source

Definition at line 124 of file AliMUONPainterDataSourceFrame.h.

Referenced by AddRecentSource().

TGGroupFrame* AliMUONPainterDataSourceFrame::fDataReaders
private

to display currently active data sources

Definition at line 118 of file AliMUONPainterDataSourceFrame.h.

Referenced by DataMakerWasRegistered(), and DataMakerWasUnregistered().

TGNumberEntry* AliMUONPainterDataSourceFrame::fEventMax
private

max event number to consider

Definition at line 114 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateRawDataSource(), and EventRangeButtonClicked().

TGNumberEntry* AliMUONPainterDataSourceFrame::fEventMin
private

min event number to consider

Definition at line 113 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateRawDataSource(), and EventRangeButtonClicked().

TGCheckButton* AliMUONPainterDataSourceFrame::fEventRangeButton
private

to trig limitation of event range

Definition at line 112 of file AliMUONPainterDataSourceFrame.h.

Referenced by EventRangeButtonClicked().

TGTextEntry* AliMUONPainterDataSourceFrame::fFilePath
private

raw data file path text entry widget

Definition at line 119 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateRawDataSource(), and OpenFileDialog().

TGCheckButton* AliMUONPainterDataSourceFrame::fHistogramButton
private

to trig histogramming of raw data

Definition at line 109 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateRawDataSource(), and HistogramButtonClicked().

TGNumberEntry* AliMUONPainterDataSourceFrame::fHistoMax
private

xmax of histo to make

Definition at line 111 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateRawDataSource(), and HistogramButtonClicked().

TGNumberEntry* AliMUONPainterDataSourceFrame::fHistoMin
private

xmin of histo to make

Definition at line 110 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateRawDataSource(), and HistogramButtonClicked().

TObjArray* AliMUONPainterDataSourceFrame::fItems
private
TGTextEntry* AliMUONPainterDataSourceFrame::fOCDBPath
private

OCDB path text entry widget.

Definition at line 120 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateOCDBDataSource().

TGGroupFrame* AliMUONPainterDataSourceFrame::fOCDBSelector
private

to select a new OCDB data source

Definition at line 117 of file AliMUONPainterDataSourceFrame.h.

TGComboBox* AliMUONPainterDataSourceFrame::fOCDBTypes
private

OCDB type combo box entry widget.

Definition at line 122 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateOCDBDataSource().

TGTextEntry* AliMUONPainterDataSourceFrame::fRawOCDBPath
private

OCDB path for raw data calibration.

Definition at line 115 of file AliMUONPainterDataSourceFrame.h.

Referenced by CalibrateButtonClicked(), and CreateRawDataSource().

TGGroupFrame* AliMUONPainterDataSourceFrame::fRawSelector
private

to select a new raw data source

Definition at line 99 of file AliMUONPainterDataSourceFrame.h.

TGCompositeFrame* AliMUONPainterDataSourceFrame::fRawSelector2
private

idem

Definition at line 100 of file AliMUONPainterDataSourceFrame.h.

TGCompositeFrame* AliMUONPainterDataSourceFrame::fRawSelector21
private

idem

Definition at line 101 of file AliMUONPainterDataSourceFrame.h.

TGCompositeFrame* AliMUONPainterDataSourceFrame::fRawSelector22
private

idem

Definition at line 102 of file AliMUONPainterDataSourceFrame.h.

TGCompositeFrame* AliMUONPainterDataSourceFrame::fRawSelector23
private

idem

Definition at line 104 of file AliMUONPainterDataSourceFrame.h.

TGCompositeFrame* AliMUONPainterDataSourceFrame::fRawSelector24
private

idem

Definition at line 103 of file AliMUONPainterDataSourceFrame.h.

TGComboBox* AliMUONPainterDataSourceFrame::fRecentSources
private

recent sources combo box

Definition at line 123 of file AliMUONPainterDataSourceFrame.h.

Referenced by AddRecentSource(), and OpenRecentSource().

TGGroupFrame* AliMUONPainterDataSourceFrame::fRecentSourceSelector
private

to select recently used sources

Definition at line 97 of file AliMUONPainterDataSourceFrame.h.

TGNumberEntry* AliMUONPainterDataSourceFrame::fRunSelector
private

OCDB run number entry widget.

Definition at line 121 of file AliMUONPainterDataSourceFrame.h.

Referenced by CreateOCDBDataSource().


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