Classes | |
struct | DiscriminantCutEntry |
Public Member Functions | |
void | beginEvent (const edm::Event &event, const edm::EventSetup &eventSetup) override |
double | discriminate (const pat::TauRef &) const override |
PATTauDiscriminantCutMultiplexer (const edm::ParameterSet &pset) | |
~PATTauDiscriminantCutMultiplexer () override | |
Public Member Functions inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
virtual void | endEvent (edm::Event &) |
void | produce (edm::Event &, const edm::EventSetup &) override |
TauDiscriminationProducerBase (const edm::ParameterSet &iConfig) | |
TauDiscriminationProducerBase () | |
~TauDiscriminationProducerBase () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
static void | fillProducerDescriptions (edm::ParameterSetDescription &desc) |
Private Types | |
typedef std::map< int, std::unique_ptr< DiscriminantCutEntry > > | DiscriminantCutMap |
Private Attributes | |
DiscriminantCutMap | cuts_ |
edm::FileInPath | inputFileName_ |
bool | isInitialized_ |
edm::InputTag | key_ |
edm::EDGetTokenT< pat::PATTauDiscriminator > | key_token |
edm::Handle< pat::PATTauDiscriminator > | keyHandle_ |
bool | loadMVAfromDB_ |
std::string | moduleLabel_ |
std::unique_ptr< const TFormula > | mvaOutput_normalization_ |
std::string | mvaOutputNormalizationName_ |
edm::InputTag | toMultiplex_ |
edm::EDGetTokenT< pat::PATTauDiscriminator > | toMultiplex_token |
edm::Handle< pat::PATTauDiscriminator > | toMultiplexHandle_ |
int | verbosity_ |
Definition at line 39 of file PATTauDiscriminantCutMultiplexer.cc.
|
private |
Definition at line 65 of file PATTauDiscriminantCutMultiplexer.cc.
|
explicit |
Definition at line 135 of file PATTauDiscriminantCutMultiplexer.cc.
References taus_updatedMVAIds_cff::category, gather_cfg::cout, TkAlMuonSelectors_cfi::cut, cuts_, Exception, edm::ParameterSet::getParameter(), inputFileName_, key_, key_token, PATTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kFixedCut, PATTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kVariableCut, loadMVAfromDB_, taus_updatedMVAIds_cff::mapping, moduleLabel_, eostools::move(), mvaOutputNormalizationName_, AlCaHLTBitMon_QueryRunRegistry::string, toMultiplex_, toMultiplex_token, verbosity_, and HistogramManager_cfi::VPSet().
|
override |
Definition at line 179 of file PATTauDiscriminantCutMultiplexer.cc.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 181 of file PATTauDiscriminantCutMultiplexer.cc.
References gather_cfg::cout, TkAlMuonSelectors_cfi::cut, cuts_, edm::Event::getByToken(), dtResolutionTest_cfi::inputFile, inputFileName_, isInitialized_, key_token, keyHandle_, PATTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kVariableCut, loadMVAfromDB_, moduleLabel_, eostools::move(), mvaOutput_normalization_, mvaOutputNormalizationName_, groupFilesInBlocks::temp, toMultiplex_token, toMultiplexHandle_, and verbosity_.
|
overridevirtual |
Implements TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 221 of file PATTauDiscriminantCutMultiplexer.cc.
References gather_cfg::cout, cuts_, geometryDiff::epsilon, PATTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kFixedCut, PATTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kVariableCut, moduleLabel_, mvaOutput_normalization_, TauDiscriminationProducerBase< TauType, TauDiscriminator >::prediscriminantFailValue_, metsig::tau, verbosity_, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.
|
static |
Definition at line 276 of file PATTauDiscriminantCutMultiplexer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSet::addParameter(), edm::ParameterSetDescription::addVPSet(), DEFINE_FWK_MODULE, TauDiscriminationProducerBase< TauType, TauDiscriminator >::fillProducerDescriptions(), HLT_2018_cff::InputTag, edm::ParameterSetDescription::setAllowAnything(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 66 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 53 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 71 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 74 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 78 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 76 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 52 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 50 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 69 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and discriminate().
|
private |
Definition at line 68 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 73 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 77 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 75 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 80 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), and PATTauDiscriminantCutMultiplexer().