ATLAS Offline Software
Loading...
Searching...
No Matches
ParticleLevelJetsAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef TRUTH_PARTICLELEVEL_JETS_ALG_H
8#define TRUTH_PARTICLELEVEL_JETS_ALG_H
9
10// Algorithm includes
15
16// Framework includes
19
20#include <atomic>
21
22namespace CP {
24 public:
26 virtual StatusCode initialize() final;
27 virtual StatusCode execute(const EventContext &ctx) const final;
28
29 private:
31 this, "jets", "", "the name of the input truth jets container"};
33 this, "eventInfo", "EventInfo", "the name of the EventInfo container"};
35 this, "truthLabelDecoration", m_jetsKey, "HadronConeExclTruthLabelID",
36 "the truth flavour label decoration on the input jets"};
38 this, "numTruthBJetsDecoration", m_eventInfoKey,
39 "num_truth_bjets_nocuts",
40 "the number of truth b-jets decoration on EventInfo"};
42 this, "numTruthCJetsDecoration", m_eventInfoKey,
43 "num_truth_cjets_nocuts",
44 "the number of truth c-jets decoration on EventInfo"};
45 mutable std::atomic<bool> m_warnedMissingLabel{false};
46};
47
48} // namespace CP
49
50#endif
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadDecorHandleKey< xAOD::JetContainer > m_truthLabelKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_decNumTruthCJetsKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_decNumTruthBJetsKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
std::atomic< bool > m_warnedMissingLabel
virtual StatusCode initialize() final
virtual StatusCode execute(const EventContext &ctx) const final
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
the base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Select isolated Photons, Electrons and Muons.