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 | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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 36 of file PATTauDiscriminantCutMultiplexer.cc.
|
private |
Definition at line 68 of file PATTauDiscriminantCutMultiplexer.cc.
|
explicit |
Definition at line 138 of file PATTauDiscriminantCutMultiplexer.cc.
References taus_updatedMVAIds_cff::category, gather_cfg::cout, TkAlMuonSelectors_cfi::cut, cuts_, Exception, edm::ParameterSet::exists(), 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 189 of file PATTauDiscriminantCutMultiplexer.cc.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 193 of file PATTauDiscriminantCutMultiplexer.cc.
References gather_cfg::cout, TkAlMuonSelectors_cfi::cut, cuts_, edm::Event::getByToken(), analyzePatCleaning_cfg::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 232 of file PATTauDiscriminantCutMultiplexer.cc.
References gather_cfg::cout, cuts_, DEFINE_FWK_MODULE, geometryDiff::epsilon, PATTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kFixedCut, PATTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kVariableCut, moduleLabel_, mvaOutput_normalization_, TauDiscriminationProducerBase< TauType, TauDiscriminator >::prediscriminantFailValue_, metsig::tau, verbosity_, anotherprimaryvertexanalyzer_cfi::xMax, and anotherprimaryvertexanalyzer_cfi::xMin.
|
private |
Definition at line 69 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 49 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 74 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 77 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 81 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 79 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 48 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 46 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 72 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and discriminate().
|
private |
Definition at line 71 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 76 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 80 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 78 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 83 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), and PATTauDiscriminantCutMultiplexer().