![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
Implementation of AliMUONVSubprocessor for MUON TRK config. More...
#include <AliMUONConfigSubprocessor.h>
Public Member Functions | |
AliMUONConfigSubprocessor (AliMUONPreprocessor *master) | |
virtual | ~AliMUONConfigSubprocessor () |
Bool_t | Initialize (Int_t run, UInt_t startTime, UInt_t endTime) |
UInt_t | Process (TMap *dcsAliasMap) |
Process this sub-task. More... | |
void | Print (Option_t *opt="") const |
![]() | |
AliMUONVSubprocessor (AliMUONPreprocessor *master, const char *name="", const char *title="") | |
virtual | ~AliMUONVSubprocessor () |
Private Member Functions | |
AliMUONConfigSubprocessor (const AliMUONConfigSubprocessor &) | |
Not implemented. More... | |
AliMUONConfigSubprocessor & | operator= (const AliMUONConfigSubprocessor &) |
Not implemented. More... | |
Int_t | ReadConfigFile (const char *filename) |
Bool_t | HasConfigChanged (const AliMUONVStore &newConfig) const |
Private Attributes | |
AliMUONVStore * | fConfig |
! Configuration (i.e. list of (buspatch,manu)) for the MUON TRK More... | |
Bool_t | fConfigChanged |
! flag to trigger the saving of the configuration More... | |
Additional Inherited Members | |
![]() | |
AliMUONPreprocessor * | Master () const |
Return the pointer to our master. More... | |
Bool_t | RemoveValuesOutsideRun (TObjArray *values) |
AliMUONVSubprocessor () | |
Not implemented. More... | |
AliMUONVSubprocessor (const AliMUONVSubprocessor &) | |
Not implemented. More... | |
AliMUONVSubprocessor & | operator= (const AliMUONVSubprocessor &) |
Not implemented. More... | |
Implementation of AliMUONVSubprocessor for MUON TRK config.
Implementation of AliMUONVSubprocessor class to deal with MUON TRK readout configuration.
Configs are read in from an ascii file, with the format :
------------------------------------------------------------------------—
BUS_PATCH MANU_ADDR ------------------------------------------------------------------------—
Definition at line 21 of file AliMUONConfigSubprocessor.h.
AliMUONConfigSubprocessor::AliMUONConfigSubprocessor | ( | AliMUONPreprocessor * | master | ) |
default ctor
Definition at line 56 of file AliMUONConfigSubprocessor.cxx.
|
virtual |
dtor
Definition at line 67 of file AliMUONConfigSubprocessor.cxx.
|
private |
Not implemented.
|
private |
Check whether the config changed. Any error will return kTRUE to trig a config upload (safer way).
Definition at line 75 of file AliMUONConfigSubprocessor.cxx.
Referenced by Initialize().
|
virtual |
When starting a new run, reads in the config ASCII files.
Reimplemented from AliMUONVSubprocessor.
Definition at line 120 of file AliMUONConfigSubprocessor.cxx.
|
private |
Not implemented.
void AliMUONConfigSubprocessor::Print | ( | Option_t * | opt = "" | ) | const |
ouput to screen
Definition at line 228 of file AliMUONConfigSubprocessor.cxx.
|
virtual |
Process this sub-task.
Store the config into the CDB So far there is no way this sub processor can fail...
Implements AliMUONVSubprocessor.
Definition at line 170 of file AliMUONConfigSubprocessor.cxx.
|
private |
Read the configuration from an ASCII file. Format of that file is one line per manu : BUS_PATCH MANU_ADDR Return kFALSE if reading was not successfull.
Definition at line 201 of file AliMUONConfigSubprocessor.cxx.
Referenced by Initialize().
|
private |
! Configuration (i.e. list of (buspatch,manu)) for the MUON TRK
Definition at line 42 of file AliMUONConfigSubprocessor.h.
Referenced by Initialize(), Print(), Process(), ReadConfigFile(), and ~AliMUONConfigSubprocessor().
|
private |
! flag to trigger the saving of the configuration
Definition at line 43 of file AliMUONConfigSubprocessor.h.
Referenced by Initialize(), and Process().