#include <HistoAnalyzer.h>
Protected Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
process an event More... | |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Private Attributes | |
edm::EDGetTokenT< C > | srcToken_ |
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::EDGetTokenT< double > | weightsToken_ |
label of the weight collection (can be null for weights = 1) More... | |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 mps_fire::end, compareTotals::fs, compareTotals::hist, TFileService::kSharedResource, and HistoAnalyzer< C >::vhistograms.
|
override |
destructor
Definition at line 65 of file HistoAnalyzer.h.
References mps_fire::end.
|
overrideprotectedvirtual |
process an event
Implements edm::one::EDAnalyzerBase.
Definition at line 76 of file HistoAnalyzer.h.
References mps_fire::end, mps_fire::i, and iEvent.
|
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.