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,
  jetPhi, jetNTracks, 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,
  algoDiscriminator, lastTaggingVariable
}
 

Functions

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

Enumeration Type Documentation

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

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