ATLAS Offline Software
Loading...
Searching...
No Matches
TausRUsClusterVars Namespace Reference

TausRUs input variables that no other tau network uses. More...

Functions

bool dEtaRaw (const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool dPhiRaw (const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool etaRaw (const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool phiRaw (const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool log_etRaw (const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool log_eRaw (const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, float &out)

Detailed Description

TausRUs input variables that no other tau network uses.

Where one exists, the variables of TauClusterVars, TauTrackVars and TauScalarVars are used. A log_ prefix is the natural log of the training preprocessing, log(max(x, 1e-8)) with zero kept at zero.

Function Documentation

◆ dEtaRaw()

bool TausRUsClusterVars::dEtaRaw ( const xAOD::TauJet & tau,
const xAOD::CaloVertexedTopoCluster & cluster,
float & out )

Definition at line 49 of file TausRUsDataLoader.cxx.

49 {
50 out = cluster.clust().eta() - tau.eta();
51 return true;
52}
virtual double eta() const
The pseudorapidity ( ) of the particle.
const CaloCluster & clust() const
Return the cluster being proxied,.

◆ dPhiRaw()

bool TausRUsClusterVars::dPhiRaw ( const xAOD::TauJet & tau,
const xAOD::CaloVertexedTopoCluster & cluster,
float & out )

Definition at line 54 of file TausRUsDataLoader.cxx.

54 {
55 out = xAOD::P4Helpers::deltaPhi(cluster.clust().phi(), tau.phi());
56 return true;
57}
virtual double phi() const
The azimuthal angle ( ) of the particle.
double deltaPhi(double phiA, double phiB)
delta Phi in range [-pi,pi[

◆ etaRaw()

bool TausRUsClusterVars::etaRaw ( const xAOD::TauJet & ,
const xAOD::CaloVertexedTopoCluster & cluster,
float & out )

Definition at line 59 of file TausRUsDataLoader.cxx.

59 {
60 out = cluster.clust().eta();
61 return true;
62}

◆ log_eRaw()

bool TausRUsClusterVars::log_eRaw ( const xAOD::TauJet & ,
const xAOD::CaloVertexedTopoCluster & cluster,
float & out )

Definition at line 74 of file TausRUsDataLoader.cxx.

74 {
75 out = logNonzero(cluster.clust().e());
76 return true;
77}
virtual double e() const
The total energy of the particle.

◆ log_etRaw()

bool TausRUsClusterVars::log_etRaw ( const xAOD::TauJet & ,
const xAOD::CaloVertexedTopoCluster & cluster,
float & out )

Definition at line 69 of file TausRUsDataLoader.cxx.

69 {
70 out = logNonzero(cluster.clust().et());
71 return true;
72}

◆ phiRaw()

bool TausRUsClusterVars::phiRaw ( const xAOD::TauJet & ,
const xAOD::CaloVertexedTopoCluster & cluster,
float & out )

Definition at line 64 of file TausRUsDataLoader.cxx.

64 {
65 out = cluster.clust().phi();
66 return true;
67}