ATLAS Offline Software
Loading...
Searching...
No Matches
GridReportingModule.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9#ifndef EVENT_LOOP_GRID__GRID_REPORTING_MODULE_H
10#define EVENT_LOOP_GRID__GRID_REPORTING_MODULE_H
11
12#include <EventLoop/Module.h>
13#include <vector>
14
15namespace EL
16{
17 namespace Detail
18 {
21
23 {
25 static constexpr int EC_BADINPUT = 223;
26
28 std::vector<std::string> m_files;
29
31 unsigned m_eventsProcessed = 0;
32
33 public:
34
35 using Module::Module;
36
37 virtual StatusCode onNewInputFile (ModuleData& data) override;
38 virtual StatusCode onExecute (ModuleData& data) override;
39 virtual StatusCode postFileClose (ModuleData& data) override;
40 virtual void reportInputFailure (ModuleData& data) override;
41 };
42 }
43}
44
45#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
a Module that handles the reporting from the job on the grid
virtual StatusCode postFileClose(ModuleData &data) override
action at end of the worker job
std::vector< std::string > m_files
the list of files we processed
static constexpr int EC_BADINPUT
the panda error code for bad input files
virtual StatusCode onExecute(ModuleData &data) override
actions just before execute is called on algorithms
virtual StatusCode onNewInputFile(ModuleData &data) override
actions after opening a new input file
unsigned m_eventsProcessed
the number of events we processed
virtual void reportInputFailure(ModuleData &data) override
report that we failed to open our input file
the base class for EventLoop instrumentation module
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
the data the EventLoop core classes are sharing with the Module implementation
Definition ModuleData.h:64