CMS 3D CMS Logo

SeedMvaEstimator.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackerSeedGenerator_SeedMvaEstimator_h
2 #define RecoMuon_TrackerSeedGenerator_SeedMvaEstimator_h
3 
9 
11 
14 
15 #include <memory>
16 
17 class GBRForest;
18 
19 namespace edm {
20  class FileInPath;
21 }
22 
24 public:
25  SeedMvaEstimator(const edm::FileInPath& weightsfile,
26  const std::vector<double>& scale_mean,
27  const std::vector<double>& scale_std,
28  const bool isFromL1,
29  const int minL1Qual);
31 
32  double computeMva(const TrajectorySeed&,
33  const GlobalVector&,
34  const l1t::MuonBxCollection&,
36 
37 private:
38  std::unique_ptr<const GBRForest> gbrForest_;
39  const std::vector<double> scale_mean_;
40  const std::vector<double> scale_std_;
41  const bool isFromL1_;
42  const int minL1Qual_;
43 
44  void getL1MuonVariables(const GlobalVector&, const l1t::MuonBxCollection&, float&, float&) const;
45  void getL2MuonVariables(const GlobalVector&, const reco::RecoChargedCandidateCollection&, float&, float&) const;
46 };
47 #endif
Vector3DBase
Definition: Vector3DBase.h:8
SeedMvaEstimator::scale_mean_
const std::vector< double > scale_mean_
Definition: SeedMvaEstimator.h:39
edm
HLT enums.
Definition: AlignableModifier.h:19
GBRForest
Definition: GBRForest.h:25
Muon.h
SeedMvaEstimator::getL2MuonVariables
void getL2MuonVariables(const GlobalVector &, const reco::RecoChargedCandidateCollection &, float &, float &) const
Definition: SeedMvaEstimator.cc:59
SeedMvaEstimator::getL1MuonVariables
void getL1MuonVariables(const GlobalVector &, const l1t::MuonBxCollection &, float &, float &) const
Definition: SeedMvaEstimator.cc:38
reco::RecoChargedCandidateCollection
std::vector< RecoChargedCandidate > RecoChargedCandidateCollection
collectin of RecoChargedCandidate objects
Definition: RecoChargedCandidateFwd.h:9
BXVector
Definition: BXVector.h:15
edm::FileInPath
Definition: FileInPath.h:64
LocalTrajectoryParameters.h
PTrajectoryStateOnDet.h
SeedMvaEstimator::scale_std_
const std::vector< double > scale_std_
Definition: SeedMvaEstimator.h:40
SeedMvaEstimator::~SeedMvaEstimator
~SeedMvaEstimator()
Definition: SeedMvaEstimator.cc:18
TrajectorySeed.h
SeedMvaEstimator::computeMva
double computeMva(const TrajectorySeed &, const GlobalVector &, const l1t::MuonBxCollection &, const reco::RecoChargedCandidateCollection &) const
Definition: SeedMvaEstimator.cc:72
SeedMvaEstimator::minL1Qual_
const int minL1Qual_
Definition: SeedMvaEstimator.h:42
TrajectorySeedCollection.h
PropagationDirection.h
RecoChargedCandidate.h
SeedMvaEstimator
Definition: SeedMvaEstimator.h:23
SeedMvaEstimator::isFromL1_
const bool isFromL1_
Definition: SeedMvaEstimator.h:41
TrajectorySeed
Definition: TrajectorySeed.h:18
SeedMvaEstimator::gbrForest_
std::unique_ptr< const GBRForest > gbrForest_
Definition: SeedMvaEstimator.h:38
RecoChargedCandidateFwd.h
SeedMvaEstimator::SeedMvaEstimator
SeedMvaEstimator(const edm::FileInPath &weightsfile, const std::vector< double > &scale_mean, const std::vector< double > &scale_std, const bool isFromL1, const int minL1Qual)
Definition: SeedMvaEstimator.cc:9