#include <ObjectCounter.h>
Public Member Functions | |
void | endJob () |
end-of-job processing More... | |
ObjectCounter (const edm::ParameterSet &) | |
constructor from parameter set More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
event processing More... | |
Private Attributes | |
unsigned long | n2Sum_ |
unsigned long | n_ |
partial statistics More... | |
unsigned long | nSum_ |
std::string | src_ |
label of source collection More... | |
bool | verbose_ |
verbosity flag More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Counts the number of objects in a collection and prints a summary report at the end of a job.
Template parameters:
Definition at line 26 of file ObjectCounter.h.
|
explicit |
|
privatevirtual |
event processing
Implements edm::EDAnalyzer.
Definition at line 68 of file ObjectCounter.h.
References dtNoiseDBValidation_cfg::cerr, edm::Event::getByLabel(), h, edm::HandleBase::isValid(), and n.
|
virtual |
end-of-job processing
Reimplemented from edm::EDAnalyzer.
Definition at line 52 of file ObjectCounter.h.
References gather_cfg::cout, errorMatrix2Lands_multiChannel::id, n, alignCSCRings::s, and mathSSE::sqrt().
|
private |
Definition at line 41 of file ObjectCounter.h.
|
private |
partial statistics
Definition at line 41 of file ObjectCounter.h.
|
private |
Definition at line 41 of file ObjectCounter.h.
|
private |
label of source collection
Definition at line 37 of file ObjectCounter.h.
|
private |
verbosity flag
Definition at line 39 of file ObjectCounter.h.