3 const char *wcsimdirenv = gSystem->Getenv(
"WCSIMDIR");
4 if (!(wcsimdirenv && wcsimdirenv[0])) {
6 std::cout <<
"Note: WCSIMDIR not set, assuming: " << wcsimdirenv << std::endl;
7 gSystem->Setenv(
"WCSIMDIR", wcsimdirenv);
11 gInterpreter->AddIncludePath(
"${WCSIMDIR}/include");
12 gSystem->Load(
"${WCSIMDIR}/libWCSimRoot");
13 gROOT->ProcessLine(
".L nuPRISMconvert.cc+");