CMS 3D CMS Logo

SeedingTracksConverter.h
Go to the documentation of this file.
1 #ifndef RecoBTag_FeatureTools_SeedingTracksConverter_h
2 #define RecoBTag_FeatureTools_SeedingTracksConverter_h
3 
6 
9 
12 
14 
19 
21 
22 namespace btagbtvdeep {
23 
24  void seedingTracksToFeatures(const std::vector<reco::TransientTrack>& selectedTracks,
25  const std::vector<float>& masses,
26  const reco::Jet& jet,
27  const reco::Vertex& pv,
28  HistogramProbabilityEstimator* probabilityEstimator,
30  std::vector<btagbtvdeep::SeedingTrackFeatures>& seedingT_features_vector);
31 
32  float logWithOffset(float v, float logOffset = 0) {
33  if (v == 0.)
34  return 0.;
35  return logOffset + log(std::fabs(v)) * std::copysign(1.f, v);
36  };
37 } // namespace btagbtvdeep
38 
39 #endif //RecoBTag_FeatureTools_SeedingTracksConverter_h
btagbtvdeep
Definition: BoostedDoubleSVTagInfoFeatures.h:4
reco::Jet
Base class for all types of Jets.
Definition: Jet.h:20
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
PFCandidate.h
TrackPairFeatures.h
SeedingTrackFeatures.h
VertexDistance3D.h
findQualityFiles.v
v
Definition: findQualityFiles.py:179
HLT_FULL_cff.computeProbabilities
computeProbabilities
Definition: HLT_FULL_cff.py:51926
SeedingTrackInfoBuilder.h
HistogramProbabilityEstimator.h
TransientTrackBuilder.h
PackedCandidate.h
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
HistogramProbabilityEstimator
Definition: HistogramProbabilityEstimator.h:18
btagbtvdeep::logWithOffset
float logWithOffset(float v, float logOffset=0)
Definition: SeedingTracksConverter.h:32
TransientTrackRecord.h
Jet.h
particleFlowDisplacedVertex_cfi.masses
masses
Definition: particleFlowDisplacedVertex_cfi.py:80
IPTools.h
metsig::jet
Definition: SignAlgoResolutions.h:47
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17
btagbtvdeep::seedingTracksToFeatures
void seedingTracksToFeatures(const std::vector< reco::TransientTrack > &selectedTracks, const std::vector< float > &masses, const reco::Jet &jet, const reco::Vertex &pv, HistogramProbabilityEstimator *probabilityEstimator, bool computeProbabilities, std::vector< btagbtvdeep::SeedingTrackFeatures > &seedingT_features_vector)
Definition: SeedingTracksConverter.cc:23
reco::Vertex
Definition: Vertex.h:35
TrackPairInfoBuilder.h
TrackCollections2monitor_cff.selectedTracks
selectedTracks
Definition: TrackCollections2monitor_cff.py:32