28 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
31 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
34 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
37 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
40 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
43 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
46 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
49 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
52 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
55 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
58 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
62 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
65 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
68 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
71 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
74 const xAOD::TauJet &tau,
const xAOD::CaloVertexedTopoCluster &cluster,
float &out);
84 const std::string&
getName()
const override;
87 const std::set<std::string>&
getUsedRemap()
const override;
97 inline static const std::unordered_map<std::string, FeatureFuncAsReference_t>
m_func_map = {
Evaluate cluster kinematics with a different vertex / signal state.
std::function< float(const xAOD::CaloVertexedTopoCluster &, const xAOD::TauJet &)> FeatureFunc_t
ConstituentLoaderTauCluster(const ConstituentsInputConfig &cfg, double max_cluster_dr, bool doVertexCorrection)
static const std::unordered_map< std::string, FeatureFuncAsReference_t > m_func_map
const FTagDataDependencyNames & getDependencies() const override
Inputs getFeatures(const xAOD::TauJet *tau, const std::vector< xAOD::CaloVertexedTopoCluster > &tau_clusters) const
const std::string & getName() const override
std::tuple< Inputs, std::vector< const xAOD::IParticle * > > getData(const xAOD::IParticle &p) const override
const std::set< std::string > & getUsedRemap() const override
bool m_doVertexCorrection
FeatureFunc_t getFeatureExtractor(const std::string &var_name) const
std::vector< xAOD::CaloVertexedTopoCluster > getTauClusters(const xAOD::TauJet *tau) const
std::function< bool(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &, float &)> FeatureFuncAsReference_t
const ConstituentsType & getType() const override
std::vector< FeatureFunc_t > m_feature_extractors
IConstituentsLoader(const ConstituentsInputConfig &cfg)
Evaluate cluster kinematics with a different vertex / signal state.
Class providing the definition of the 4-vector interface.
This file contains "getter" functions used for accessing tagger inputs from the EDM.
std::pair< std::vector< float >, std::vector< int64_t > > Inputs
bool et_log(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool FIRST_ENG_DENS(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool et(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool SECOND_LAMBDAOverClustersMeanSecondLambda(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool CENTER_MAG(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool CENTER_LAMBDA(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool dPhi(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool EM_PROBABILITY(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool CENTER_LAMBDAOverClustersMeanCenterLambda(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool FirstEngDensOverClustersMeanFirstEngDens(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool SECOND_R(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool SECOND_LAMBDA(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool dEta(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool pt_tau_log(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &, float &out)
bool e(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool pt_jetseed_log(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &, float &out)
TauJet_v3 TauJet
Definition of the current "tau version".