5#ifndef TAURECTOOLS_TAUGNNEVALUATOR_H
6#define TAURECTOOLS_TAUGNNEVALUATOR_H
52 Gaudi::Property<std::string>
m_tauContainerName{
this,
"TauContainerName",
"",
"Name of TauJetContainer, must be set when using "};
65 Gaudi::Property<std::string>
m_output_ptau{
this,
"OutputPTau",
"GNTauProbTau"};
66 Gaudi::Property<std::string>
m_output_pjet{
this,
"OutputPJet",
"GNTauProbJet"};
68 "Discriminant used to calculate the output score: 0 -> -log(PJet), 1 -> PTau"};
74 Gaudi::Property<bool>
m_useTRT{
this,
"useTRT",
true};
78 Gaudi::Property<std::string>
m_outnode_tau{
this,
"NodeNameTau",
"GN2TauNoAux_pb"};
79 Gaudi::Property<std::string>
m_outnode_jet{
this,
"NodeNameJet",
"GN2TauNoAux_pu"};
89 std::unique_ptr<TauGNN>
load_network(
const std::string& network_file)
const;
Evaluate cluster kinematics with a different vertex / signal state.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Gaudi::Property< std::string > m_weightfile_inclusive
TauGNNEvaluator(const std::string &name="TauGNNEvaluator")
Gaudi::Property< int > m_max_tracks
const TauGNN * get_gnn_inclusive() const
std::unique_ptr< TauGNN > m_net_1p
Gaudi::Property< std::string > m_input_layer_scalar
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_scoreHandleKey
virtual ~TauGNNEvaluator()
Gaudi::Property< float > m_max_cluster_dr
std::unique_ptr< TauGNN > m_net_3p
Gaudi::Property< unsigned int > m_output_discriminant
Gaudi::Property< float > m_minTauPt
std::unique_ptr< TauGNN > load_network(const std::string &network_file) const
Gaudi::Property< std::string > m_input_layer_clusters
Gaudi::Property< int > m_max_clusters
Gaudi::Property< float > m_min_prong_track_pt
Gaudi::Property< std::string > m_outnode_tau
std::unique_ptr< TauGNN > m_net_0p
Gaudi::Property< std::string > m_tauContainerName
Gaudi::Property< bool > m_doVertexCorrection
Gaudi::Property< bool > m_applyTightTrackSel
const TauGNN * get_gnn_2p() const
Gaudi::Property< std::string > m_output_varname
Gaudi::Property< std::string > m_output_pjet
Gaudi::Property< bool > m_useTRT
const TauGNN * get_gnn_1p() const
std::unique_ptr< TauGNN > m_net_inclusive
std::unique_ptr< TauGNN > m_net_2p
const TauGNN * get_gnn_0p() const
const TauGNN * get_gnn_3p() const
Gaudi::Property< bool > m_doTrackClassification
Gaudi::Property< std::string > m_outnode_jet
Gaudi::Property< std::string > m_output_ptau
Gaudi::Property< std::string > m_weightfile_1p
Gaudi::Property< std::string > m_weightfile_3p
virtual StatusCode execute(xAOD::TauJet &tau) const override
Execute - called for each tau candidate.
Gaudi::Property< bool > m_applyLooseTrackSel
virtual StatusCode initialize() override
Tool initializer.
Gaudi::Property< std::string > m_weightfile_2p
Gaudi::Property< std::string > m_input_layer_tracks
Gaudi::Property< std::string > m_weightfile_0p
Wrapper around SaltModel to compute the output score of a model.
TauJet_v3 TauJet
Definition of the current "tau version".