CMS 3D CMS Logo

SeedMvaEstimatorPhase2.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackerSeedGenerator_SeedMvaEstimatorPhase2_h
2 #define RecoMuon_TrackerSeedGenerator_SeedMvaEstimatorPhase2_h
3 
29 
30 #include <memory>
31 #include <string>
32 
33 typedef pair<const DetLayer*, TrajectoryStateOnSurface> LayerTSOS;
34 typedef pair<const DetLayer*, const TrackingRecHit*> LayerHit;
35 
36 class GBRForest;
37 
38 namespace edm {
39  class FileInPath;
40 }
41 
43 public:
44  SeedMvaEstimatorPhase2(const edm::FileInPath& weightsfile,
45  const std::vector<double>& scale_mean,
46  const std::vector<double>& scale_std);
48 
49  double computeMva(const TrajectorySeed&,
50  const GlobalVector&,
51  const GlobalPoint&,
54  const Propagator&,
55  const GeometricSearchTracker&) const;
56 
57 private:
58  std::unique_ptr<const GBRForest> gbrForest_;
59  const std::vector<double> scale_mean_;
60  const std::vector<double> scale_std_;
61 
62  vector<LayerTSOS> getTsosOnPixels(const TTTrack<Ref_Phase2TrackerDigi_>&,
64  const Propagator&,
65  const GeometricSearchTracker&) const;
66 
67  vector<pair<LayerHit, LayerTSOS> > getHitTsosPairs(const TrajectorySeed&,
70  const Propagator&,
71  const GeometricSearchTracker&) const;
72 
73  void getL1TTVariables(const TrajectorySeed&,
74  const GlobalVector&,
75  const GlobalPoint&,
77  float&,
78  float&) const;
82  const Propagator&,
84  float&,
85  float&,
86  float&) const;
87 };
88 #endif
vector< LayerTSOS > getTsosOnPixels(const TTTrack< Ref_Phase2TrackerDigi_ > &, const edm::ESHandle< MagneticField > &, const Propagator &, const GeometricSearchTracker &) const
SeedMvaEstimatorPhase2(const edm::FileInPath &weightsfile, const std::vector< double > &scale_mean, const std::vector< double > &scale_std)
vector< pair< LayerHit, LayerTSOS > > getHitTsosPairs(const TrajectorySeed &, const edm::Handle< l1t::TrackerMuonCollection > &, const edm::ESHandle< MagneticField > &, const Propagator &, const GeometricSearchTracker &) const
const std::vector< double > scale_std_
std::unique_ptr< const GBRForest > gbrForest_
pair< const DetLayer *, const TrackingRecHit * > LayerHit
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:29
void getL1TTVariables(const TrajectorySeed &, const GlobalVector &, const GlobalPoint &, const edm::Handle< l1t::TrackerMuonCollection > &, float &, float &) const
pair< const DetLayer *, TrajectoryStateOnSurface > LayerTSOS
HLT enums.
double computeMva(const TrajectorySeed &, const GlobalVector &, const GlobalPoint &, const edm::Handle< l1t::TrackerMuonCollection > &, const edm::ESHandle< MagneticField > &, const Propagator &, const GeometricSearchTracker &) const
void getHitL1TkVariables(const TrajectorySeed &, const edm::Handle< l1t::TrackerMuonCollection > &, const edm::ESHandle< MagneticField > &, const Propagator &, const GeometricSearchTracker &, float &, float &, float &) const
const std::vector< double > scale_mean_