ATLAS Offline Software
Loading...
Searching...
No Matches
EventDensityAthAlg.h
Go to the documentation of this file.
1
2
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
the base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
EventDensityAthAlg(const std::string &n, ISvcLocator *l)
virtual StatusCode finalize() override
ToolHandle< IEventShapeTool > m_densityTool
virtual StatusCode execute(const EventContext &) const override
virtual StatusCode initialize() override
This module defines the arguments passed from the BATCH driver to the BATCH worker.