1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/RunInfo.cpp,v $ |
* $Source: /home/cvsmanager/yoda/event/RunInfo.cpp,v $ |
3 |
* $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 $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the default functions of the Algorithm class. |
* Implementation of the default functions of the Algorithm class. |
17 |
using namespace pamela; |
using namespace pamela; |
18 |
|
|
19 |
RunInfo::RunInfo(PamelaRun* run): UserName(getpwuid(geteuid())->pw_name), |
RunInfo::RunInfo(PamelaRun* run): UserName(getpwuid(geteuid())->pw_name), |
20 |
DataPath( getenv("YODA_DATA")), |
DataPath( run->GetUnpackPath()), |
21 |
RunNumber(run->GetRunNumber()) { |
RunNumber(run->GetRunNumber()) { |
22 |
char* hostname = new char[1000]; |
char* hostname = new char[1000]; |
23 |
gethostname(hostname, 1000); |
gethostname(hostname, 1000); |