--- yoda/event/RunInfo.cpp 2006/02/07 17:11:07 6.0 +++ yoda/event/RunInfo.cpp 2006/03/08 13:51:45 6.1 @@ -1,6 +1,6 @@ /** @file * $Source: /home/cvsmanager/yoda/event/RunInfo.cpp,v $ - * $Id: RunInfo.cpp,v 5.1 2006/02/04 12:37:43 kusanagi Exp $ + * $Id: RunInfo.cpp,v 6.0 2006/02/07 17:11:07 kusanagi Exp $ * $Author: kusanagi $ * * Implementation of the default functions of the Algorithm class. @@ -17,7 +17,7 @@ using namespace pamela; RunInfo::RunInfo(PamelaRun* run): UserName(getpwuid(geteuid())->pw_name), - DataPath( getenv("YODA_DATA")), + DataPath( run->GetUnpackPath()), RunNumber(run->GetRunNumber()) { char* hostname = new char[1000]; gethostname(hostname, 1000);