![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
Converts ASCII calibration files (ped, config, occupancy) into AliMUONVStore object. More...
#include <AliMUONTrackerIO.h>
Public Types | |
enum | ErrorCode { kCannotOpenFile = -1, kDummyFile = -2, kFormatError = -3, kNoInfoFile = -4, kNoMapping = -99 } |
Error code constants. More... | |
Public Member Functions | |
AliMUONTrackerIO () | |
virtual | ~AliMUONTrackerIO () |
Static Public Member Functions | |
static Int_t | ReadConfig (const char *filename, AliMUONVStore &confStore) |
static Int_t | DecodeConfig (const char *data, AliMUONVStore &confStore) |
static Int_t | WriteConfig (ofstream &out, const AliMUONVStore &confStore) |
static Int_t | ReadPedestals (const char *filename, AliMUONVStore &pedStore) |
static Int_t | DecodePedestals (const char *data, AliMUONVStore &pedStore) |
static Int_t | ReadOccupancy (const char *filename, AliMUONVStore &occupancyMap) |
static Int_t | DecodeOccupancy (const char *data, AliMUONVStore &occupancyMap) |
Converts ASCII calibration files (ped, config, occupancy) into AliMUONVStore object.
Reader class for ASCII calibration files for MUON tracker : converts those ASCII files into AliMUONVStore (suitable to e.g. feed the OCDB).
Definition at line 24 of file AliMUONTrackerIO.h.
Error code constants.
Definition at line 41 of file AliMUONTrackerIO.h.
AliMUONTrackerIO::AliMUONTrackerIO | ( | ) |
ctor
Definition at line 54 of file AliMUONTrackerIO.cxx.
|
virtual |
dtor
Definition at line 60 of file AliMUONTrackerIO.cxx.
|
static |
Read config data (produced by the MUONTRKda.exe program for instance) and append the read values into the given VStore To be used when the input is a TString (for instance when getting data from AMORE DB).
Definition at line 276 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONTrackerConditionDataMaker::CreateStore(), ReadConfig(), and AliMUONCDB::WriteConfig().
|
static |
Decode occupancy string created append values to the occupancyMap store. Expected format of the file is : busPatchId manuId sumofn nevt
DA could not produce information (because run failed somehow). That's OK, but let the world know about it
Definition at line 96 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONTrackerConditionDataMaker::CreateStore(), and ReadOccupancy().
|
static |
Read pedestal Data (produced by the MUONTRKda.exe program for instance) and append the read values into the given VStore To be used when the input is a TString (for instance when getting data from AMORE DB).
Definition at line 199 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONTrackerConditionDataMaker::CreateStore(), and ReadPedestals().
|
static |
Read config file (produced by the MUONTRKda.exe program for instance) and append the read values into the given VStore To be used when the input is a file (for instance when reading data from the OCDB).
Definition at line 249 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONConfigSubprocessor::ReadConfigFile(), and AliMUONPedestalSubprocessor::ReadConfigFile().
|
static |
Read occupancy file created by online DA and append values to the occupancyMap store. Expected format of the file is : busPatchId manuId sumofn nevt
Definition at line 67 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONOccupancySubprocessor::ReadFile().
|
static |
Read pedestal file (produced by the MUONTRKda.exe program for instance) and append the read values into the given VStore To be used when the input is a file (for instance when reading data from the OCDB).
Definition at line 171 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONPedestalSubprocessor::ReadPedestalFile().
|
static |
Write the conf store as an ASCII file Note that we are converting (back) the detElemId into a busPatchId Return the number of lines written
Definition at line 322 of file AliMUONTrackerIO.cxx.