ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoop
Root
BaseManager.cxx
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
//
10
// includes
11
//
12
13
#include <
EventLoop/BaseManager.h
>
14
15
#include <
AsgMessaging/StatusCode.h
>
16
#include <
EventLoop/ManagerData.h
>
17
#include <
EventLoop/ManagerOrder.h
>
18
#include <
EventLoop/MessageCheck.h
>
19
20
using namespace
EL::msgEventLoop;
21
22
//
23
// method implementations
24
//
25
26
namespace
EL
27
{
28
namespace
Detail
29
{
30
std::pair<Detail::ManagerOrder,std::string> BaseManager ::
31
getManagerOrder ()
const
noexcept
32
{
33
return
std::make_pair (
ManagerOrder::BASE
,
""
);
34
}
35
36
37
38
::StatusCode
BaseManager ::
39
doManagerStep (
Detail::ManagerData
& data)
const
40
{
41
switch
(data.step)
42
{
43
case
Detail::ManagerStep::initial
:
44
// normally this should get overriden by the operation
45
// manager, but this is a safety fallback in case the
46
// operation doesn't do that, leaving us with nothing
47
// happening
48
data.nextStep =
ManagerStep::final
;
49
break
;
50
51
case
Detail::ManagerStep::final
:
52
ANA_MSG_INFO
(
"done"
);
53
break
;
54
55
default
:
56
break
;
57
}
58
return ::StatusCode::SUCCESS;
59
}
60
}
61
}
BaseManager.h
ANA_MSG_INFO
#define ANA_MSG_INFO(xmsg,...)
Macro printing info messages.
Definition
Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:291
StatusCode.h
ManagerData.h
ManagerOrder.h
MessageCheck.h
const
EL::Detail
Definition
AsgComponentFactories.h:20
EL::Detail::ManagerStep::final
@ final
Definition
ManagerStep.h:136
EL::Detail::ManagerStep::initial
@ initial
this is just the initial step we do, nothing really happens here
Definition
ManagerStep.h:45
EL::Detail::ManagerOrder::BASE
@ BASE
the most basic operations, common for all tasks
Definition
ManagerOrder.h:29
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::ManagerData
an internal data structure for passing data between different manager objects anbd step
Definition
ManagerData.h:46
Generated on
for ATLAS Offline Software by
1.17.0