5#ifndef TRKVERTEXWEIGHTCALCULATORS_BDTVERTEXWEIGHTCALCULATOR_H
6#define TRKVERTEXWEIGHTCALCULATORS_BDTVERTEXWEIGHTCALCULATOR_H
51 this,
"PointingVertexContainerKey",
"PhotonPointingVertices",
52 "The container with the vertex build with (photon) pointing"};
61 Gaudi::Property<std::string>
m_bdt_file{
this,
"BDTFile",
"",
63 Gaudi::Property<std::string>
m_bdt_name{
this,
"BDTName",
"BDT",
66 std::unique_ptr<MVAUtils::BDT>
m_bdt;
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_photons_py_key
virtual ~BDTVertexWeightCalculator() override
const xAOD::Vertex * getVertex(const xAOD::VertexContainer &vertices) const
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_photons_px_key
SG::ReadHandleKey< xAOD::VertexContainer > m_pointingVertexContainerKey
BDTVertexWeightCalculator(const std::string &name)
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_nphotons_good_key
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
StatusCode initialize_BDT()
std::unique_ptr< MVAUtils::BDT > m_bdt
std::vector< float > get_input_values(const xAOD::Vertex &vertex) const
Gaudi::Property< std::string > m_bdt_file
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_photons_pz_key
virtual double estimateSignalCompatibility(const xAOD::Vertex &vertex) const override
Estimate the compatibility of the vertex with a hard scatter vertex, with respect to pileup vertices.
Gaudi::Property< std::string > m_bdt_name
Simplified Boosted Regression Tree, support TMVA, lgbm, and xgboost.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Vertex_v1 Vertex
Define the latest version of the vertex class.