ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkCore
DerivationFrameworkCore
DerivationKernel.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_DERIVATIONKERNEL_H
6
#define DERIVATIONFRAMEWORK_DERIVATIONKERNEL_H 1
7
8
#include <string>
9
#include <vector>
10
11
#include "
AthenaBaseComps/AthAlgorithm.h
"
12
#include "
EventBookkeeperTools/FilterReporterParams.h
"
13
#include "GaudiKernel/ToolHandle.h"
14
#include "GaudiKernel/ServiceHandle.h"
15
#include "
DerivationFrameworkInterfaces/ISkimmingTool.h
"
16
#include "
DerivationFrameworkInterfaces/IThinningTool.h
"
17
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
18
#include "GaudiKernel/IChronoStatSvc.h"
19
20
namespace
DerivationFramework
{
21
23
class
DerivationKernel
:
public
AthAlgorithm
{
24
25
public
:
26
using
AthAlgorithm::AthAlgorithm
;
27
28
virtual
StatusCode
initialize
()
override
;
29
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
30
virtual
StatusCode
finalize
()
override
;
31
private
:
32
// Tools etc
33
PublicToolHandleArray<ISkimmingTool>
m_skimmingTools
{
this
,
"SkimmingTools"
, {} };
34
PublicToolHandleArray<IThinningTool>
m_thinningTools
{
this
,
"ThinningTools"
, {} };
35
PublicToolHandleArray<IAugmentationTool>
m_augmentationTools
{
this
,
"AugmentationTools"
, {} };
36
ServiceHandle<IChronoStatSvc>
m_chronoSvc
{
this
,
"ChronoStatSvc"
,
"ChronoStatSvc"
};
37
38
Gaudi::Property<bool>
m_runSkimmingFirst
{
this
,
"RunSkimmingFirst"
,
false
};
39
Gaudi::Property<bool>
m_doChronoStat
{
this
,
"doChronoStat"
,
true
,
"use ChronoStatSvc (only in serial jobs)"
};
40
41
FilterReporterParams
m_filterParams
{
this
,
"GoodRunsList"
,
"Good Runs Lists selection"
};
42
43
// Some counters
44
int
m_eventCounter
{};
45
int
m_acceptCntr
{};
46
47
};
48
49
}
// end of namespace
50
#endif
AthAlgorithm.h
FilterReporterParams.h
IAugmentationTool.h
ISkimmingTool.h
IThinningTool.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
DerivationFramework::DerivationKernel
Definition
DerivationKernel.h:23
DerivationFramework::DerivationKernel::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
DerivationKernel.cxx:133
DerivationFramework::DerivationKernel::m_runSkimmingFirst
Gaudi::Property< bool > m_runSkimmingFirst
Definition
DerivationKernel.h:38
DerivationFramework::DerivationKernel::m_doChronoStat
Gaudi::Property< bool > m_doChronoStat
Definition
DerivationKernel.h:39
DerivationFramework::DerivationKernel::finalize
virtual StatusCode finalize() override
Definition
DerivationKernel.cxx:215
DerivationFramework::DerivationKernel::m_filterParams
FilterReporterParams m_filterParams
Definition
DerivationKernel.h:41
DerivationFramework::DerivationKernel::initialize
virtual StatusCode initialize() override
Definition
DerivationKernel.cxx:51
DerivationFramework::DerivationKernel::m_thinningTools
PublicToolHandleArray< IThinningTool > m_thinningTools
Definition
DerivationKernel.h:34
DerivationFramework::DerivationKernel::m_acceptCntr
int m_acceptCntr
Definition
DerivationKernel.h:45
DerivationFramework::DerivationKernel::m_eventCounter
int m_eventCounter
Definition
DerivationKernel.h:44
DerivationFramework::DerivationKernel::m_skimmingTools
PublicToolHandleArray< ISkimmingTool > m_skimmingTools
Definition
DerivationKernel.h:33
DerivationFramework::DerivationKernel::m_chronoSvc
ServiceHandle< IChronoStatSvc > m_chronoSvc
Definition
DerivationKernel.h:36
DerivationFramework::DerivationKernel::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
DerivationFramework::DerivationKernel::m_augmentationTools
PublicToolHandleArray< IAugmentationTool > m_augmentationTools
Definition
DerivationKernel.h:35
FilterReporterParams
a handle for applying algorithm filter decisions
Definition
FilterReporterParams.h:57
ServiceHandle
Definition
ClusterMakerTool.h:36
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
Generated on
for ATLAS Offline Software by
1.17.0