#include <HistoAnalyzer.h>
Public Member Functions | |
HistoAnalyzer (const edm::ParameterSet &) | |
constructor from parameter set More... | |
~HistoAnalyzer () | |
destructor More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Protected Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
process an event More... | |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Private Attributes | |
edm::InputTag | src_ |
label of the collection to be read in More... | |
bool | usingWeights_ |
Do we weight events? More... | |
std::vector< ExpressionHisto < typename C::value_type > * > | vhistograms |
vector of the histograms More... | |
edm::InputTag | weights_ |
label of the weight collection (can be null for weights = 1) 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 &) |
Creates histograms defined in config file
Template parameters:
Definition at line 22 of file HistoAnalyzer.h.
HistoAnalyzer< C >::HistoAnalyzer | ( | const edm::ParameterSet & | par | ) |
constructor from parameter set
Definition at line 45 of file HistoAnalyzer.h.
References end, estimatePileup::hist, bookConverter::histograms, ExpressionHisto< T >::initialize(), and HistoAnalyzer< C >::vhistograms.
HistoAnalyzer< C >::~HistoAnalyzer | ( | ) |
destructor
Definition at line 67 of file HistoAnalyzer.h.
References end.
|
protectedvirtual |
process an event
Implements edm::EDAnalyzer.
Definition at line 79 of file HistoAnalyzer.h.
References coll, HTMLExport::elem(), end, edm::Event::getByLabel(), i, and CommonMethods::weight().
|
private |
label of the collection to be read in
Definition at line 35 of file HistoAnalyzer.h.
|
private |
Do we weight events?
Definition at line 37 of file HistoAnalyzer.h.
|
private |
vector of the histograms
Definition at line 41 of file HistoAnalyzer.h.
Referenced by HistoAnalyzer< C >::HistoAnalyzer().
|
private |
label of the weight collection (can be null for weights = 1)
Definition at line 39 of file HistoAnalyzer.h.