Public Member Functions | |
bool | checkMVAFileConsistency (const std::string &weightsFileFullPath, bool isFromL1) const |
MuonHLTSeedMVAClassifier (const edm::ParameterSet &) | |
~MuonHLTSeedMVAClassifier () 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 SeedMvaEstimator >, std::unique_ptr< const SeedMvaEstimator > > | PairSeedMvaEstimator |
Private Member Functions | |
double | getSeedMva (const PairSeedMvaEstimator &pairMvaEstimator, const TrajectorySeed &seed, const GlobalVector &global_p, const l1t::MuonBxCollection &l1Muons, const reco::RecoChargedCandidateCollection &l2Muons) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
const double | baseScore_ |
const bool | doSort_ |
const double | etaEdge_ |
const bool | isFromL1_ |
const edm::EDGetTokenT< l1t::MuonBxCollection > | l1MuonToken_ |
const edm::EDGetTokenT< reco::RecoChargedCandidateCollection > | l2MuonToken_ |
const int | minL1Qual_ |
const double | mvaCutB_ |
const double | mvaCutE_ |
PairSeedMvaEstimator | mvaEstimator_ |
const edm::FileInPath | mvaFileB_ |
const edm::FileInPath | mvaFileE_ |
const std::vector< double > | mvaScaleMeanB_ |
const std::vector< double > | mvaScaleMeanE_ |
const std::vector< double > | mvaScaleStdB_ |
const std::vector< double > | mvaScaleStdE_ |
const int | nSeedsMaxB_ |
const int | nSeedsMaxE_ |
const bool | rejectAll_ |
const edm::EDGetTokenT< TrajectorySeedCollection > | seedToken_ |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | trackerGeometryToken_ |
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 44 of file MuonHLTSeedMVAClassifier.cc.
|
private |
Definition at line 62 of file MuonHLTSeedMVAClassifier.cc.
|
explicit |
Definition at line 126 of file MuonHLTSeedMVAClassifier.cc.
References checkMVAFileConsistency(), Exception, edm::FileInPath::fullPath(), isFromL1_, minL1Qual_, mvaEstimator_, mvaFileB_, mvaFileE_, mvaScaleMeanB_, mvaScaleMeanE_, mvaScaleStdB_, mvaScaleStdE_, and rejectAll_.
|
overridedefault |
bool MuonHLTSeedMVAClassifier::checkMVAFileConsistency | ( | const std::string & | weightsFileFullPath, |
bool | isFromL1 | ||
) | const |
Definition at line 94 of file MuonHLTSeedMVAClassifier.cc.
References MillePedeFileConverter_cfg::e, reco::details::hasEnding(), HLT_2024v13_cff::isFromL1, LogTrace, and dqmiodumpmetadata::n.
Referenced by MuonHLTSeedMVAClassifier().
|
static |
Definition at line 279 of file MuonHLTSeedMVAClassifier.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
private |
Definition at line 263 of file MuonHLTSeedMVAClassifier.cc.
References funct::abs(), baseScore_, PV3DBase< T, PVType, FrameType >::eta(), etaEdge_, beam_dqm_sourceclient-live_cfg::mva, and fileCollector::seed.
Referenced by produce().
|
overrideprivate |
Definition at line 165 of file MuonHLTSeedMVAClassifier.cc.
References funct::abs(), doSort_, PV3DBase< T, PVType, FrameType >::eta(), etaEdge_, JetChargeProducer_cfi::exp, edm::EventSetup::getData(), getSeedMva(), mps_fire::i, TrackerGeometry::idToDet(), iEvent, l1MuonToken_, l2MuonToken_, eostools::move(), beam_dqm_sourceclient-live_cfg::mva, mvaCutB_, mvaCutE_, mvaEstimator_, nSeedsMaxB_, nSeedsMaxE_, rejectAll_, mps_fire::result, offlineSlimmedPrimaryVertices_cfi::score, fileCollector::seed, HLT_2024v13_cff::seeds, seedToken_, jetUpdater_cfi::sort, sortByMvaScore(), GeomDet::toGlobal(), trackerGeometryToken_, and mitigatedMETSequence_cff::U.
|
private |
Definition at line 85 of file MuonHLTSeedMVAClassifier.cc.
Referenced by getSeedMva().
|
private |
Definition at line 76 of file MuonHLTSeedMVAClassifier.cc.
Referenced by produce().
|
private |
Definition at line 80 of file MuonHLTSeedMVAClassifier.cc.
Referenced by getSeedMva(), and produce().
|
private |
Definition at line 66 of file MuonHLTSeedMVAClassifier.cc.
Referenced by MuonHLTSeedMVAClassifier().
|
private |
Definition at line 57 of file MuonHLTSeedMVAClassifier.cc.
Referenced by produce().
|
private |
Definition at line 58 of file MuonHLTSeedMVAClassifier.cc.
Referenced by produce().
|
private |
Definition at line 84 of file MuonHLTSeedMVAClassifier.cc.
Referenced by MuonHLTSeedMVAClassifier().
|
private |
Definition at line 81 of file MuonHLTSeedMVAClassifier.cc.
Referenced by produce().
|
private |
Definition at line 82 of file MuonHLTSeedMVAClassifier.cc.
Referenced by produce().
|
private |
Definition at line 63 of file MuonHLTSeedMVAClassifier.cc.
Referenced by MuonHLTSeedMVAClassifier(), and produce().
|
private |
Definition at line 68 of file MuonHLTSeedMVAClassifier.cc.
Referenced by MuonHLTSeedMVAClassifier().
|
private |
Definition at line 69 of file MuonHLTSeedMVAClassifier.cc.
Referenced by MuonHLTSeedMVAClassifier().
|
private |
Definition at line 71 of file MuonHLTSeedMVAClassifier.cc.
Referenced by MuonHLTSeedMVAClassifier().
|
private |
Definition at line 73 of file MuonHLTSeedMVAClassifier.cc.
Referenced by MuonHLTSeedMVAClassifier().
|
private |
Definition at line 72 of file MuonHLTSeedMVAClassifier.cc.
Referenced by MuonHLTSeedMVAClassifier().
|
private |
Definition at line 74 of file MuonHLTSeedMVAClassifier.cc.
Referenced by MuonHLTSeedMVAClassifier().
|
private |
Definition at line 77 of file MuonHLTSeedMVAClassifier.cc.
Referenced by produce().
|
private |
Definition at line 78 of file MuonHLTSeedMVAClassifier.cc.
Referenced by produce().
|
private |
Definition at line 65 of file MuonHLTSeedMVAClassifier.cc.
Referenced by MuonHLTSeedMVAClassifier(), and produce().
|
private |
Definition at line 56 of file MuonHLTSeedMVAClassifier.cc.
Referenced by produce().
|
private |
Definition at line 59 of file MuonHLTSeedMVAClassifier.cc.
Referenced by produce().