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 |
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) |
static std::string | getTauTypeString () |
helper method to retrieve tau type name, e.g. to build correct cfi getter More... | |
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 37 of file RecoTauDiscriminantCutMultiplexer.cc.
|
private |
Definition at line 71 of file RecoTauDiscriminantCutMultiplexer.cc.
|
explicit |
Definition at line 139 of file RecoTauDiscriminantCutMultiplexer.cc.
References taus_updatedMVAIds_cff::category, gather_cfg::cout, TkAlMuonSelectors_cfi::cut, cuts_, Exception, 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 186 of file RecoTauDiscriminantCutMultiplexer.cc.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 190 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 229 of file RecoTauDiscriminantCutMultiplexer.cc.
References gather_cfg::cout, cuts_, 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.
|
static |
Definition at line 282 of file RecoTauDiscriminantCutMultiplexer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addOptional(), edm::ParameterSet::addParameter(), edm::ParameterSetDescription::addVPSet(), DEFINE_FWK_MODULE, TauDiscriminationProducerBase< TauType, TauDiscriminator >::fillProducerDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 72 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 52 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 80 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 84 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 82 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 51 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 49 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 75 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and discriminate().
|
private |
Definition at line 74 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 79 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 83 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and RecoTauDiscriminantCutMultiplexer().
|
private |
Definition at line 81 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 86 of file RecoTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), and RecoTauDiscriminantCutMultiplexer().