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, 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,
  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 
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 
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  trackPtRel, // track transverse momentum, relative to the jet axis
46  trackPPar, // track parallel momentum, along the jet axis
47  trackEtaRel, // track pseudorapidity, relative to the jet axis
48  trackDeltaR, // track pseudoangular distance from the jet axis
49  trackPtRatio, // track transverse momentum, relative to the jet axis, normalized to its energy
50  trackPParRatio, // track parallel momentum, along the jet axis, normalized to its energy
51 
52  trackSip2dVal, // track 2D signed impact parameter
53  trackSip2dSig, // track 2D signed impact parameter significance
54  trackSip3dVal, // track 3D signed impact parameter
55  trackSip3dSig, // track 3D signed impact parameter significance
56  trackDecayLenVal, // track decay length
57  trackDecayLenSig, // track decay length significance
58  trackJetDistVal, // minimum track approach distance to jet axis
59  trackJetDistSig, // minimum track approach distance to jet axis significance
60  trackGhostTrackDistVal, // minimum approach distance to ghost track
61  trackGhostTrackDistSig, // minimum approach distance to ghost track significance
62  trackGhostTrackWeight, // weight of track participation in ghost track fit
63 
64  trackSumJetEtRatio, // ratio of track sum transverse energy over jet energy
65  trackSumJetDeltaR, // pseudoangular distance between jet axis and track fourvector sum
66 
67  vertexCategory, // category of secondary vertex (Reco, Pseudo, No)
68  vertexLeptonCategory, // category of secondary vertex & soft lepton (RecoNo, PseudoNo, NoNo, RecoMu, PseudoMu, NoMu, RecoEl, PseudoEl, NoEl)
69 
70  jetNSecondaryVertices, // number of reconstructed possible secondary vertices in jet
71  jetNSingleTrackVertices, // number of single-track ghost-track vertices
72 
73  vertexMass, // mass of track sum at secondary vertex
74  vertexNTracks, // number of tracks at secondary vertex
75  vertexFitProb, // vertex fit probability
76 
77  vertexEnergyRatio, // ratio of energy at secondary vertex over total energy
78  vertexJetDeltaR, // pseudoangular distance between jet axis and secondary vertex direction
79 
80  flightDistance2dVal, // transverse distance between primary and secondary vertex
81  flightDistance2dSig, // transverse distance significance between primary and secondary vertex
82  flightDistance3dVal, // distance between primary and secondary vertex
83  flightDistance3dSig, // distance significance between primary and secondary vertex
84 
85  trackSip2dValAboveCharm, // track 2D signed impact parameter of first track lifting mass above charm
86  trackSip2dSigAboveCharm, // track 2D signed impact parameter significance of first track lifting mass above charm
87  trackSip3dValAboveCharm, // track 3D signed impact parameter of first track lifting mass above charm
88  trackSip3dSigAboveCharm, // track 3D signed impact parameter significance of first track lifting mass above charm
89 
90  leptonQuality, // lepton identification quality
91  leptonQuality2, // lepton identification quality 2
92 
93  trackP0Par, // track momentum along the jet axis, in the jet rest frame
94  trackP0ParRatio, // track momentum along the jet axis, in the jet rest frame, normalized to its energy"
95  trackChi2, // track fit chi2
96  trackNTotalHits, // number of valid total hits
97  trackNPixelHits, // number of valid pixel hits
98 
99  chargedHadronEnergyFraction, // fraction of the jet energy coming from charged hadrons
100  neutralHadronEnergyFraction, // fraction of the jet energy coming from neutral hadrons
101  photonEnergyFraction, // fraction of the jet energy coming from photons
102  electronEnergyFraction, // fraction of the jet energy coming from electrons
103  muonEnergyFraction, // fraction of the jet energy coming from muons
104  chargedHadronMultiplicity, // number of charged hadrons in the jet
105  neutralHadronMultiplicity, // number of neutral hadrons in the jet
106  photonMultiplicity, // number of photons in the jet
107  electronMultiplicity, // number of electrons in the jet
108  muonMultiplicity, // number of muons in the jet
109  hadronMultiplicity, // sum of number of charged and neutral hadrons in the jet
110  hadronPhotonMultiplicity, // sum of number of charged and neutral hadrons and photons in the jet
111  totalMultiplicity, // sum of number of charged and neutral hadrons, photons, electrons and muons in the jet
112 
113  massVertexEnergyFraction, // vertexmass times fraction of the vertex energy w.r.t. the jet energy
114  vertexBoostOverSqrtJetPt, // variable related to the boost of the vertex system in flight direction
115 
116  leptonSip2d, // 2D signed impact parameter of the soft lepton
117  leptonSip3d, // 3D signed impact parameter of the soft lepton
118  leptonPtRel, // transverse momentum of the soft lepton wrt. the jet axis
119  leptonP0Par, // momentum of the soft lepton along the jet direction, in the jet rest frame
120  leptonEtaRel, // pseudo)rapidity of the soft lepton along jet axis
121  leptonDeltaR, // pseudo)angular distance of the soft lepton to jet axis
122  leptonRatio, // momentum of the soft lepton over jet energy
123  leptonRatioRel, // momentum of the soft lepton parallel to jet axis over jet energy
124  electronMVA, // mva output from electron ID
125 
126  algoDiscriminator, // discriminator output of an algorithm
127 
129  };

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, cmsBatch::log, reco::ParticleMasses::piPlus, and mathSSE::sqrt().

Referenced by CandidateBoostedDoubleSecondaryVertexComputer::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:48
dbl *** dir
Definition: mlp_gen.cc:35
tuple log
Definition: cmsBatch.py:341