![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef JETVERTEXNNTAGGER_H
7 #define JETVERTEXNNTAGGER_H
37 #include "lwtnn/generic/FastGraph.hh"
68 float evaluateJvt(
float rpt,
float jvfcorr,
size_t ptbin,
size_t etabin)
const;
72 std::unique_ptr<lwt::generic::FastGraph<double> >
m_lwnn {
nullptr};
77 Gaudi::Property<std::string>
m_jetContainerName{
this,
"JetContainer",
"",
"SG key for the input jet container"};
78 Gaudi::Property<bool>
m_suppressInputDeps{
this,
"SuppressInputDependence",
false,
"Will JVFCorr and SumPtTrk be created in the same algorithm that uses this tool?"};
79 Gaudi::Property<bool>
m_suppressOutputDeps{
this,
"SuppressOutputDependence",
false,
"Ignore creating the output decoration dependency for data flow; for analysis"};
82 Gaudi::Property<std::string>
m_NNConfigDir{
this,
"NNConfigDir",
"JetPileupTag/NNJvt/2022-03-22",
"PathResolver-accessible directory holding config files"};
83 Gaudi::Property<std::string>
m_NNParamFileName{
this,
"NNParamFile",
"NNJVT.Network.graph.Offline.Nonprompt_All_MaxWeight.json",
"Name of json file containing network parameters"};
84 Gaudi::Property<std::string>
m_NNCutFileName{
this,
"NNCutFile",
"NNJVT.Cuts.FixedEffPt.Offline.Nonprompt_All_MaxW.json",
"Name of json file containing network parameters"};
86 Gaudi::Property<float>
m_maxpt_for_cut{
this,
"MaxPtForCut", 60*
GeV,
"Jet pt above which no cut is applied"};
Gaudi::Property< float > m_maxpt_for_cut
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
float evaluateJvt(float rpt, float jvfcorr, size_t ptbin, size_t etabin) const
SG::WriteDecorHandleKey< xAOD::JetContainer > m_jvtKey
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Interface for adding a decoration to a jet container.
JetVertexNNTagger(const std::string &name)
Constructor with a tool name.
const xAOD::Vertex * findHSVertex(const xAOD::VertexContainer &vertices) const
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< bool > m_suppressOutputDeps
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer_key
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::WriteDecorHandleKey< xAOD::JetContainer > m_rptKey
~JetVertexNNTagger()
Destructor.
Gaudi::Property< std::string > m_jetContainerName
Gaudi::Property< std::string > m_NNConfigDir
Gaudi::Property< bool > m_suppressInputDeps
Class describing a Vertex.
SG::ReadDecorHandleKey< xAOD::JetContainer > m_jvfCorrKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_passJvtKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_sumPtTrkKey
Gaudi::Property< std::string > m_NNCutFileName
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
virtual StatusCode decorate(const xAOD::JetContainer &jetCont) const override
Decorate a jet collection without otherwise modifying it.
std::unique_ptr< lwt::generic::FastGraph< double > > m_lwnn
Internal members for interpreting jet inputs and NN configuration.
Gaudi::Property< std::string > m_NNParamFileName