ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoop
EventLoop
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
15
namespace
EL
16
{
17
namespace
Detail
18
{
21
22
class
GridReportingModule
final
:
public
Module
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
Module.h
EL::Detail::GridReportingModule
a Module that handles the reporting from the job on the grid
Definition
GridReportingModule.h:23
EL::Detail::GridReportingModule::postFileClose
virtual StatusCode postFileClose(ModuleData &data) override
action at end of the worker job
Definition
GridReportingModule.cxx:47
EL::Detail::GridReportingModule::m_files
std::vector< std::string > m_files
the list of files we processed
Definition
GridReportingModule.h:28
EL::Detail::GridReportingModule::EC_BADINPUT
static constexpr int EC_BADINPUT
the panda error code for bad input files
Definition
GridReportingModule.h:25
EL::Detail::GridReportingModule::onExecute
virtual StatusCode onExecute(ModuleData &data) override
actions just before execute is called on algorithms
Definition
GridReportingModule.cxx:38
EL::Detail::GridReportingModule::onNewInputFile
virtual StatusCode onNewInputFile(ModuleData &data) override
actions after opening a new input file
Definition
GridReportingModule.cxx:28
EL::Detail::GridReportingModule::m_eventsProcessed
unsigned m_eventsProcessed
the number of events we processed
Definition
GridReportingModule.h:31
EL::Detail::GridReportingModule::reportInputFailure
virtual void reportInputFailure(ModuleData &data) override
report that we failed to open our input file
Definition
GridReportingModule.cxx:68
EL::Detail::Module
the base class for EventLoop instrumentation module
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/Module.h:40
EL::Detail
Definition
AsgComponentFactories.h:20
EL::Detail::ManagerStep::final
@ final
Definition
ManagerStep.h:136
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL::Detail::ModuleData
the data the EventLoop core classes are sharing with the Module implementation
Definition
ModuleData.h:65
Generated on
for ATLAS Offline Software by
1.17.0