Skip to content
Snippets Groups Projects
Commit aaee3229 authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny: Committed by Graeme Stewart
Browse files

fixing negative event numbers. Details:...

fixing negative event numbers. Details: https://its.cern.ch/jira/browse/ATLASVPONE-287. (VP1Algs-00-14-04)

     * fixing negative event numbers.
	   Details: https://its.cern.ch/jira/browse/ATLASVPONE-287.
	 * new tag: VP1Algs-00-14-04

     * tagged as: VP1Algs-00-14-03


Former-commit-id: d0ed5f18f05ed3a6a6b272d7576944786dceaf97
parent 50cefdff
No related branches found
No related tags found
No related merge requests found
...@@ -28,3 +28,4 @@ atlas_install_joboptions( share/*.py ) ...@@ -28,3 +28,4 @@ atlas_install_joboptions( share/*.py )
atlas_install_scripts( share/vp1 ) atlas_install_scripts( share/vp1 )
atlas_install_scripts( share/clear-bash-hash-table-vp1 ) atlas_install_scripts( share/clear-bash-hash-table-vp1 )
...@@ -23,7 +23,7 @@ apply_pattern declare_python_modules files="*.py" ...@@ -23,7 +23,7 @@ apply_pattern declare_python_modules files="*.py"
# this declares the script in share/ # this declares the script in share/
apply_pattern declare_scripts files="clear-bash-hash-table-vp1" apply_pattern declare_scripts files="clear-bash-hash-table-vp1"
# this defines an action to be used in the pattern defined below # this defines an action to be used in the pattern defined below
macro VP1Algs_clearBash "clear-bash-hash-table-vp1 " macro VP1Algs_clearBash "clear-bash-hash-table-vp1"
pattern clearbash_vp1_executable \ pattern clearbash_vp1_executable \
private ; \ private ; \
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <stdexcept> #include <stdexcept>
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <cstdint> // for uint64_t (unsigned long long)
#include <cstdlib> //For setenv #include <cstdlib> //For setenv
...@@ -138,7 +139,7 @@ StatusCode VP1Alg::execute() ...@@ -138,7 +139,7 @@ StatusCode VP1Alg::execute()
StatusCode status = evtStore()->retrieve(evt); StatusCode status = evtStore()->retrieve(evt);
if(status.isSuccess()) { if(status.isSuccess()) {
// Get run/event number: // Get run/event number:
int eventNumber = evt->event_ID()->event_number(); const uint64_t eventNumber = evt->event_ID()->event_number();
int runNumber = evt->event_ID()->run_number(); int runNumber = evt->event_ID()->run_number();
msg(MSG::DEBUG) << " Got run number = " << runNumber msg(MSG::DEBUG) << " Got run number = " << runNumber
<< ", event number = " << eventNumber << endreq; << ", event number = " << eventNumber << endreq;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment