Public Member Functions | |
MuonHLTSeedMVAClassifierPhase2 (const edm::ParameterSet &) | |
~MuonHLTSeedMVAClassifierPhase2 () override=default | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Types | |
typedef std::pair< std::unique_ptr< const SeedMvaEstimatorPhase2 >, std::unique_ptr< const SeedMvaEstimatorPhase2 > > | pairSeedMvaEstimator |
Private Member Functions | |
double | getSeedMva (const pairSeedMvaEstimator &pairMvaEstimator, const TrajectorySeed &seed, const GlobalVector &global_p, const GlobalPoint &global_x, const edm::Handle< l1t::TrackerMuonCollection > &h_L1TkMu, const edm::ESHandle< MagneticField > &magfieldH, const Propagator &propagatorAlong, const GeometricSearchTracker &geomTracker) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
const double | baseScore_ |
const bool | doSort_ |
const double | etaEdge_ |
const edm::ESGetToken< GeometricDet, IdealGeometryRecord > | geomDetESToken_ |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magFieldESToken_ |
const double | mvaCut_B_ |
const double | mvaCut_E_ |
pairSeedMvaEstimator | mvaEstimator_ |
const edm::FileInPath | mvaFile_B_0_ |
const edm::FileInPath | mvaFile_E_0_ |
const std::vector< double > | mvaScaleMean_B_ |
const std::vector< double > | mvaScaleMean_E_ |
const std::vector< double > | mvaScaleStd_B_ |
const std::vector< double > | mvaScaleStd_E_ |
const int | nSeedsMax_B_ |
const int | nSeedsMax_E_ |
const edm::ESGetToken< Propagator, TrackingComponentsRecord > | propagatorESToken_ |
const edm::EDGetTokenT< l1t::TrackerMuonCollection > | t_L1TkMu_ |
const edm::EDGetTokenT< TrajectorySeedCollection > | t_Seed_ |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | trackerGeometryESToken_ |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | trackerTopologyESToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 52 of file MuonHLTSeedMVAClassifierPhase2.cc.
|
private |
Definition at line 67 of file MuonHLTSeedMVAClassifierPhase2.cc.
|
explicit |
Definition at line 105 of file MuonHLTSeedMVAClassifierPhase2.cc.
References mvaEstimator_, mvaFile_B_0_, mvaFile_E_0_, mvaScaleMean_B_, mvaScaleMean_E_, mvaScaleStd_B_, and mvaScaleStd_E_.
|
overridedefault |
|
static |
Definition at line 286 of file MuonHLTSeedMVAClassifierPhase2.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
private |
Definition at line 264 of file MuonHLTSeedMVAClassifierPhase2.cc.
References funct::abs(), baseScore_, PV3DBase< T, PVType, FrameType >::eta(), etaEdge_, beam_dqm_sourceclient-live_cfg::mva, L1TMuonDQMOffline_cfi::propagatorAlong, and fileCollector::seed.
Referenced by produce().
|
overrideprivate |
Definition at line 142 of file MuonHLTSeedMVAClassifierPhase2.cc.
References funct::abs(), alongMomentum, GeometricSearchTrackerBuilder::build(), doSort_, etaEdge_, JetChargeProducer_cfi::exp, geomDetESToken_, edm::EventSetup::getHandle(), getSeedMva(), mps_fire::i, iEvent, magFieldESToken_, eostools::move(), beam_dqm_sourceclient-live_cfg::mva, mvaCut_B_, mvaCut_E_, mvaEstimator_, nSeedsMax_B_, nSeedsMax_E_, L1TMuonDQMOffline_cfi::propagatorAlong, propagatorESToken_, mps_fire::result, fileCollector::seed, SetPropagationDirection(), jetUpdater_cfi::sort, sortByMvaScorePhase2(), t_L1TkMu_, t_Seed_, trackerGeometryESToken_, trackerTopologyESToken_, and mitigatedMETSequence_cff::U.
|
private |
Definition at line 86 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by getSeedMva().
|
private |
Definition at line 82 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 78 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by getSeedMva(), and produce().
|
private |
Definition at line 91 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 90 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 79 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 80 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 68 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by MuonHLTSeedMVAClassifierPhase2(), and produce().
|
private |
Definition at line 70 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by MuonHLTSeedMVAClassifierPhase2().
|
private |
Definition at line 71 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by MuonHLTSeedMVAClassifierPhase2().
|
private |
Definition at line 73 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by MuonHLTSeedMVAClassifierPhase2().
|
private |
Definition at line 75 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by MuonHLTSeedMVAClassifierPhase2().
|
private |
Definition at line 74 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by MuonHLTSeedMVAClassifierPhase2().
|
private |
Definition at line 76 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by MuonHLTSeedMVAClassifierPhase2().
|
private |
Definition at line 83 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 84 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 92 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 64 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 63 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 89 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().
|
private |
Definition at line 88 of file MuonHLTSeedMVAClassifierPhase2.cc.
Referenced by produce().