Classes | |
struct | DiscriminantCutEntry |
Public Member Functions | |
void | beginEvent (const edm::Event &event, const edm::EventSetup &eventSetup) override |
double | discriminate (const reco::PFTauRef &) const override |
RecoTauDiscriminantCutMultiplexer (const edm::ParameterSet &pset) | |
~RecoTauDiscriminantCutMultiplexer () override | |
Public Member Functions inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
virtual double | discriminate (const TauRef &tau) const =0 |
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< reco::PFTauDiscriminator > | key_token |
edm::Handle< reco::PFTauDiscriminator > | keyHandle_ |
bool | loadMVAfromDB_ |
std::string | moduleLabel_ |
std::unique_ptr< const TFormula > | mvaOutput_normalization_ |
std::string | mvaOutputNormalizationName_ |
edm::InputTag | toMultiplex_ |
edm::EDGetTokenT< reco::PFTauDiscriminator > | toMultiplex_token |
edm::Handle< reco::PFTauDiscriminator > | toMultiplexHandle_ |
int | verbosity_ |
Definition at line 34 of file RecoTauDiscriminantCutMultiplexer.cc.
|
private |
Definition at line 66 of file RecoTauDiscriminantCutMultiplexer.cc.
|
explicit |
Definition at line 136 of file RecoTauDiscriminantCutMultiplexer.cc.
References taus_updatedMVAIds_cff::category, gather_cfg::cout, TkAlMuonSelectors_cfi::cut, cuts_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), inputFileName_, key_, key_token, RecoTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kFixedCut, RecoTauDiscriminantCutMultiplexer::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 187 of file RecoTauDiscriminantCutMultiplexer.cc.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 191 of file RecoTauDiscriminantCutMultiplexer.cc.
References gather_cfg::cout, TkAlMuonSelectors_cfi::cut, cuts_, edm::Event::getByToken(), analyzePatCleaning_cfg::inputFile, inputFileName_, isInitialized_, key_token, keyHandle_, RecoTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kVariableCut, loadMVAfromDB_, moduleLabel_, eostools::move(), mvaOutput_normalization_, mvaOutputNormalizationName_, groupFilesInBlocks::temp, toMultiplex_token, toMultiplexHandle_, and verbosity_.
|
override |
Definition at line 230 of file RecoTauDiscriminantCutMultiplexer.cc.
References gather_cfg::cout, cuts_, DEFINE_FWK_MODULE, geometryDiff::epsilon, RecoTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kFixedCut, RecoTauDiscriminantCutMultiplexer::DiscriminantCutEntry::kVariableCut, moduleLabel_, mvaOutput_normalization_, TauDiscriminationProducerBase< TauType, TauDiscriminator >::prediscriminantFailValue_, metsig::tau, verbosity_, anotherprimaryvertexanalyzer_cfi::xMax, and anotherprimaryvertexanalyzer_cfi::xMin.
|
private |
Definition at line 67 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 47 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 72 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 75 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 79 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 77 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 46 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 44 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 70 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and discriminate().
|
private |
Definition at line 69 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 74 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 78 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 76 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 81 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), and RecoTauDiscriminantCutMultiplexer().