ATLAS Offline Software
LinkCounterAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LINK_COUNTER_ALG_H
6 #define LINK_COUNTER_ALG_H
7 
9 
12 
13 
14 namespace FlavorTagDiscriminants {
15 
16  template <typename T, typename C>
18  {
19  public:
21  virtual StatusCode initialize() override;
22  virtual StatusCode execute(const EventContext& cxt) const override;
23  protected:
25  this, "links", "", "name of linked container"
26  };
28  this, "flag", "applyGNN", "flag to confirm GNN application"
29  };
30  Gaudi::Property<size_t> m_minimumLinks {
31  this, "minimumLinks", 0, "minimum number of links required to tag a jet"
32  };
33  };
34 
35 }
36 
37 #include "LinkCounterAlg.icc"
38 
39 #endif
SG::WriteDecorHandleKey< C >
FlavorTagDiscriminants::LinkCounterAlg::m_links
SG::ReadDecorHandleKey< C > m_links
Definition: LinkCounterAlg.h:24
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
FlavorTagDiscriminants
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition: AssociationEnums.h:11
FlavorTagDiscriminants::LinkCounterAlg::m_flag
SG::WriteDecorHandleKey< C > m_flag
Definition: LinkCounterAlg.h:27
FlavorTagDiscriminants::LinkCounterAlg
Definition: LinkCounterAlg.h:18
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
FlavorTagDiscriminants::LinkCounterAlg::initialize
virtual StatusCode initialize() override
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FlavorTagDiscriminants::LinkCounterAlg::m_minimumLinks
Gaudi::Property< size_t > m_minimumLinks
Definition: LinkCounterAlg.h:30
AthReentrantAlgorithm.h
FlavorTagDiscriminants::LinkCounterAlg::execute
virtual StatusCode execute(const EventContext &cxt) const override
SG::ReadDecorHandleKey< C >
LinkCounterAlg.icc