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 
33  float logWithOffset(float v, float logOffset=0) {if (v==0.) return 0.; return logOffset + log(std::fabs(v))*std::copysign(1.f, v);};
34 }
35 
36 #endif //RecoBTag_FeatureTools_SeedingTracksConverter_h
Base class for all types of Jets.
Definition: Jet.h:20
def pv(vc)
Definition: MetAnalyzer.py:7
double f[11][100]
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)
float logWithOffset(float v, float logOffset=0)