ATLAS Offline Software
BTaggingBuilderAlg.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 BTAGGING_BUILDER_ALG_H
6 #define BTAGGING_BUILDER_ALG_H
7 
9 
11 #include "xAODJet/JetContainer.h"
15 
16 namespace FlavorTagDiscriminants {
18  {
19  public:
20  BTaggingBuilderAlg(const std::string& name, ISvcLocator* svcloc);
21  virtual StatusCode initialize() override;
22  virtual StatusCode execute(const EventContext& cxt) const override;
23  virtual StatusCode finalize() override;
24  private:
25 
26  // Typedef things here in case I ever want to make this more generic.
29 
31  this, "jetName", "", "name of the jets to b-tag"};
33  this, "btaggingName", "", "Name for the b-tagging container"};
35  this, "jetLinkName", "", "Destination container name + '.jetLink'"};
36  };
37 }
38 
39 #endif
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
FlavorTagDiscriminants::BTaggingBuilderAlg::m_jetKey
SG::ReadHandleKey< JC > m_jetKey
Definition: BTaggingBuilderAlg.h:30
FlavorTagDiscriminants::BTaggingBuilderAlg::finalize
virtual StatusCode finalize() override
Definition: BTaggingBuilderAlg.cxx:58
FlavorTagDiscriminants::BTaggingBuilderAlg::m_btaggingKey
SG::WriteHandleKey< BC > m_btaggingKey
Definition: BTaggingBuilderAlg.h:32
FlavorTagDiscriminants
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition: AssociationEnums.h:11
FlavorTagDiscriminants::BTaggingBuilderAlg::initialize
virtual StatusCode initialize() override
Definition: BTaggingBuilderAlg.cxx:18
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
FlavorTagDiscriminants::BTaggingBuilderAlg
Definition: BTaggingBuilderAlg.h:18
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
FlavorTagDiscriminants::BTaggingBuilderAlg::execute
virtual StatusCode execute(const EventContext &cxt) const override
Definition: BTaggingBuilderAlg.cxx:27
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FlavorTagDiscriminants::BTaggingBuilderAlg::m_jetLinkKey
SG::WriteDecorHandleKey< BC > m_jetLinkKey
Definition: BTaggingBuilderAlg.h:34
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
BTaggingContainer.h
FlavorTagDiscriminants::BTaggingBuilderAlg::BTaggingBuilderAlg
BTaggingBuilderAlg(const std::string &name, ISvcLocator *svcloc)
Definition: BTaggingBuilderAlg.cxx:11
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