ATLAS Offline Software
EventDensityAthAlg.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
11 #ifndef EVENTSHAPETOOLS_EVENTDENSITYATHALG_H
12 #define EVENTSHAPETOOLS_EVENTDENSITYATHALG_H 1
13 
14 // STL includes
15 #include <string>
16 
17 // FrameWork includes
19 
21 #include "AsgTools/ToolHandle.h"
22 
23 
25 
27  // Public methods:
29  public:
30 
31  // Can't use "using ctor" because of incompatiblity with pyroot in AnalysisBase
32  EventDensityAthAlg(const std::string & n, ISvcLocator* l) : EL::AnaReentrantAlgorithm(n,l) {}
33 
34  // Athena algorithm's Hooks
35  virtual StatusCode initialize() override;
36  virtual StatusCode execute( const EventContext&) const override;
37  virtual StatusCode finalize() override;
38 
39  private:
40  ToolHandle<IEventShapeTool> m_densityTool{this,"EventDensityTool",""};
41 };
42 
43 #endif //> !EVENTSHAPETOOLS_EVENTDENSITYATHALG_H
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
EventDensityAthAlg::m_densityTool
ToolHandle< IEventShapeTool > m_densityTool
Definition: EventDensityAthAlg.h:40
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IEventShapeTool.h
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
EventDensityAthAlg::EventDensityAthAlg
EventDensityAthAlg(const std::string &n, ISvcLocator *l)
Definition: EventDensityAthAlg.h:32
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaReentrantAlgorithm.cxx:29
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition: AnaReentrantAlgorithm.h:51
EventDensityAthAlg::finalize
virtual StatusCode finalize() override
Definition: EventDensityAthAlg.cxx:25
AnaReentrantAlgorithm.h
EventDensityAthAlg
Definition: EventDensityAthAlg.h:24
EventDensityAthAlg::initialize
virtual StatusCode initialize() override
Definition: EventDensityAthAlg.cxx:17
ToolHandle.h
EventDensityAthAlg::execute
virtual StatusCode execute(const EventContext &) const override
Definition: EventDensityAthAlg.cxx:30