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

Referenced by 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