CMS 3D CMS Logo

Enumerations | Functions
reco::btau Namespace Reference

Enumerations

enum  TaggingVariableName {
  jetEnergy = 0, jetPt, trackJetPt, jetEta,
  jetAbsEta, jetPhi, jetNTracks, jetNSelectedTracks,
  jetNTracksEtaRel, trackMomentum, trackEta, trackPhi,
  trackCharge, trackPtRel, trackPPar, trackEtaRel,
  trackDeltaR, trackPtRatio, trackPParRatio, trackSip2dVal,
  trackSip2dSig, trackSip3dVal, trackSip3dSig, trackDecayLenVal,
  trackDecayLenSig, trackJetDistVal, trackJetDistSig, trackGhostTrackDistVal,
  trackGhostTrackDistSig, trackGhostTrackWeight, trackSumJetEtRatio, trackSumJetDeltaR,
  vertexCategory, vertexLeptonCategory, jetNSecondaryVertices, jetNSingleTrackVertices,
  vertexMass, vertexNTracks, vertexFitProb, vertexEnergyRatio,
  vertexJetDeltaR, flightDistance1dVal, flightDistance1dSig, flightDistance2dVal,
  flightDistance2dSig, flightDistance3dVal, flightDistance3dSig, trackSip2dValAboveCharm,
  trackSip2dSigAboveCharm, trackSip3dValAboveCharm, trackSip3dSigAboveCharm, leptonQuality,
  leptonQuality2, trackP0Par, trackP0ParRatio, trackChi2,
  trackNTotalHits, trackNPixelHits, chargedHadronEnergyFraction, neutralHadronEnergyFraction,
  photonEnergyFraction, electronEnergyFraction, muonEnergyFraction, chargedHadronMultiplicity,
  neutralHadronMultiplicity, photonMultiplicity, electronMultiplicity, muonMultiplicity,
  hadronMultiplicity, hadronPhotonMultiplicity, totalMultiplicity, massVertexEnergyFraction,
  vertexBoostOverSqrtJetPt, leptonSip2d, leptonSip3d, leptonPtRel,
  leptonP0Par, leptonEtaRel, leptonDeltaR, leptonRatio,
  leptonRatioRel, electronMVA, trackSip3dSig_0, trackSip3dSig_1,
  trackSip3dSig_2, trackSip3dSig_3, tau1_trackSip3dSig_0, tau1_trackSip3dSig_1,
  tau2_trackSip3dSig_0, tau2_trackSip3dSig_1, trackSip2dSigAboveBottom_0, trackSip2dSigAboveBottom_1,
  tau1_trackEtaRel_0, tau1_trackEtaRel_1, tau1_trackEtaRel_2, tau2_trackEtaRel_0,
  tau2_trackEtaRel_1, tau2_trackEtaRel_2, tau1_vertexMass, tau1_vertexEnergyRatio,
  tau1_flightDistance2dSig, tau1_vertexDeltaR, tau2_vertexMass, tau2_vertexEnergyRatio,
  tau2_flightDistance2dSig, tau2_vertexDeltaR, z_ratio, Jet_SoftMu,
  Jet_SoftEl, Jet_JBP, Jet_JP, algoDiscriminator,
  lastTaggingVariable
}
 

Functions

double etaRel (const math::XYZVector &dir, const math::XYZVector &track)
 

Enumeration Type Documentation

Enumerator
jetEnergy 
jetPt 
trackJetPt 
jetEta 
jetAbsEta 
jetPhi 
jetNTracks 
jetNSelectedTracks 
jetNTracksEtaRel 
trackMomentum 
trackEta 
trackPhi 
trackCharge 
trackPtRel 
trackPPar 
trackEtaRel 
trackDeltaR 
trackPtRatio 
trackPParRatio 
trackSip2dVal 
trackSip2dSig 
trackSip3dVal 
trackSip3dSig 
trackDecayLenVal 
trackDecayLenSig 
trackJetDistVal 
trackJetDistSig 
trackGhostTrackDistVal 
trackGhostTrackDistSig 
trackGhostTrackWeight 
trackSumJetEtRatio 
trackSumJetDeltaR 
vertexCategory 
vertexLeptonCategory 
jetNSecondaryVertices 
jetNSingleTrackVertices 
vertexMass 
vertexNTracks 
vertexFitProb 
vertexEnergyRatio 
vertexJetDeltaR 
flightDistance1dVal 
flightDistance1dSig 
flightDistance2dVal 
flightDistance2dSig 
flightDistance3dVal 
flightDistance3dSig 
trackSip2dValAboveCharm 
trackSip2dSigAboveCharm 
trackSip3dValAboveCharm 
trackSip3dSigAboveCharm 
leptonQuality 
leptonQuality2 
trackP0Par 
trackP0ParRatio 
trackChi2 
trackNTotalHits 
trackNPixelHits 
chargedHadronEnergyFraction 
neutralHadronEnergyFraction 
photonEnergyFraction 
electronEnergyFraction 
muonEnergyFraction 
chargedHadronMultiplicity 
neutralHadronMultiplicity 
photonMultiplicity 
electronMultiplicity 
muonMultiplicity 
hadronMultiplicity 
hadronPhotonMultiplicity 
totalMultiplicity 
massVertexEnergyFraction 
vertexBoostOverSqrtJetPt 
leptonSip2d 
leptonSip3d 
leptonPtRel 
leptonP0Par 
leptonEtaRel 
leptonDeltaR 
leptonRatio 
leptonRatioRel 
electronMVA 
trackSip3dSig_0 
trackSip3dSig_1 
trackSip3dSig_2 
trackSip3dSig_3 
tau1_trackSip3dSig_0 
tau1_trackSip3dSig_1 
tau2_trackSip3dSig_0 
tau2_trackSip3dSig_1 
trackSip2dSigAboveBottom_0 
trackSip2dSigAboveBottom_1 
tau1_trackEtaRel_0 
tau1_trackEtaRel_1 
tau1_trackEtaRel_2 
tau2_trackEtaRel_0 
tau2_trackEtaRel_1 
tau2_trackEtaRel_2 
tau1_vertexMass 
tau1_vertexEnergyRatio 
tau1_flightDistance2dSig 
tau1_vertexDeltaR 
tau2_vertexMass 
tau2_vertexEnergyRatio 
tau2_flightDistance2dSig 
tau2_vertexDeltaR 
z_ratio 
Jet_SoftMu 
Jet_SoftEl 
Jet_JBP 
Jet_JP 
algoDiscriminator 
lastTaggingVariable 

Definition at line 33 of file TaggingVariable.h.

33  {
34  jetEnergy = 0, // jet energy
35  jetPt, // jet transverse momentum
36  trackJetPt, // track-based jet transverse momentum
37  jetEta, // jet pseudorapidity
38  jetAbsEta, // jet pseudorapidity
39  jetPhi, // jet polar angle
40  jetNTracks, // tracks associated to jet
41  jetNSelectedTracks, // tracks associated to jet
42  jetNTracksEtaRel, // number of tracks for which etaRel is computed
43 
44  trackMomentum, // track momentum
45  trackEta, // track pseudorapidity
46  trackPhi, // track polar angle
47 
48  trackCharge, // track charge
49 
50  trackPtRel, // track transverse momentum, relative to the jet axis
51  trackPPar, // track parallel momentum, along the jet axis
52  trackEtaRel, // track pseudorapidity, relative to the jet axis
53  trackDeltaR, // track pseudoangular distance from the jet axis
54  trackPtRatio, // track transverse momentum, relative to the jet axis, normalized to its energy
55  trackPParRatio, // track parallel momentum, along the jet axis, normalized to its energy
56 
57  trackSip2dVal, // track 2D signed impact parameter
58  trackSip2dSig, // track 2D signed impact parameter significance
59  trackSip3dVal, // track 3D signed impact parameter
60  trackSip3dSig, // track 3D signed impact parameter significance
61  trackDecayLenVal, // track decay length
62  trackDecayLenSig, // track decay length significance
63  trackJetDistVal, // minimum track approach distance to jet axis
64  trackJetDistSig, // minimum track approach distance to jet axis significance
65  trackGhostTrackDistVal, // minimum approach distance to ghost track
66  trackGhostTrackDistSig, // minimum approach distance to ghost track significance
67  trackGhostTrackWeight, // weight of track participation in ghost track fit
68 
69  trackSumJetEtRatio, // ratio of track sum transverse energy over jet energy
70  trackSumJetDeltaR, // pseudoangular distance between jet axis and track fourvector sum
71 
72  vertexCategory, // category of secondary vertex (Reco, Pseudo, No)
73  vertexLeptonCategory, // category of secondary vertex & soft lepton (RecoNo, PseudoNo, NoNo, RecoMu, PseudoMu, NoMu, RecoEl, PseudoEl, NoEl)
74 
75  jetNSecondaryVertices, // number of reconstructed possible secondary vertices in jet
76  jetNSingleTrackVertices, // number of single-track ghost-track vertices
77 
78  vertexMass, // mass of track sum at secondary vertex
79  vertexNTracks, // number of tracks at secondary vertex
80  vertexFitProb, // vertex fit probability
81 
82  vertexEnergyRatio, // ratio of energy at secondary vertex over total energy
83  vertexJetDeltaR, // pseudoangular distance between jet axis and secondary vertex direction
84 
85  flightDistance1dVal, // Longitudinal distance along the z-axis between primary and secondary vertex
86  flightDistance1dSig, // Longitudinal distance significance along the z-axis between primary and secondary vertex
87  flightDistance2dVal, // transverse distance between primary and secondary vertex
88  flightDistance2dSig, // transverse distance significance between primary and secondary vertex
89  flightDistance3dVal, // distance between primary and secondary vertex
90  flightDistance3dSig, // distance significance between primary and secondary vertex
91 
92  trackSip2dValAboveCharm, // track 2D signed impact parameter of first track lifting mass above charm
93  trackSip2dSigAboveCharm, // track 2D signed impact parameter significance of first track lifting mass above charm
94  trackSip3dValAboveCharm, // track 3D signed impact parameter of first track lifting mass above charm
95  trackSip3dSigAboveCharm, // track 3D signed impact parameter significance of first track lifting mass above charm
96 
97  leptonQuality, // lepton identification quality
98  leptonQuality2, // lepton identification quality 2
99 
100  trackP0Par, // track momentum along the jet axis, in the jet rest frame
101  trackP0ParRatio, // track momentum along the jet axis, in the jet rest frame, normalized to its energy"
102  trackChi2, // track fit chi2
103  trackNTotalHits, // number of valid total hits
104  trackNPixelHits, // number of valid pixel hits
105 
106  chargedHadronEnergyFraction, // fraction of the jet energy coming from charged hadrons
107  neutralHadronEnergyFraction, // fraction of the jet energy coming from neutral hadrons
108  photonEnergyFraction, // fraction of the jet energy coming from photons
109  electronEnergyFraction, // fraction of the jet energy coming from electrons
110  muonEnergyFraction, // fraction of the jet energy coming from muons
111  chargedHadronMultiplicity, // number of charged hadrons in the jet
112  neutralHadronMultiplicity, // number of neutral hadrons in the jet
113  photonMultiplicity, // number of photons in the jet
114  electronMultiplicity, // number of electrons in the jet
115  muonMultiplicity, // number of muons in the jet
116  hadronMultiplicity, // sum of number of charged and neutral hadrons in the jet
117  hadronPhotonMultiplicity, // sum of number of charged and neutral hadrons and photons in the jet
118  totalMultiplicity, // sum of number of charged and neutral hadrons, photons, electrons and muons in the jet
119 
120  massVertexEnergyFraction, // vertexmass times fraction of the vertex energy w.r.t. the jet energy
121  vertexBoostOverSqrtJetPt, // variable related to the boost of the vertex system in flight direction
122 
123  leptonSip2d, // 2D signed impact parameter of the soft lepton
124  leptonSip3d, // 3D signed impact parameter of the soft lepton
125  leptonPtRel, // transverse momentum of the soft lepton wrt. the jet axis
126  leptonP0Par, // momentum of the soft lepton along the jet direction, in the jet rest frame
127  leptonEtaRel, // pseudo)rapidity of the soft lepton along jet axis
128  leptonDeltaR, // pseudo)angular distance of the soft lepton to jet axis
129  leptonRatio, // momentum of the soft lepton over jet energy
130  leptonRatioRel, // momentum of the soft lepton parallel to jet axis over jet energy
131  electronMVA, // mva output from electron ID
132 
133  // ### specific to boosted double-b tagger (see BTV-15-002 PAS for more details) ###
134  trackSip3dSig_0, // 1st largest track 3D signed impact parameter significance
135  trackSip3dSig_1, // 2nd largest track 3D signed impact parameter significance
136  trackSip3dSig_2, // 3rd largest track 3D signed impact parameter significance
137  trackSip3dSig_3, // 4th largest track 3D signed impact parameter significance
138  tau1_trackSip3dSig_0, // 1st largest track 3D signed impact parameter significance associated to the 1st N-subjettiness axis
139  tau1_trackSip3dSig_1, // 2nd largest track 3D signed impact parameter significance associated to the 1st N-subjettiness axis
140  tau2_trackSip3dSig_0, // 1st largest track 3D signed impact parameter significance associated to the 2nd N-subjettiness axis
141  tau2_trackSip3dSig_1, // 2nd largest track 3D signed impact parameter significance associated to the 2nd N-subjettiness axis
142  trackSip2dSigAboveBottom_0, // track 2D signed impact parameter significance of 1st track lifting mass above bottom
143  trackSip2dSigAboveBottom_1, // track 2D signed impact parameter significance of 2nd track lifting mass above bottom
144  tau1_trackEtaRel_0, // 1st smallest track pseudorapidity, relative to the jet axis, associated to the 1st N-subjettiness axis
145  tau1_trackEtaRel_1, // 2nd smallest track pseudorapidity, relative to the jet axis, associated to the 1st N-subjettiness axis
146  tau1_trackEtaRel_2, // 3rd smallest track pseudorapidity, relative to the jet axis, associated to the 1st N-subjettiness axis
147  tau2_trackEtaRel_0, // 1st smallest track pseudorapidity, relative to the jet axis, associated to the 2nd N-subjettiness axis
148  tau2_trackEtaRel_1, // 2nd smallest track pseudorapidity, relative to the jet axis, associated to the 2nd N-subjettiness axis
149  tau2_trackEtaRel_2, // 3rd smallest track pseudorapidity, relative to the jet axis, associated to the 2nd N-subjettiness axis
150  tau1_vertexMass, // mass of track sum at secondary vertex associated to the 1st N-subjettiness axis
151  tau1_vertexEnergyRatio, // ratio of energy at secondary vertex over total energy associated to the 1st N-subjettiness axis
152  tau1_flightDistance2dSig, // transverse distance significance between primary and secondary vertex associated to the 1st N-subjettiness axis
153  tau1_vertexDeltaR, // pseudoangular distance between the 1st N-subjettiness axis and secondary vertex direction
154  tau2_vertexMass, // mass of track sum at secondary vertex associated to the 2nd N-subjettiness axis
155  tau2_vertexEnergyRatio, // ratio of energy at secondary vertex over total energy associated to the 2nd N-subjettiness axis
156  tau2_flightDistance2dSig, // transverse distance significance between primary and secondary vertex associated to the 2nd N-subjettiness axis
157  tau2_vertexDeltaR, // pseudoangular distance between the 2nd N-subjettiness axis and secondary vertex direction
158  z_ratio, // z ratio
159 
160  Jet_SoftMu, // discriminator output of SoftMuon Tagger, used as input to (Deep)CMVA
161  Jet_SoftEl, // discriminator output of SoftElectron Tagger, used as input to (Deep)CMVA
162  Jet_JBP, // discriminator output of JPB Tagger, used as input to (Deep)CMVA
163  Jet_JP, // discriminator output of JP Tagger, used as input to (Deep)CMVA
164  // #################################################################################
165 
166  algoDiscriminator, // discriminator output of an algorithm
167 
169  };

Function Documentation

double reco::btau::etaRel ( const math::XYZVector dir,
const math::XYZVector track 
)
inline

Definition at line 23 of file TaggingVariable.h.

References cmsBatch::log, reco::ParticleMasses::piPlus, and mathSSE::sqrt().

Referenced by BoostedDoubleSVProducer::etaRelToTauAxis(), CombinedSVComputer::fillCommonVariables(), GhostTrackComputer::operator()(), CombinedSVComputer::operator()(), and reco::IPTagInfo< Container, Base >::taggingVariables().

24  {
25  double momPar = dir.Dot(track);
26  double energy = std::sqrt(track.Mag2() +
27  ROOT::Math::Square(reco::ParticleMasses::piPlus));
28 
29  return 0.5 * std::log((energy + momPar) / (energy - momPar));
30  }
const double piPlus
Definition: ParticleMasses.h:9
T sqrt(T t)
Definition: SSEVec.h:18
dbl *** dir
Definition: mlp_gen.cc:35