CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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, 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 
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  flightDistance2dVal, // transverse distance between primary and secondary vertex
86  flightDistance2dSig, // transverse distance significance between primary and secondary vertex
87  flightDistance3dVal, // distance between primary and secondary vertex
88  flightDistance3dSig, // distance significance between primary and secondary vertex
89 
90  trackSip2dValAboveCharm, // track 2D signed impact parameter of first track lifting mass above charm
91  trackSip2dSigAboveCharm, // track 2D signed impact parameter significance of first track lifting mass above charm
92  trackSip3dValAboveCharm, // track 3D signed impact parameter of first track lifting mass above charm
93  trackSip3dSigAboveCharm, // track 3D signed impact parameter significance of first track lifting mass above charm
94 
95  leptonQuality, // lepton identification quality
96  leptonQuality2, // lepton identification quality 2
97 
98  trackP0Par, // track momentum along the jet axis, in the jet rest frame
99  trackP0ParRatio, // track momentum along the jet axis, in the jet rest frame, normalized to its energy"
100  trackChi2, // track fit chi2
101  trackNTotalHits, // number of valid total hits
102  trackNPixelHits, // number of valid pixel hits
103 
104  chargedHadronEnergyFraction, // fraction of the jet energy coming from charged hadrons
105  neutralHadronEnergyFraction, // fraction of the jet energy coming from neutral hadrons
106  photonEnergyFraction, // fraction of the jet energy coming from photons
107  electronEnergyFraction, // fraction of the jet energy coming from electrons
108  muonEnergyFraction, // fraction of the jet energy coming from muons
109  chargedHadronMultiplicity, // number of charged hadrons in the jet
110  neutralHadronMultiplicity, // number of neutral hadrons in the jet
111  photonMultiplicity, // number of photons in the jet
112  electronMultiplicity, // number of electrons in the jet
113  muonMultiplicity, // number of muons in the jet
114  hadronMultiplicity, // sum of number of charged and neutral hadrons in the jet
115  hadronPhotonMultiplicity, // sum of number of charged and neutral hadrons and photons in the jet
116  totalMultiplicity, // sum of number of charged and neutral hadrons, photons, electrons and muons in the jet
117 
118  massVertexEnergyFraction, // vertexmass times fraction of the vertex energy w.r.t. the jet energy
119  vertexBoostOverSqrtJetPt, // variable related to the boost of the vertex system in flight direction
120 
121  leptonSip2d, // 2D signed impact parameter of the soft lepton
122  leptonSip3d, // 3D signed impact parameter of the soft lepton
123  leptonPtRel, // transverse momentum of the soft lepton wrt. the jet axis
124  leptonP0Par, // momentum of the soft lepton along the jet direction, in the jet rest frame
125  leptonEtaRel, // pseudo)rapidity of the soft lepton along jet axis
126  leptonDeltaR, // pseudo)angular distance of the soft lepton to jet axis
127  leptonRatio, // momentum of the soft lepton over jet energy
128  leptonRatioRel, // momentum of the soft lepton parallel to jet axis over jet energy
129  electronMVA, // mva output from electron ID
130 
131  // ### specific to boosted double-b tagger (see BTV-15-002 PAS for more details) ###
132  trackSip3dSig_0, // 1st largest track 3D signed impact parameter significance
133  trackSip3dSig_1, // 2nd largest track 3D signed impact parameter significance
134  trackSip3dSig_2, // 3rd largest track 3D signed impact parameter significance
135  trackSip3dSig_3, // 4th largest track 3D signed impact parameter significance
136  tau1_trackSip3dSig_0, // 1st largest track 3D signed impact parameter significance associated to the 1st N-subjettiness axis
137  tau1_trackSip3dSig_1, // 2nd largest track 3D signed impact parameter significance associated to the 1st N-subjettiness axis
138  tau2_trackSip3dSig_0, // 1st largest track 3D signed impact parameter significance associated to the 2nd N-subjettiness axis
139  tau2_trackSip3dSig_1, // 2nd largest track 3D signed impact parameter significance associated to the 2nd N-subjettiness axis
140  trackSip2dSigAboveBottom_0, // track 2D signed impact parameter significance of 1st track lifting mass above bottom
141  trackSip2dSigAboveBottom_1, // track 2D signed impact parameter significance of 2nd track lifting mass above bottom
142  tau1_trackEtaRel_0, // 1st smallest track pseudorapidity, relative to the jet axis, associated to the 1st N-subjettiness axis
143  tau1_trackEtaRel_1, // 2nd smallest track pseudorapidity, relative to the jet axis, associated to the 1st N-subjettiness axis
144  tau1_trackEtaRel_2, // 3rd smallest track pseudorapidity, relative to the jet axis, associated to the 1st N-subjettiness axis
145  tau2_trackEtaRel_0, // 1st smallest track pseudorapidity, relative to the jet axis, associated to the 2nd N-subjettiness axis
146  tau2_trackEtaRel_1, // 2nd smallest track pseudorapidity, relative to the jet axis, associated to the 2nd N-subjettiness axis
147  tau2_trackEtaRel_2, // 3rd smallest track pseudorapidity, relative to the jet axis, associated to the 2nd N-subjettiness axis
148  tau1_vertexMass, // mass of track sum at secondary vertex associated to the 1st N-subjettiness axis
149  tau1_vertexEnergyRatio, // ratio of energy at secondary vertex over total energy associated to the 1st N-subjettiness axis
150  tau1_flightDistance2dSig, // transverse distance significance between primary and secondary vertex associated to the 1st N-subjettiness axis
151  tau1_vertexDeltaR, // pseudoangular distance between the 1st N-subjettiness axis and secondary vertex direction
152  tau2_vertexMass, // mass of track sum at secondary vertex associated to the 2nd N-subjettiness axis
153  tau2_vertexEnergyRatio, // ratio of energy at secondary vertex over total energy associated to the 2nd N-subjettiness axis
154  tau2_flightDistance2dSig, // transverse distance significance between primary and secondary vertex associated to the 2nd N-subjettiness axis
155  tau2_vertexDeltaR, // pseudoangular distance between the 2nd N-subjettiness axis and secondary vertex direction
156  z_ratio, // z ratio
157 
158  Jet_SoftMu, // discriminator output of SoftMuon Tagger, used as input to (Deep)CMVA
159  Jet_SoftEl, // discriminator output of SoftElectron Tagger, used as input to (Deep)CMVA
160  Jet_JBP, // discriminator output of JPB Tagger, used as input to (Deep)CMVA
161  Jet_JP, // discriminator output of JP Tagger, used as input to (Deep)CMVA
162  // #################################################################################
163 
164  algoDiscriminator, // discriminator output of an algorithm
165 
167  };

Function Documentation

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

Definition at line 23 of file TaggingVariable.h.

References relval_parameters_module::energy, dqm-mbProfile::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