ATLAS Offline Software
TrigBtagTLATool.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 /*###########################################################
6  ** @class TrigBtagTLATool
7  ** @brief Tool to attach available b-tagging informaton in a previous decision to jets in a given jet container. BTagging is duplicated and given link pointing to matching jet.
8  ** @author Claire Antel
9 ###########################################################*/
10 
11 
12 #ifndef TRIGBTAGTLATOOL
13 #define TRIGBTAGTLATOOL
14 
16 #include "xAODJet/JetContainer.h"
20 #include "xAODBTagging/BTagging.h"
23 
25  public:
26 
27  TrigBtagTLATool(const std::string& type,
28  const std::string& name,
29  const IInterface* parent);
30 
34 
35  //StatusCode record_btag(TrigCompositeUtils::DecisionContainer*, const xAOD::JetContainer*, const EventContext&) const;
36  StatusCode record_btag(const xAOD::TrigCompositeContainer*, const xAOD::JetContainer&, const EventContext&) const; //must pass JetContainer as const reference to preserve pointer addresses.
38  this, "TLAOutputBTaggingCollection", "HLT_BTagging_TLA", "output b-tagging container key"};
39  SG::WriteDecorHandleKey<xAOD::BTaggingContainer> m_bTagJetDecorLinkName {this, "JetBTagLinkName", "", "Element Link from BTagging to Jet container"}; // this property not actually configurable, so don't try
40 
41 };
42 #endif
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
BTagging.h
TrigBtagTLATool::m_bTagJetDecorLinkName
SG::WriteDecorHandleKey< xAOD::BTaggingContainer > m_bTagJetDecorLinkName
Definition: TrigBtagTLATool.h:39
TrigBtagTLATool::m_outputBTagInfoKey
SG::WriteHandleKey< xAOD::BTaggingContainer > m_outputBTagInfoKey
Definition: TrigBtagTLATool.h:37
TrigBtagTLATool
Definition: TrigBtagTLATool.h:24
BTaggingAuxContainer.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
WriteDecorHandle.h
Handle class for adding a decoration to an object.
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
TrigCompositeContainer.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
BTaggingContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
TrigBtagTLATool::finalize
StatusCode finalize()
Definition: TrigBtagTLATool.cxx:41
TrigBtagTLATool::record_btag
StatusCode record_btag(const xAOD::TrigCompositeContainer *, const xAOD::JetContainer &, const EventContext &) const
Definition: TrigBtagTLATool.cxx:45
JetContainer.h
TrigBtagTLATool::initialize
StatusCode initialize()
Definition: TrigBtagTLATool.cxx:33
TrigBtagTLATool::TrigBtagTLATool
TrigBtagTLATool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigBtagTLATool.cxx:23
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigBtagTLATool::~TrigBtagTLATool
~TrigBtagTLATool()
Definition: TrigBtagTLATool.cxx:30
AthAlgTool
Definition: AthAlgTool.h:26