|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
72 #endif // TRKVERTEXWEIGHTCALCULATORS_BDTVERTEXWEIGHTCALCULATOR_H
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_photons_px_key
BDTVertexWeightCalculator(const std::string &name)
Property holding a SG store/key/clid from which a ReadHandle is made.
A tool to select the primary vertex associated to the hard-scatter using a BDT.
Gaudi::Property< std::string > m_bdt_file
StatusCode initialize_BDT()
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_nphotons_good_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.
std::vector< float > get_input_values(const xAOD::Vertex &vertex) const
virtual ~BDTVertexWeightCalculator() override
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_photons_pz_key
Class describing a Vertex.
const xAOD::Vertex * getVertex(const xAOD::VertexContainer &vertices) const
Gaudi::Property< std::string > m_bdt_name
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
std::unique_ptr< MVAUtils::BDT > m_bdt
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_photons_py_key
SG::ReadHandleKey< xAOD::VertexContainer > m_pointingVertexContainerKey