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 |
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 72 of file PATTauDiscriminantCutMultiplexer.cc.
|
explicit |
Definition at line 140 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 185 of file PATTauDiscriminantCutMultiplexer.cc.
|
overridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 189 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 228 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_, anotherprimaryvertexanalyzer_cfi::xMax, and anotherprimaryvertexanalyzer_cfi::xMin.
|
static |
Definition at line 281 of file PATTauDiscriminantCutMultiplexer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSet::addParameter(), edm::ParameterSetDescription::addVPSet(), DEFINE_FWK_MODULE, TauDiscriminationProducerBase< TauType, TauDiscriminator >::fillProducerDescriptions(), edm::ParameterSetDescription::setAllowAnything(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 73 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 78 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 81 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 85 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 83 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 76 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and discriminate().
|
private |
Definition at line 75 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 80 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 84 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), and PATTauDiscriminantCutMultiplexer().
|
private |
Definition at line 82 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent().
|
private |
Definition at line 87 of file PATTauDiscriminantCutMultiplexer.cc.
Referenced by beginEvent(), discriminate(), and PATTauDiscriminantCutMultiplexer().