38 std::cout <<
"VP1LightRun - name: " <<
name << std::endl;
42 ::setenv(
"LCGPATCH_COINMULTISELECT",
"1",1);
54 std::cout <<
" in initialize() " << std::endl;
66 ISvcLocator* serviceLocator =
nullptr;
67 IToolSvc* toolSvc =
nullptr;
80 std::cout <<
"arguments not valid..." << std::endl;
86 std::cout <<
"OK! Returning TRUE..." << std::endl;
95 std::cout <<
"VP1LightRun:: in execute() " << std::endl;
99 std::cout <<
"no vp1gui. Returning..." << std::endl;
104 std::cout <<
"Launching VP1...!!" << std::endl;
116 std::cout <<
" Got run number = " <<
runNumber <<
", event number = " <<
eventNumber << std::endl;
120 std::chrono::time_point<std::chrono::system_clock>
now;
122 unsigned time = std::chrono::duration_cast<std::chrono::seconds>(
now.time_since_epoch() ).count();
123 std::cout <<
" Got timestamp = " <<
time << std::endl;
128 unsigned int trigType = 0;
134 std::cout <<
" Ending application gracefully." << std::endl;
141 std::cout <<
"VP1LightRun::execute() returns TRUE..." << std::endl;
150 std::cout <<
" in finalize() " << std::endl;
165 std::cout <<
" in handle() " << std::endl;
171 std::cout <<
"Aborting due to null VP1Gui pointer." << std::endl;
175 std::vector<std::string> vect;
196 if (strNewFileName.empty())
200 cout <<
" File requested by VP1 does not exists or is not readable: "<<strNewFileName<<
". Ending." << endl;
204 vect.push_back(strNewFileName);
206 cout <<
" Setting next event file: " << strNewFileName<< endl;
210 for(
unsigned i=0;
i<strNewFileNames.size(); ++
i) {
211 const std::string& strNewFileName = strNewFileNames[
i];
212 if (strNewFileName.empty())
216 cout <<
" File requested by VP1 does not exists or is not readable: " << strNewFileName << endl;
219 vect.push_back(strNewFileName);
221 cout <<
" Setting next event file: " << strNewFileName<< endl;