From 5b086af59a7203408039a57d4a67a18b38279e58 Mon Sep 17 00:00:00 2001 From: zampolli Date: Wed, 7 May 2008 17:12:26 +0000 Subject: [PATCH] Adding expansion of file name - necessary for testing the preprocessor. --- TOF/AliTOFFEEReader.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TOF/AliTOFFEEReader.cxx b/TOF/AliTOFFEEReader.cxx index 0825d6b9a77..320ff04de7f 100644 --- a/TOF/AliTOFFEEReader.cxx +++ b/TOF/AliTOFFEEReader.cxx @@ -25,6 +25,7 @@ // // ////////////////////////////////////////////////////////////////////// +#include #include "AliTOFFEEReader.h" #include "AliTOFFEEConfig.h" #include "AliTOFRawStream.h" @@ -119,8 +120,9 @@ AliTOFFEEReader::LoadFEEConfig(const Char_t *FileName) const * */ + Char_t *expandedFileName = gSystem->ExpandPathName(FileName); std::ifstream is; - is.open(FileName, std::ios::binary); + is.open(expandedFileName, std::ios::binary); is.read((Char_t *)fFEEConfig, sizeof(AliTOFFEEConfig)); is.close(); } -- 2.43.0