Classes | |
struct | ErrorSort |
Public Member Functions | |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &iSetup) override |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &iSetup) override |
virtual void | endJob () override |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &iSetup) override |
virtual void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, const edm::EventSetup &iSetup) override |
virtual void | endRun (const edm::Run &run, const edm::EventSetup &iSetup) override |
virtual bool | filter (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
LogErrorEventFilter (const edm::ParameterSet &iConfig) | |
virtual | ~LogErrorEventFilter () |
Public Member Functions inherited from edm::one::EDFilter< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer > | |
EDFilter ()=default | |
Public Member Functions inherited from edm::one::EDFilterBase | |
EDFilterBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilterBase () |
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 Types | |
typedef edm::ErrorSummaryEntry | Error |
typedef std::vector < edm::ErrorSummaryEntry > | ErrorList |
typedef std::set < edm::ErrorSummaryEntry, ErrorSort > | ErrorSet |
Static Private Member Functions | |
template<typename Collection > | |
static void | increment (ErrorSet &scoreboard, Collection &list) |
template<typename Collection > | |
static void | print (const Collection &errors) |
static std::auto_ptr< ErrorList > | serialize (const ErrorSet &set) |
Private Attributes | |
std::set< std::string > | categoriesToIgnore_ |
std::set< std::string > | categoriesToWatch_ |
ErrorSet | errorCollectionAll_ |
ErrorSet | errorCollectionThisLumi_ |
ErrorSet | errorCollectionThisRun_ |
bool | forcedValue_ |
size_t | maxSavedEventsPerLumi_ |
std::set< std::string > | modulesToIgnore_ |
std::set< std::string > | modulesToWatch_ |
size_t | nfailLumi_ |
size_t | nfailRun_ |
size_t | npassLumi_ |
size_t | npassRun_ |
bool | readSummaryMode_ |
edm::InputTag | src_ |
edm::EDGetTokenT< ErrorList > | srcT_ |
std::map< std::pair< uint32_t, uint32_t >, std::pair< size_t, size_t > > | statsPerLumi_ |
std::map< uint32_t, std::pair < size_t, size_t > > | statsPerRun_ |
bool | taggedMode_ |
double | thresholdPerLumi_ |
double | thresholdPerRun_ |
bool | verbose_ |
bool | veryVerbose_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDFilterBase | |
typedef EDFilterBase | 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::one::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 33 of file LogErrorEventFilter.cc.
|
private |
Definition at line 49 of file LogErrorEventFilter.cc.
|
private |
Definition at line 58 of file LogErrorEventFilter.cc.
|
private |
Definition at line 59 of file LogErrorEventFilter.cc.
|
explicit |
Definition at line 88 of file LogErrorEventFilter.cc.
References MillePedeFileConverter_cfg::categories, categoriesToIgnore_, categoriesToWatch_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edmConvertToStreamModule::modules, modulesToIgnore_, and modulesToWatch_.
|
inlinevirtual |
Definition at line 38 of file LogErrorEventFilter.cc.
|
overridevirtual |
Definition at line 140 of file LogErrorEventFilter.cc.
References errorCollectionThisLumi_, edm::LuminosityBlock::getByLabel(), patZpeak::handle, increment(), edm::InputTag::label(), nfailLumi_, nfailRun_, npassLumi_, npassRun_, edm::InputTag::process(), readSummaryMode_, and src_.
|
overridevirtual |
Definition at line 179 of file LogErrorEventFilter.cc.
References errorCollectionThisRun_, nfailRun_, and npassRun_.
|
overridevirtual |
Reimplemented from edm::one::EDFilterBase.
Definition at line 200 of file LogErrorEventFilter.cc.
References counter, gather_cfg::cout, errorCollectionAll_, funct::fract(), print(), statsPerLumi_, statsPerRun_, thresholdPerLumi_, thresholdPerRun_, and verbose_.
|
overridevirtual |
Definition at line 157 of file LogErrorEventFilter.cc.
References gather_cfg::cout, errorCollectionThisLumi_, errorCollectionThisRun_, increment(), edm::LuminosityBlockBase::luminosityBlock(), nfailLumi_, npassLumi_, print(), edm::LuminosityBlockBase::run(), statsPerLumi_, thresholdPerLumi_, and verbose_.
|
overridevirtual |
Definition at line 171 of file LogErrorEventFilter.cc.
References errorCollectionThisLumi_, nfailLumi_, npassLumi_, edm::LuminosityBlock::put(), and serialize().
|
overridevirtual |
Definition at line 185 of file LogErrorEventFilter.cc.
References gather_cfg::cout, errorCollectionAll_, errorCollectionThisRun_, increment(), nfailRun_, npassRun_, print(), edm::RunBase::run(), statsPerRun_, thresholdPerRun_, and verbose_.
|
overridevirtual |
Implements edm::one::EDFilterBase.
Definition at line 224 of file LogErrorEventFilter.cc.
References categoriesToIgnore_, categoriesToWatch_, edm::ErrorSummaryEntry::category, edm::ErrorSummaryEntry::count, gather_cfg::cout, errorCollectionThisLumi_, benchmark_cfg::errors, edm::EventID::event(), cmsPerfPublish::fail(), forcedValue_, edm::Event::getByToken(), edm::EventBase::id(), citk::if(), edm::EventBase::luminosityBlock(), maxSavedEventsPerLumi_, edm::ErrorSummaryEntry::module, modulesToIgnore_, modulesToWatch_, nfailLumi_, nfailRun_, npassLumi_, npassRun_, print(), edm::Event::put(), readSummaryMode_, query::result, edm::Event::run(), cuy::save, srcT_, taggedMode_, and veryVerbose_.
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().
|
staticprivate |
Definition at line 273 of file LogErrorEventFilter.cc.
References edm::ErrorSummaryEntry::count, and query::result.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and endRun().
|
staticprivate |
Definition at line 283 of file LogErrorEventFilter.cc.
References edm::ErrorSummaryEntry::category, edm::ErrorSummaryEntry::count, gather_cfg::cout, edm::ELseverityLevel::getName(), edm::ErrorSummaryEntry::module, and edm::ErrorSummaryEntry::severity.
Referenced by endJob(), endLuminosityBlock(), endRun(), and filter().
|
inlinestaticprivate |
Definition at line 82 of file LogErrorEventFilter.cc.
References run_regression::ret.
Referenced by endLuminosityBlockProduce().
|
private |
Definition at line 69 of file LogErrorEventFilter.cc.
Referenced by filter(), and LogErrorEventFilter().
|
private |
Definition at line 68 of file LogErrorEventFilter.cc.
Referenced by filter(), and LogErrorEventFilter().
|
private |
Definition at line 72 of file LogErrorEventFilter.cc.
|
private |
Definition at line 73 of file LogErrorEventFilter.cc.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), endLuminosityBlockProduce(), and filter().
|
private |
Definition at line 73 of file LogErrorEventFilter.cc.
Referenced by beginRun(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 77 of file LogErrorEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 75 of file LogErrorEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 67 of file LogErrorEventFilter.cc.
Referenced by filter(), and LogErrorEventFilter().
|
private |
Definition at line 66 of file LogErrorEventFilter.cc.
Referenced by filter(), and LogErrorEventFilter().
|
private |
Definition at line 64 of file LogErrorEventFilter.cc.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), endLuminosityBlockProduce(), and filter().
|
private |
Definition at line 65 of file LogErrorEventFilter.cc.
Referenced by beginLuminosityBlock(), beginRun(), endRun(), and filter().
|
private |
Definition at line 64 of file LogErrorEventFilter.cc.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), endLuminosityBlockProduce(), and filter().
|
private |
Definition at line 65 of file LogErrorEventFilter.cc.
Referenced by beginLuminosityBlock(), beginRun(), endRun(), and filter().
|
private |
Definition at line 63 of file LogErrorEventFilter.cc.
Referenced by beginLuminosityBlock(), and filter().
|
private |
Definition at line 61 of file LogErrorEventFilter.cc.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 62 of file LogErrorEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 70 of file LogErrorEventFilter.cc.
Referenced by endJob(), and endLuminosityBlock().
|
private |
Definition at line 71 of file LogErrorEventFilter.cc.
|
private |
Definition at line 77 of file LogErrorEventFilter.cc.
Referenced by filter().
|
private |
Definition at line 74 of file LogErrorEventFilter.cc.
Referenced by endJob(), and endLuminosityBlock().
|
private |
Definition at line 74 of file LogErrorEventFilter.cc.
|
private |
Definition at line 76 of file LogErrorEventFilter.cc.
Referenced by endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 76 of file LogErrorEventFilter.cc.
Referenced by filter().