ATLAS Offline Software
FTagGhostElectronAssociationAlg.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 
6 
7 #ifndef F_TAG_GHOST_ELECTRON_ASSOCIATION_ALG_H
8 #define F_TAG_GHOST_ELECTRON_ASSOCIATION_ALG_H
9 
14 #include <xAODJet/JetContainer.h>
16 
17 namespace FlavorTagDiscriminants
18 {
20 
22  {
24  public:
25  FTagGhostElectronAssociationAlg(const std::string& name,
26  ISvcLocator* pSvcLocator );
27 
28  virtual StatusCode initialize() override;
29  virtual StatusCode execute(const EventContext& ) const override;
30 
31 
32  private:
33 
34  // Input containers
36  this, "jetContainer", "", "the jet collection to run on"
37  };
39  this, "electronContainer", "Electrons", "the electron collection to run on"
40  };
41 
42  // Output containers
44  this, "outElectrons", "Something.GhostElectrons",
45  "Link to be added to the Jet"
46  };
47  };
48 }
49 
50 #endif // F_TAG_GHOST_ELECTRON_ASSOCIATION_ALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
columnar::final
CM final
Definition: ColumnAccessor.h:106
FlavorTagDiscriminants
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition: AssociationEnums.h:11
FlavorTagDiscriminants::FTagGhostElectronAssociationAlg::m_ElectronsOutKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ElectronsOutKey
Definition: FTagGhostElectronAssociationAlg.h:43
SG::ReadHandleKey< xAOD::JetContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
FlavorTagDiscriminants::FTagGhostElectronAssociationAlg::execute
virtual StatusCode execute(const EventContext &) const override
Definition: FTagGhostElectronAssociationAlg.cxx:34
FlavorTagDiscriminants::FTagGhostElectronAssociationAlg::m_JetContainerKey
SG::ReadHandleKey< xAOD::JetContainer > m_JetContainerKey
Definition: FTagGhostElectronAssociationAlg.h:35
ElectronContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
FlavorTagDiscriminants::FTagGhostElectronAssociationAlg::initialize
virtual StatusCode initialize() override
Definition: FTagGhostElectronAssociationAlg.cxx:18
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ElectronContainerFwd.h
JetContainer.h
FlavorTagDiscriminants::FTagGhostElectronAssociationAlg::m_ElectronContainerKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_ElectronContainerKey
Definition: FTagGhostElectronAssociationAlg.h:38
FlavorTagDiscriminants::FTagGhostElectronAssociationAlg
an algorithm for adding ghost electrons to jets
Definition: FTagGhostElectronAssociationAlg.h:22
FlavorTagDiscriminants::FTagGhostElectronAssociationAlg::FTagGhostElectronAssociationAlg
FTagGhostElectronAssociationAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: FTagGhostElectronAssociationAlg.cxx:15