![]() |
AliRoot Core
a565103 (a565103)
|
Registry for painter data sources. More...
#include <AliMUONPainterDataRegistry.h>
Public Member Functions | |
virtual | ~AliMUONPainterDataRegistry () |
AliMUONVTrackerDataMaker * | DataMaker (Int_t i) const |
AliMUONVTrackerData * | DataSource (Int_t i) const |
AliMUONVTrackerData * | DataSource (const char *name) const |
AliMUONVTrackerData * | InteractiveReadOutConfig () const |
void | DataSourceWasRegistered (const AliMUONVTrackerData *data) |
void | DataSourceWasUnregistered (const AliMUONVTrackerData *data) |
void | DataMakerWasRegistered (const AliMUONVTrackerDataMaker *reader) |
void | DataMakerWasUnregistered (const AliMUONVTrackerDataMaker *reader) |
Int_t | NumberOfDataMakers () const |
Int_t | NumberOfDataSources () const |
Number of data sources = data makers. More... | |
void | Print (Option_t *opt) const |
void | Register (AliMUONVTrackerDataMaker *reader) |
Bool_t | Unregister (AliMUONVTrackerDataMaker *reader) |
void | DeleteZombies () |
Static Public Member Functions | |
static AliMUONPainterDataRegistry * | Instance () |
Private Member Functions | |
AliMUONPainterDataRegistry () | |
Not implemented. More... | |
AliMUONPainterDataRegistry (const AliMUONPainterDataRegistry &) | |
Not implemented. More... | |
AliMUONPainterDataRegistry & | operator= (const AliMUONPainterDataRegistry &) |
Not implemented. More... | |
void | CreateInteractiveReadOutConfig () const |
Private Attributes | |
TObjArray * | fDataMakers |
data makers More... | |
TObjArray * | fZombies |
data readers to be deleted More... | |
AliMUONVTrackerData * | fInteractiveReadOutConfig |
clickable readout configuration More... | |
Static Private Attributes | |
static AliMUONPainterDataRegistry * | fgInstance |
unique instance More... | |
Registry for painter data sources.
Registry for AliMUONVPainter related stuff : painter data sources and painter matrices
Definition at line 26 of file AliMUONPainterDataRegistry.h.
|
virtual |
dtor
Definition at line 58 of file AliMUONPainterDataRegistry.cxx.
|
private |
Not implemented.
ctor
Definition at line 47 of file AliMUONPainterDataRegistry.cxx.
Referenced by Instance().
|
private |
Not implemented.
|
private |
Create a base config
Definition at line 67 of file AliMUONPainterDataRegistry.cxx.
Referenced by InteractiveReadOutConfig().
AliMUONVTrackerDataMaker * AliMUONPainterDataRegistry::DataMaker | ( | Int_t | i | ) | const |
Get one data source
Definition at line 89 of file AliMUONPainterDataRegistry.cxx.
Referenced by DataSource(), and AliMUONMchViewApplication::Save().
void AliMUONPainterDataRegistry::DataMakerWasRegistered | ( | const AliMUONVTrackerDataMaker * | reader | ) |
A new reader source was registered
Definition at line 116 of file AliMUONPainterDataRegistry.cxx.
Referenced by Register().
void AliMUONPainterDataRegistry::DataMakerWasUnregistered | ( | const AliMUONVTrackerDataMaker * | reader | ) |
A data reader was unregistered
Definition at line 126 of file AliMUONPainterDataRegistry.cxx.
Referenced by Unregister().
AliMUONVTrackerData * AliMUONPainterDataRegistry::DataSource | ( | Int_t | i | ) | const |
Get one data source
Definition at line 105 of file AliMUONPainterDataRegistry.cxx.
Referenced by AliMUONPainterPlotSelector::AliMUONPainterPlotSelector(), AliMUONTrackerDataCompareDialog::AliMUONTrackerDataCompareDialog(), AliMUONTrackerDataCompareDialog::CompareData(), AliMUONPainterPlotSelector::CreateDimensionButtons(), MUONOfflineShift(), and Occupancy().
AliMUONVTrackerData * AliMUONPainterDataRegistry::DataSource | ( | const char * | name | ) | const |
Find a data source by name
Definition at line 158 of file AliMUONPainterDataRegistry.cxx.
void AliMUONPainterDataRegistry::DataSourceWasRegistered | ( | const AliMUONVTrackerData * | data | ) |
A new data source was registered
Definition at line 137 of file AliMUONPainterDataRegistry.cxx.
Referenced by Register().
void AliMUONPainterDataRegistry::DataSourceWasUnregistered | ( | const AliMUONVTrackerData * | data | ) |
A data source was unregistered
Definition at line 147 of file AliMUONPainterDataRegistry.cxx.
Referenced by Unregister().
void AliMUONPainterDataRegistry::DeleteZombies | ( | ) |
Delete zombies
Definition at line 243 of file AliMUONPainterDataRegistry.cxx.
|
static |
Get unique instance of this class
Definition at line 175 of file AliMUONPainterDataRegistry.cxx.
Referenced by AliMUONPainterDataSourceFrame::AliMUONPainterDataSourceFrame(), AliMUONPainterPlotSelector::AliMUONPainterPlotSelector(), AliMUONTrackerDataCompareDialog::AliMUONTrackerDataCompareDialog(), AliMUONTrackerDataCompareDialog::CompareData(), AliMUONPainterPlotSelector::CreateDimensionButtons(), CreateWeightedRejectList(), DataMakerReading(), AliMUONAlignmentCompareDialog::DoOK(), AliMUONVPainter::InteractiveReadOutConfig(), MUONOfflineShift(), Occupancy(), AliMUONPainterDataSourceFrame::OpenRecentSource(), AliMUONMchViewApplication::ReadDir(), AliMUONPainterDataSourceFrame::RegisterDataSource(), AliMUONPainterDataSourceItem::Remove(), AliMUONTrackerHV::ReportTrips(), and AliMUONMchViewApplication::Save().
AliMUONVTrackerData * AliMUONPainterDataRegistry::InteractiveReadOutConfig | ( | ) | const |
Return an object that contains the parts of the detector selected (using the mouse) to be part of the readout.
Definition at line 184 of file AliMUONPainterDataRegistry.cxx.
Referenced by AliMUONVPainter::InteractiveReadOutConfig().
Int_t AliMUONPainterDataRegistry::NumberOfDataMakers | ( | ) | const |
The number of data readers we handle
Definition at line 235 of file AliMUONPainterDataRegistry.cxx.
Referenced by DataSource(), NumberOfDataSources(), Print(), and AliMUONMchViewApplication::Save().
|
inline |
Number of data sources = data makers.
Definition at line 52 of file AliMUONPainterDataRegistry.h.
Referenced by AliMUONPainterPlotSelector::AliMUONPainterPlotSelector(), AliMUONTrackerDataCompareDialog::AliMUONTrackerDataCompareDialog(), MUONOfflineShift(), and Occupancy().
|
private |
Not implemented.
void AliMUONPainterDataRegistry::Print | ( | Option_t * | opt | ) | const |
Printout
Definition at line 195 of file AliMUONPainterDataRegistry.cxx.
void AliMUONPainterDataRegistry::Register | ( | AliMUONVTrackerDataMaker * | reader | ) |
reader is adopted, i.e. the registry becomes the owner of it.
Definition at line 225 of file AliMUONPainterDataRegistry.cxx.
Referenced by AliMUONTrackerDataCompareDialog::CompareData(), CreateWeightedRejectList(), DataMakerReading(), AliMUONAlignmentCompareDialog::DoOK(), AliMUONMchViewApplication::ReadDir(), AliMUONPainterDataSourceFrame::RegisterDataSource(), and AliMUONTrackerHV::ReportTrips().
Bool_t AliMUONPainterDataRegistry::Unregister | ( | AliMUONVTrackerDataMaker * | reader | ) |
Unregister some reader
Definition at line 251 of file AliMUONPainterDataRegistry.cxx.
Referenced by AliMUONPainterDataSourceItem::Remove().
|
private |
data makers
Definition at line 74 of file AliMUONPainterDataRegistry.h.
Referenced by DataMaker(), NumberOfDataMakers(), Print(), Register(), Unregister(), and ~AliMUONPainterDataRegistry().
|
staticprivate |
unique instance
Definition at line 73 of file AliMUONPainterDataRegistry.h.
Referenced by Instance().
|
mutableprivate |
clickable readout configuration
Definition at line 76 of file AliMUONPainterDataRegistry.h.
Referenced by CreateInteractiveReadOutConfig(), InteractiveReadOutConfig(), and ~AliMUONPainterDataRegistry().
|
private |
data readers to be deleted
Definition at line 75 of file AliMUONPainterDataRegistry.h.
Referenced by DeleteZombies(), and Unregister().