Public Member Functions | |
virtual void | beginJob () override |
virtual void | endJob () override |
virtual bool | filter (edm::Event &, const edm::EventSetup &) override |
PdfSystematicsAnalyzer (const edm::ParameterSet &pset) | |
virtual | ~PdfSystematicsAnalyzer () |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
unsigned int | originalEvents_ |
std::vector< int > | pdfStart_ |
std::vector< edm::InputTag > | pdfWeightTags_ |
std::vector< edm::EDGetTokenT < std::vector< double > > > | pdfWeightTokens_ |
unsigned int | selectedEvents_ |
std::string | selectorPath_ |
edm::EDGetTokenT < edm::TriggerResults > | triggerResultsToken_ |
std::vector< double > | weighted2SelectedEvents_ |
std::vector< double > | weightedEvents_ |
std::vector< double > | weightedSelectedEvents_ |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 6 of file PdfSystematicsAnalyzer.cc.
PdfSystematicsAnalyzer::PdfSystematicsAnalyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 39 of file PdfSystematicsAnalyzer.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
|
virtual |
Definition at line 47 of file PdfSystematicsAnalyzer.cc.
|
overridevirtual |
Reimplemented from edm::EDFilter.
Definition at line 50 of file PdfSystematicsAnalyzer.cc.
References i, originalEvents_, pdfStart_, pdfWeightTags_, and selectedEvents_.
|
overridevirtual |
Reimplemented from edm::EDFilter.
Definition at line 61 of file PdfSystematicsAnalyzer.cc.
References i, j, originalEvents_, pdfStart_, pdfWeightTags_, selectedEvents_, mathSSE::sqrt(), weighted2SelectedEvents_, weightedEvents_, and weightedSelectedEvents_.
|
overridevirtual |
Implements edm::EDFilter.
Definition at line 221 of file PdfSystematicsAnalyzer.cc.
References edm::Event::getByToken(), i, j, originalEvents_, pdfStart_, pdfWeightTags_, pdfWeightTokens_, selectedEvents_, selectorPath_, edm::TriggerNames::size(), edm::TriggerNames::triggerIndex(), edm::Event::triggerNames(), triggerResults, triggerResultsToken_, trigNames, weighted2SelectedEvents_, weightedEvents_, weightedSelectedEvents_, and create_public_pileup_plots::weights.
Referenced by Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView().
|
private |
Definition at line 18 of file PdfSystematicsAnalyzer.cc.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 20 of file PdfSystematicsAnalyzer.cc.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 15 of file PdfSystematicsAnalyzer.cc.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 16 of file PdfSystematicsAnalyzer.cc.
Referenced by filter().
|
private |
Definition at line 19 of file PdfSystematicsAnalyzer.cc.
Referenced by beginJob(), endJob(), and filter().
|
private |
Definition at line 14 of file PdfSystematicsAnalyzer.cc.
Referenced by filter().
|
private |
Definition at line 17 of file PdfSystematicsAnalyzer.cc.
Referenced by filter().
|
private |
Definition at line 22 of file PdfSystematicsAnalyzer.cc.
|
private |
Definition at line 23 of file PdfSystematicsAnalyzer.cc.
|
private |
Definition at line 21 of file PdfSystematicsAnalyzer.cc.