ATLAS Offline Software
BTagTrackLinkCopyAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef BTAG_TRACK_LINK_COPY_ALG_H
6 #define BTAG_TRACK_LINK_COPY_ALG_H
7 
9 
11 #include "xAODJet/JetContainer.h"
14 
15 namespace FlavorTagDiscriminants {
17  {
18  public:
19  BTagTrackLinkCopyAlg(const std::string& name, ISvcLocator* svcloc);
20  virtual StatusCode initialize() override;
21  virtual StatusCode execute(const EventContext& cxt) const override;
22  virtual StatusCode finalize() override;
23  private:
24 
25  // Typedef things here in case I ever want to make this more generic.
28 
30  this, "jetTracks", "", "Links to be copied"};
32  this, "btagTracks", "", "Destination for track links"};
34  this, "jetLinkName", "", "Destination container name + '.jetLink'"};
35  };
36 }
37 
38 #endif
FlavorTagDiscriminants::BTagTrackLinkCopyAlg
Definition: BTagTrackLinkCopyAlg.h:17
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
FlavorTagDiscriminants::BTagTrackLinkCopyAlg::BTagTrackLinkCopyAlg
BTagTrackLinkCopyAlg(const std::string &name, ISvcLocator *svcloc)
Definition: BTagTrackLinkCopyAlg.cxx:14
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::BTagTrackLinkCopyAlg::finalize
virtual StatusCode finalize() override
Definition: BTagTrackLinkCopyAlg.cxx:88
FlavorTagDiscriminants::BTagTrackLinkCopyAlg::initialize
virtual StatusCode initialize() override
Definition: BTagTrackLinkCopyAlg.cxx:21
FlavorTagDiscriminants::BTagTrackLinkCopyAlg::execute
virtual StatusCode execute(const EventContext &cxt) const override
Definition: BTagTrackLinkCopyAlg.cxx:38
FlavorTagDiscriminants::BTagTrackLinkCopyAlg::m_jetTracks
SG::ReadDecorHandleKey< JC > m_jetTracks
Definition: BTagTrackLinkCopyAlg.h:29
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
xAOD::BTaggingContainer
BTaggingContainer_v1 BTaggingContainer
Definition of the current "BTagging container version".
Definition: BTaggingContainer.h:17
FlavorTagDiscriminants::BTagTrackLinkCopyAlg::m_btagTracks
SG::WriteDecorHandleKey< BC > m_btagTracks
Definition: BTagTrackLinkCopyAlg.h:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
AthReentrantAlgorithm.h
BTaggingContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
JetContainer.h
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition: JetContainer.h:17
FlavorTagDiscriminants::BTagTrackLinkCopyAlg::m_jetLinks
SG::ReadDecorHandleKey< BC > m_jetLinks
Definition: BTagTrackLinkCopyAlg.h:33
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85