#include "AliHLTMUONProcessor.h"
#include "AliHLTMUONConstants.h"
+#include "AliHLTMisc.h"
#include "AliMUONRecoParam.h"
#include "AliCDBManager.h"
#include "AliCDBStorage.h"
Int_t runUsed = cdbManager->GetRun();
// Now we can try load the DDL and DE store objects.
- if (cdbManager->GetId("MUON/Calib/MappingData", runUsed) == NULL)
+ if (AliHLTMisc::Instance().LoadOCDBEntry("MUON/Calib/MappingData", runUsed) == NULL)
{
HLTError("Could not find entry in CDB path '%s/MUON/Calib/MappingData' and run no. %d.",
cdbPathUsed, runUsed
);
return -ENOENT;
}
- if (cdbManager->GetId("MUON/Calib/Gains", runUsed) == NULL)
+ if (AliHLTMisc::Instance().LoadOCDBEntry("MUON/Calib/Gains", runUsed) == NULL)
{
HLTError("Could not find entry in CDB path '%s/MUON/Calib/Gains' and run no. %d.",
cdbPathUsed, runUsed
);
return -ENOENT;
}
- if (cdbManager->GetId("MUON/Calib/Pedestals", runUsed) == NULL)
+ if (AliHLTMisc::Instance().LoadOCDBEntry("MUON/Calib/Pedestals", runUsed) == NULL)
{
HLTError("Could not find entry in CDB path '%s/MUON/Calib/Pedestals' and run no. %d.",
cdbPathUsed, runUsed
int AliHLTMUONProcessor::FetchTMapFromCDB(const char* pathToEntry, TMap*& map) const
{
/// Fetches a TMap object from the CDB.
- /// [in] \param pathToEntry The relative path to the entry in the CDB to fetch.
- /// [out] \param map This will be filled with the TMap object found if
+ /// \param [in] pathToEntry The relative path to the entry in the CDB to fetch.
+ /// \param [out] map This will be filled with the TMap object found if
/// a successful status code is returned. Otherwise it will be unchanged.
/// \return Zero if the object could be found. Otherwise an error code,
/// which is compatible with the HLT framework, is returned.
) const
{
/// Tries to find the string value associated with a certain parameter in a TMap.
- /// [in] \param map The TMap object to search in.
- /// [in] \param paramName The name of the parameter to search for.
- /// [out] \param value Will be filled with the object found.
- /// [in] \param pathToEntry The relative path to the entry in the CDB.
+ /// \param [in] map The TMap object to search in.
+ /// \param [in] paramName The name of the parameter to search for.
+ /// \param [out] value Will be filled with the object found.
+ /// \param [in] pathToEntry The relative path to the entry in the CDB.
/// Used when printing error messages. If set to NULL then a string of
/// "(unknown)" is used. (default is NULL).
- /// [in] \param prettyName Should be the name of the parameter which will
+ /// \param [in] prettyName Should be the name of the parameter which will
/// be used when printing error messages. If this is set to NULL then
/// the paramName will be used instead (default is NULL).
/// \return Zero if the object could be found. Otherwise an error code,
{
/// Tries to find a certain parameter in the TMap object and convert it to
/// an integer value.
- /// [in] \param map The TMap object to search in.
- /// [in] \param paramName The name of the parameter to search for.
- /// [out] \param value Will be filled with the integer value for the parameter,
+ /// \param [in] map The TMap object to search in.
+ /// \param [in] paramName The name of the parameter to search for.
+ /// \param [out] value Will be filled with the integer value for the parameter,
/// if it was found and it was an integer value.
- /// [in] \param pathToEntry The relative path to the entry in the CDB.
+ /// \param [in] pathToEntry The relative path to the entry in the CDB.
/// Used when printing error messages. If set to NULL then a string of
/// "(unknown)" is used. (default is NULL).
- /// [in] \param prettyName Should be the name of the parameter which will
+ /// \param [in] prettyName Should be the name of the parameter which will
/// be used when printing error messages. If this is set to NULL then
/// the paramName will be used instead (default is NULL).
/// \return Zero if the object could be found and is valid. Otherwise an
{
/// Tries to find a certain parameter in the TMap object and convert it to
/// a positive integer value.
- /// [in] \param map The TMap object to search in.
- /// [in] \param paramName The name of the parameter to search for.
- /// [out] \param value Will be filled with the integer value for the parameter,
+ /// \param [in] map The TMap object to search in.
+ /// \param [in] paramName The name of the parameter to search for.
+ /// \param [out] value Will be filled with the integer value for the parameter,
/// if it was found and it was a positive integer value.
- /// [in] \param pathToEntry The relative path to the entry in the CDB.
+ /// \param [in] pathToEntry The relative path to the entry in the CDB.
/// Used when printing error messages. If set to NULL then a string of
/// "(unknown)" is used. (default is NULL).
- /// [in] \param prettyName Should be the name of the parameter which will
+ /// \param [in] prettyName Should be the name of the parameter which will
/// be used when printing error messages. If this is set to NULL then
/// the paramName will be used instead (default is NULL).
/// \return Zero if the object could be found and is valid. Otherwise an
{
/// Tries to find a certain parameter in the TMap object and convert it to
/// an floating point value.
- /// [in] \param map The TMap object to search in.
- /// [in] \param paramName The name of the parameter to search for.
- /// [out] \param value Will be filled with the floating point value for the
+ /// \param [in] map The TMap object to search in.
+ /// \param [in] paramName The name of the parameter to search for.
+ /// \param [out] value Will be filled with the floating point value for the
/// parameter, if it was found and it was a floating point value.
- /// [in] \param pathToEntry The relative path to the entry in the CDB.
+ /// \param [in] pathToEntry The relative path to the entry in the CDB.
/// Used when printing error messages. If set to NULL then a string of
/// "(unknown)" is used. (default is NULL).
- /// [in] \param prettyName Should be the name of the parameter which will
+ /// \param [in] prettyName Should be the name of the parameter which will
/// be used when printing error messages. If this is set to NULL then
/// the paramName will be used instead (default is NULL).
/// \return Zero if the object could be found and is valid. Otherwise an
{
/// Tries to find a certain parameter in the TMap object and convert it to
/// an positive floating point value.
- /// [in] \param map The TMap object to search in.
- /// [in] \param paramName The name of the parameter to search for.
- /// [out] \param value Will be filled with the floating point value for the
+ /// \param [in] map The TMap object to search in.
+ /// \param [in] paramName The name of the parameter to search for.
+ /// \param [out] value Will be filled with the floating point value for the
/// parameter, if it was found and it was a positive floating point value.
- /// [in] \param pathToEntry The relative path to the entry in the CDB.
+ /// \param [in] pathToEntry The relative path to the entry in the CDB.
/// Used when printing error messages. If set to NULL then a string of
/// "(unknown)" is used. (default is NULL).
- /// [in] \param prettyName Should be the name of the parameter which will
+ /// \param [in] prettyName Should be the name of the parameter which will
/// be used when printing error messages. If this is set to NULL then
/// the paramName will be used instead (default is NULL).
/// \return Zero if the object could be found and is valid. Otherwise an
int AliHLTMUONProcessor::LoadRecoParamsFromCDB(AliMUONRecoParam*& params) const
{
/// Fetches the reconstruction parameters object from the CDB for MUON.
- /// [out] \param params This will be filled with the reconstruction
+ /// \param [out] params This will be filled with the reconstruction
/// parameters object found if a successful status code is returned.
/// Otherwise it will be unchanged.
/// \return Zero if the object could be found. Otherwise an error code,