ATLAS Offline Software
BTagLightSecVertexing.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 BTAGGING_BTAGLIGHTSECVERTEXING_H
6 #define BTAGGING_BTAGLIGHTSECVERTEXING_H
7 
9 #include "GaudiKernel/ToolHandle.h"
11 
12 #include <string>
13 
14 #include "xAODJet/Jet.h"
15 #include "xAODJet/JetContainer.h"
17 #include "xAODBTagging/BTagging.h"
22 
25 
26 namespace Trk{
27 
28  class VxSecVKalVertexInfo;
29  class VxJetFitterVertexInfo;
30 
31 }
32 
33 
35 namespace Analysis
36 {
38  {
39  public:
41  BTagLightSecVertexing(const std::string&,const std::string&,const IInterface*);
42  virtual ~BTagLightSecVertexing() = default;
43 
44  virtual StatusCode initialize() override;
45  virtual StatusCode BTagSecVertexing_exec(const xAOD::JetContainer * jetContainer, xAOD::BTaggingContainer * btaggingContainer) const override;
46 
47  private:
48 
51 
52  ToolHandle<IJetFitterVariablesFactory> m_JFvarFactory;
53 
54  std::vector<std::string> m_secVertexFinderTrackNameList;
55  std::vector<std::string> m_secVertexFinderBaseNameList;
56 
57  SG::ReadHandleKey<xAOD::VertexContainer> m_VertexCollectionName {this, "vxPrimaryCollectionName", "", "Input primary vertex container"};
58  SG::ReadDecorHandleKey<xAOD::JetContainer> m_jetSVLinkName{ this, "JetSecVtxLinkName", "", "Element Link vector form jet to SV container"};
59  SG::ReadDecorHandleKey<xAOD::JetContainer> m_jetSVFlipLinkName{ this, "JetSecVtxFlipLinkName", "", "Element Link vector form jet to SVFlip container"};
60  SG::ReadDecorHandleKey<xAOD::JetContainer> m_jetJFVtxLinkName{ this, "JetJFVtxLinkName", "", "Element Link vector form jet to JF vertex"};
61  SG::ReadDecorHandleKey<xAOD::JetContainer> m_jetJFFlipVtxLinkName{ this, "JetJFFlipVtxLinkName", "", "Element Link vector form jet to JF vertexFlip"};
62  SG::ReadHandleKeyArray<Trk::VxSecVertexInfoContainer> m_VxSecVertexInfoNames {this, "BTagVxSecVertexInfoNames", {""}, "Input VxSecVertexInfo containers"};
63 
64  }; // End class
65 
66 } // End namespace
67 
68 #endif // BTAGLIGHTSECVERTEXING_H
ReadHandleKeyArray.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
Analysis::BTagLightSecVertexing::~BTagLightSecVertexing
virtual ~BTagLightSecVertexing()=default
Jet.h
Analysis::BTagLightSecVertexing::m_VxSecVertexInfoNames
SG::ReadHandleKeyArray< Trk::VxSecVertexInfoContainer > m_VxSecVertexInfoNames
Definition: BTagLightSecVertexing.h:62
BTagging.h
Analysis::BTagLightSecVertexing
Definition: BTagLightSecVertexing.h:38
Analysis::BTagLightSecVertexing::initialize
virtual StatusCode initialize() override
Definition: BTagLightSecVertexing.cxx:44
Analysis::BTagLightSecVertexing::m_secVertexFinderBaseNameList
std::vector< std::string > m_secVertexFinderBaseNameList
Definition: BTagLightSecVertexing.h:55
IJetFitterVariablesFactory.h
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
Analysis::BTagLightSecVertexing::m_secVertexFinderTrackNameList
std::vector< std::string > m_secVertexFinderTrackNameList
Definition: BTagLightSecVertexing.h:54
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
Analysis::BTagLightSecVertexing::m_JFvarFactory
ToolHandle< IJetFitterVariablesFactory > m_JFvarFactory
Definition: BTagLightSecVertexing.h:52
Analysis::BTagLightSecVertexing::BTagSecVertexing_exec
virtual StatusCode BTagSecVertexing_exec(const xAOD::JetContainer *jetContainer, xAOD::BTaggingContainer *btaggingContainer) const override
Definition: BTagLightSecVertexing.cxx:307
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
VxSecVertexInfo.h
xAOD::BTagging_v1
Definition: BTagging_v1.h:39
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
Analysis::BTagLightSecVertexing::BTagLightSecVertexing
BTagLightSecVertexing(const std::string &, const std::string &, const IInterface *)
Constructors and destructors.
Definition: BTagLightSecVertexing.cxx:32
Trk::VxJetFitterVertexInfo
Definition: VxJetFitterVertexInfo.h:58
Analysis::BTagLightSecVertexing::m_jetJFVtxLinkName
SG::ReadDecorHandleKey< xAOD::JetContainer > m_jetJFVtxLinkName
Definition: BTagLightSecVertexing.h:60
JetAnalysisAlgorithmsTest_EMTopo_eljob.jetContainer
string jetContainer
Definition: JetAnalysisAlgorithmsTest_EMTopo_eljob.py:36
Analysis::BTagLightSecVertexing::m_jetSVLinkName
SG::ReadDecorHandleKey< xAOD::JetContainer > m_jetSVLinkName
Definition: BTagLightSecVertexing.h:58
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Analysis::BTagLightSecVertexing::fillJFVariables
StatusCode fillJFVariables(const xAOD::Jet &, xAOD::BTagging *, const Trk::VxJetFitterVertexInfo *, const xAOD::TrackParticleContainer *, const std::string &) const
Definition: BTagLightSecVertexing.cxx:174
BTaggingContainer.h
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::BTagLightSecVertexing::fillVkalVariables
StatusCode fillVkalVariables(const xAOD::Jet &, xAOD::BTagging *, const Trk::VxSecVKalVertexInfo *, const xAOD::TrackParticleContainer *, const std::string &) const
Definition: BTagLightSecVertexing.cxx:78
Analysis::BTagLightSecVertexing::m_VertexCollectionName
SG::ReadHandleKey< xAOD::VertexContainer > m_VertexCollectionName
Definition: BTagLightSecVertexing.h:57
Analysis::IBTagLightSecVertexing
Definition: IBTagLightSecVertexing.h:18
Trk::VxSecVKalVertexInfo
Definition: VxSecVKalVertexInfo.h:70
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
VertexContainer.h
IBTagLightSecVertexing.h
JetContainer.h
Analysis::BTagLightSecVertexing::m_jetJFFlipVtxLinkName
SG::ReadDecorHandleKey< xAOD::JetContainer > m_jetJFFlipVtxLinkName
Definition: BTagLightSecVertexing.h:61
AthAlgTool
Definition: AthAlgTool.h:26
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
Analysis::BTagLightSecVertexing::m_jetSVFlipLinkName
SG::ReadDecorHandleKey< xAOD::JetContainer > m_jetSVFlipLinkName
Definition: BTagLightSecVertexing.h:59
TrackParticleContainer.h