ATLAS Offline Software
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 
16 #include <EventLoop/ManagerData.h>
17 #include <EventLoop/ManagerOrder.h>
18 #include <EventLoop/MessageCheck.h>
19 #include <RootCoreUtils/Assert.h>
20 #include <TSystem.h>
21 
22 using namespace EL::msgEventLoop;
23 
24 //
25 // method implementations
26 //
27 
28 namespace EL
29 {
30  namespace Detail
31  {
32  std::pair<Detail::ManagerOrder,std::string> BaseManager ::
33  getManagerOrder () const noexcept
34  {
35  return std::make_pair (ManagerOrder::BASE, "");
36  }
37 
38 
39 
40  ::StatusCode BaseManager ::
41  doManagerStep (Detail::ManagerData& data) const
42  {
43  switch (data.step)
44  {
46  // normally this should get overriden by the operation
47  // manager, but this is a safety fallback in case the
48  // operation doesn't do that, leaving us with nothing
49  // happening
50  data.nextStep = ManagerStep::final;
51  break;
52 
54  ANA_MSG_INFO ("done");
55  break;
56 
57  default:
58  break;
59  }
60  return ::StatusCode::SUCCESS;
61  }
62  }
63 }
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
EL::Detail::ManagerStep::final
@ final
Assert.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
MessageCheck.h
ManagerOrder.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ManagerData.h
ANA_MSG_INFO
#define ANA_MSG_INFO(xmsg)
Macro printing info messages.
Definition: Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:290
EL::Detail::ManagerStep::initial
@ initial
this is just the initial step we do, nothing really happens here
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
StatusCode.h
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
EL::Detail::ManagerData
an internal data structure for passing data between different manager objects anbd step
Definition: ManagerData.h:46
BaseManager.h