ATLAS Offline Software
Loading...
Searching...
No Matches
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
10#include "Gaudi/Property.h"
11#include <atomic>
12
13namespace 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
BoostedTTbarSkimmingToolAlg(const std::string &t, const std::string &n, const IInterface *p)
virtual bool eventPassesFilter(const EventContext &ctx) const override
Returns true if event passes the filter.
Gaudi::Property< double > m_ttbarCut
Property: m_ttbar cut in MeV.
THE reconstruction tool.