ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkTop
src
BoostedTTbarSkimmingToolAlg.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_BOOSTEDTTBARSKIMMINGTOOLALG_H
6
#define DERIVATIONFRAMEWORK_BOOSTEDTTBARSKIMMINGTOOLALG_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
DerivationFrameworkInterfaces/ISkimmingTool.h
"
10
#include "Gaudi/Property.h"
11
#include <atomic>
12
13
namespace
DerivationFramework
{
14
18
class
BoostedTTbarSkimmingToolAlg
:
public
extends<AthAlgTool, ISkimmingTool>
19
{
20
public
:
21
BoostedTTbarSkimmingToolAlg
(
const
std::string& t,
const
std::string& n,
const
IInterface* p);
22
virtual
~BoostedTTbarSkimmingToolAlg
() =
default
;
23
24
virtual
StatusCode
initialize
()
override
{
return
StatusCode::SUCCESS; }
25
virtual
StatusCode
finalize
()
override
;
26
28
virtual
bool
eventPassesFilter
(
const
EventContext& ctx)
const override
;
29
31
Gaudi::Property<double>
m_ttbarCut
{
this
,
"ttbarCut"
, 0.0,
"ttbar mass cut"
};
32
33
private
:
34
mutable
std::atomic<unsigned int>
m_ntot
{0};
35
mutable
std::atomic<unsigned int>
m_npass
{0};
36
};
37
38
}
// namespace DerivationFramework
39
40
#endif
// DERIVATIONFRAMEWORK_BOOSTEDTTBARSKIMMINGTOOLALG_H
AthAlgTool.h
ISkimmingTool.h
DerivationFramework::BoostedTTbarSkimmingToolAlg::finalize
virtual StatusCode finalize() override
Definition
BoostedTTbarSkimmingToolAlg.cxx:19
DerivationFramework::BoostedTTbarSkimmingToolAlg::m_npass
std::atomic< unsigned int > m_npass
Definition
BoostedTTbarSkimmingToolAlg.h:35
DerivationFramework::BoostedTTbarSkimmingToolAlg::~BoostedTTbarSkimmingToolAlg
virtual ~BoostedTTbarSkimmingToolAlg()=default
DerivationFramework::BoostedTTbarSkimmingToolAlg::BoostedTTbarSkimmingToolAlg
BoostedTTbarSkimmingToolAlg(const std::string &t, const std::string &n, const IInterface *p)
Definition
BoostedTTbarSkimmingToolAlg.cxx:12
DerivationFramework::BoostedTTbarSkimmingToolAlg::initialize
virtual StatusCode initialize() override
Definition
BoostedTTbarSkimmingToolAlg.h:24
DerivationFramework::BoostedTTbarSkimmingToolAlg::eventPassesFilter
virtual bool eventPassesFilter(const EventContext &ctx) const override
Returns true if event passes the filter.
Definition
BoostedTTbarSkimmingToolAlg.cxx:25
DerivationFramework::BoostedTTbarSkimmingToolAlg::m_ttbarCut
Gaudi::Property< double > m_ttbarCut
Property: m_ttbar cut in MeV.
Definition
BoostedTTbarSkimmingToolAlg.h:31
DerivationFramework::BoostedTTbarSkimmingToolAlg::m_ntot
std::atomic< unsigned int > m_ntot
Definition
BoostedTTbarSkimmingToolAlg.h:34
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
Generated on
for ATLAS Offline Software by
1.17.0