![]() |
AliRoot Core
v5-06-15 (45dab64)
|
Converts ASCII calibration files (ped, gains, capa) 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 | ReadGains (const char *filename, AliMUONVStore &gainStore, TString &comment) |
static Int_t | DecodeGains (const char *data, AliMUONVStore &gainStore, TString &comment) |
static Int_t | ReadOccupancy (const char *filename, AliMUONVStore &occupancyMap) |
static Int_t | DecodeOccupancy (const char *data, AliMUONVStore &occupancyMap) |
static Int_t | ReadCapacitances (const char *filename, AliMUONVStore &capaStore) |
static Int_t | DecodeCapacitances (const char *data, AliMUONVStore &capaStore) |
Converts ASCII calibration files (ped, gains, capa) 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 47 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 capacitances and append the read values into the given VStore To be used when the input is a string (for instance when getting data from AMORE DB).
Definition at line 462 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONTrackerConditionDataMaker::CreateStore(), and ReadCapacitances().
|
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 541 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONTrackerConditionDataMaker::CreateStore(), ReadConfig(), and AliMUONCDB::WriteConfig().
|
static |
Read gain 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 string (for instance when getting data from AMORE DB).
Definition at line 280 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONTrackerConditionDataMaker::CreateStore(), and ReadGains().
|
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 capacitance file and append the read values into the given VStore
Definition at line 437 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONCDB::MakeCapacitanceStore().
|
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 514 of file AliMUONTrackerIO.cxx.
Referenced by AliMUONPedestalSubprocessor::ReadConfigFile().
|
static |
Read gain 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 AliMUONGainSubprocessor::ReadFile().
|
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 587 of file AliMUONTrackerIO.cxx.