![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
Implementation of AliMUONVSubprocessor for MUON TRK pedestals. More...
#include <AliMUONPedestalSubprocessor.h>
Public Member Functions | |
AliMUONPedestalSubprocessor (AliMUONPreprocessor *master) | |
virtual | ~AliMUONPedestalSubprocessor () |
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 | |
AliMUONPedestalSubprocessor (const AliMUONPedestalSubprocessor &) | |
Not implemented. More... | |
AliMUONPedestalSubprocessor & | operator= (const AliMUONPedestalSubprocessor &) |
Not implemented. More... | |
Int_t | ReadPedestalFile (const char *filename) |
Int_t | ReadConfigFile (const char *filename) |
Bool_t | HasConfigChanged (const AliMUONVStore &newConfig) const |
Private Attributes | |
AliMUONVStore * | fPedestals |
! Pedestals for the MUON TRK More... | |
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... | |
Bool_t | fTooFewEvents |
! whether the current run was a failed ped run, basically 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 pedestals.
Implementation of AliMUONVSubprocessor class to deal with MUON TRK pedestals.
Pedestals are read in from an ascii file, with the format :
------------------------------------------------------------------------—
BUS_PATCH MANU_ADDR CHANNEL MEAN SIGMA
------------------------------------------------------------------------—
Definition at line 22 of file AliMUONPedestalSubprocessor.h.
AliMUONPedestalSubprocessor::AliMUONPedestalSubprocessor | ( | AliMUONPreprocessor * | master | ) |
default ctor
Definition at line 56 of file AliMUONPedestalSubprocessor.cxx.
|
virtual |
dtor
Definition at line 69 of file AliMUONPedestalSubprocessor.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 78 of file AliMUONPedestalSubprocessor.cxx.
Referenced by Initialize().
|
virtual |
When starting a new run, reads in the pedestals ASCII files.
Reimplemented from AliMUONVSubprocessor.
Definition at line 123 of file AliMUONPedestalSubprocessor.cxx.
|
private |
Not implemented.
void AliMUONPedestalSubprocessor::Print | ( | Option_t * | opt = "" | ) | const |
ouput to screen
Definition at line 346 of file AliMUONPedestalSubprocessor.cxx.
|
virtual |
Process this sub-task.
Store the pedestals into the CDB
Implements AliMUONVSubprocessor.
Definition at line 222 of file AliMUONPedestalSubprocessor.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 319 of file AliMUONPedestalSubprocessor.cxx.
Referenced by Initialize().
|
private |
Read the pedestals from an ASCII file.
Format of that file is one line per channel :
----------------------------------------------------------------------—
BUS_PATCH MANU_ADDR CHANNEL MEAN SIGMA
----------------------------------------------------------------------—
Return kFALSE if reading was not successfull.
Definition at line 290 of file AliMUONPedestalSubprocessor.cxx.
Referenced by Initialize().
|
private |
! Configuration (i.e. list of (buspatch,manu)) for the MUON TRK
Definition at line 45 of file AliMUONPedestalSubprocessor.h.
Referenced by Initialize(), Print(), Process(), ReadConfigFile(), and ~AliMUONPedestalSubprocessor().
|
private |
! flag to trigger the saving of the configuration
Definition at line 46 of file AliMUONPedestalSubprocessor.h.
Referenced by Initialize(), and Process().
|
private |
! Pedestals for the MUON TRK
Definition at line 44 of file AliMUONPedestalSubprocessor.h.
Referenced by Initialize(), Print(), Process(), ReadPedestalFile(), and ~AliMUONPedestalSubprocessor().
|
private |
! whether the current run was a failed ped run, basically
Definition at line 47 of file AliMUONPedestalSubprocessor.h.
Referenced by Initialize(), and Process().