#include <RivetHarvesting.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | endJob () override |
void | endRun (const edm::Run &, const edm::EventSetup &) override |
RivetHarvesting (const edm::ParameterSet &) | |
~RivetHarvesting () override | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
std::vector< YODA::Point2D > | getPoint2DValsErrs (std::string filename, std::string path, std::string name) |
Private Attributes | |
Rivet::AnalysisHandler | _analysisHandler |
std::vector< std::string > | _analysisNames |
std::vector< double > | _crossSections |
std::vector< std::string > | _fileNames |
edm::InputTag | _hepmcCollection |
bool | _isFirstEvent |
std::vector< double > | _lumis |
std::string | _outFileName |
std::vector< double > | _sumOfWeights |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 19 of file RivetHarvesting.h.
RivetHarvesting::RivetHarvesting | ( | const edm::ParameterSet & | pset | ) |
Definition at line 26 of file RivetHarvesting.cc.
References _analysisHandler, _analysisNames, _crossSections, _fileNames, _lumis, _sumOfWeights, Exception, edm::ParameterSet::getParameter(), and mps_fire::i.
|
override |
Definition at line 71 of file RivetHarvesting.cc.
|
override |
Definition at line 89 of file RivetHarvesting.cc.
References _analysisHandler, _hepmcCollection, _isFirstEvent, edm::Event::getByLabel(), and edm::HepMCProduct::GetEvent().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 74 of file RivetHarvesting.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 85 of file RivetHarvesting.cc.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 177 of file RivetHarvesting.cc.
References _analysisHandler, and _outFileName.
|
override |
Definition at line 173 of file RivetHarvesting.cc.
|
private |
Check path to make sure that this is a reference histogram.
Definition at line 182 of file RivetHarvesting.cc.
References MessageLogger_cfi::cerr, DEFINE_FWK_MODULE, common_cff::doc, MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, Exception, corrVsCorr::filename, hiPixelPairStep_cff::points, EnergyCorrector::pt, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 41 of file RivetHarvesting.h.
Referenced by analyze(), endJob(), and RivetHarvesting().
|
private |
Definition at line 49 of file RivetHarvesting.h.
Referenced by RivetHarvesting().
|
private |
Definition at line 44 of file RivetHarvesting.h.
Referenced by RivetHarvesting().
|
private |
Definition at line 42 of file RivetHarvesting.h.
Referenced by RivetHarvesting().
|
private |
Definition at line 48 of file RivetHarvesting.h.
Referenced by analyze().
|
private |
Definition at line 47 of file RivetHarvesting.h.
Referenced by analyze().
|
private |
Definition at line 45 of file RivetHarvesting.h.
Referenced by RivetHarvesting().
|
private |
Definition at line 46 of file RivetHarvesting.h.
Referenced by endJob().
|
private |
Definition at line 43 of file RivetHarvesting.h.
Referenced by RivetHarvesting().