5#ifndef TAURECTOOLS_TAUGNNEVALUATOR_H
6#define TAURECTOOLS_TAUGNNEVALUATOR_H
48 Gaudi::Property<std::string>
m_tauContainerName{
this,
"TauContainerName",
"",
"Name of TauJetContainer, must be set when using "};
67 Gaudi::Property<std::string>
m_output_ptau{
this,
"OutputPTau",
"GNTauProbTau"};
68 Gaudi::Property<std::string>
m_output_pjet{
this,
"OutputPJet",
"GNTauProbJet"};
70 "Discriminant used to calculate the output score: -1 -> None, 0 -> -log(PJet), 1 -> PTau"};
77 Gaudi::Property<bool>
m_useTRT{
this,
"useTRT",
true};
81 Gaudi::Property<std::string>
m_outnode_tau{
this,
"NodeNameTau",
"GN2TauNoAux_pb"};
82 Gaudi::Property<std::string>
m_outnode_jet{
this,
"NodeNameJet",
"GN2TauNoAux_pu"};
92 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 ReadDecorHandle is made.
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
Gaudi::Property< std::string > m_input_layer_hits
std::unique_ptr< TauGNN > m_net_1p
Gaudi::Property< std::string > m_input_layer_scalar
std::string m_hits_decor_name
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_scoreHandleKey
virtual ~TauGNNEvaluator()
Gaudi::Property< float > m_max_cluster_dr
std::unique_ptr< TauGNN > m_net_3p
Gaudi::Property< float > m_minTauPt
std::unique_ptr< TauGNN > load_network(const std::string &network_file) const
Gaudi::Property< int > m_output_discriminant
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< int > m_max_hits
Gaudi::Property< bool > m_applyTightTrackSel
Gaudi::Property< std::string > m_output_varname
Gaudi::Property< std::string > m_output_pjet
Gaudi::Property< bool > m_useTRT
std::unique_ptr< TauGNN > m_net_inclusive
std::unique_ptr< TauGNN > m_net_2p
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_pJetHandleKey
Gaudi::Property< bool > m_doTrackClassification
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_pTauHandleKey
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
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_hitsHandleKey
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
TauJet_v3 TauJet
Definition of the current "tau version".