ATLAS Offline Software
Loading...
Searching...
No Matches
BatchInputModule.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef EVENT_LOOP__BATCH_INPUT_MODULE_H
9#define EVENT_LOOP__BATCH_INPUT_MODULE_H
10
11#include <EventLoop/Module.h>
12#include <cstdint>
13#include <optional>
14
15namespace EL
16{
17 struct BatchSample;
18 struct BatchSegment;
19
20 namespace Detail
21 {
23
25 {
28
29 public:
30
31 using Module::Module;
32
33 Gaudi::Property<int> jobId {this, "jobId", -1,
34 "the id/index of the subjob we are processing"};
35 Gaudi::Property<std::int64_t> maxEvents {this, "maxEvents", -1,
36 "the maximum number of events to process (-1 means all)"};
37
38
39
42
43 public:
44
46 };
47 }
48}
49
50#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
the IInputModule implementation for the batch driver
Gaudi::Property< std::int64_t > maxEvents
StatusCode processInputs(ModuleData &data, IInputModuleActions &actions) override
Gaudi::Property< int > jobId
the actions that Module::processInputs can perform
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