#include <GenXSecAnalyzer.h>
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | compute () |
virtual void | endJob () override |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
Private Attributes | |
edm::EDGetTokenT< GenFilterInfo > | genFilterInfoToken_ |
edm::EDGetTokenT < GenLumiInfoProduct > | genLumiInfoToken_ |
int | hepidwtup_ |
GenFilterInfo | jetMatchEffStat_ |
std::vector< GenLumiInfoProduct > | products_ |
GenFilterInfo | totalEffStat_ |
GenLumiInfoProduct::XSec | xsec_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 30 of file GenXSecAnalyzer.h.
|
explicit |
Definition at line 6 of file GenXSecAnalyzer.cc.
References genFilterInfoToken_, genLumiInfoToken_, and products_.
GenXSecAnalyzer::~GenXSecAnalyzer | ( | ) |
Definition at line 18 of file GenXSecAnalyzer.cc.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 23 of file GenXSecAnalyzer.cc.
References products_.
|
overrideprivatevirtual |
Definition at line 34 of file GenXSecAnalyzer.cc.
|
private |
Definition at line 109 of file GenXSecAnalyzer.cc.
References GenLumiInfoProduct::ProcessInfo::accepted(), GenLumiInfoProduct::ProcessInfo::acceptedBr(), cuy::denominator, alignCSCRings::e, GenLumiInfoProduct::XSec::error(), hepidwtup_, i, GenLumiInfoProduct::ProcessInfo::killed(), GenLumiInfoProduct::ProcessInfo::lheXSec(), GenLumiInfoProduct::FinalStat::n(), GenLumiInfoProduct::ProcessInfo::nPassNeg(), GenLumiInfoProduct::ProcessInfo::nPassPos(), groupFilesInBlocks::ntotal, GenLumiInfoProduct::ProcessInfo::nTotalNeg(), GenLumiInfoProduct::ProcessInfo::nTotalPos(), cuy::numerator, funct::pow(), proc, products_, GenLumiInfoProduct::ProcessInfo::selected(), mathSSE::sqrt(), GenLumiInfoProduct::FinalStat::sum(), GenLumiInfoProduct::FinalStat::sum2(), GenLumiInfoProduct::ProcessInfo::tried(), GenLumiInfoProduct::XSec::value(), and xsec_.
Referenced by endJob().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 247 of file GenXSecAnalyzer.cc.
References compute(), GenLumiInfoProduct::XSec::error(), GenFilterInfo::filterEfficiency(), GenFilterInfo::filterEfficiencyError(), hepidwtup_, jetMatchEffStat_, products_, mathSSE::sqrt(), GenFilterInfo::sumPassWeights(), GenFilterInfo::sumWeights(), totalEffStat_, GenLumiInfoProduct::XSec::value(), and xsec_.
|
overrideprivatevirtual |
Definition at line 38 of file GenXSecAnalyzer.cc.
References alignCSCRings::e, genFilterInfoToken_, genLumiInfoToken_, edm::LuminosityBlock::getByToken(), hepidwtup_, i, edm::HandleBase::isValid(), jetMatchEffStat_, GenFilterInfo::mergeProduct(), products_, GenLumiInfoProduct::FinalStat::sum(), GenLumiInfoProduct::FinalStat::sum2(), totalEffStat_, and relativeConstraints::value.
|
inline |
Definition at line 37 of file GenXSecAnalyzer.h.
References GenLumiInfoProduct::XSec::error(), and xsec_.
|
inline |
Definition at line 36 of file GenXSecAnalyzer.h.
References GenLumiInfoProduct::XSec::value(), and xsec_.
|
private |
Definition at line 48 of file GenXSecAnalyzer.h.
Referenced by endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 49 of file GenXSecAnalyzer.h.
Referenced by endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 51 of file GenXSecAnalyzer.h.
Referenced by compute(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 53 of file GenXSecAnalyzer.h.
Referenced by endJob(), and endLuminosityBlock().
|
private |
Definition at line 56 of file GenXSecAnalyzer.h.
Referenced by beginJob(), compute(), endJob(), endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 54 of file GenXSecAnalyzer.h.
Referenced by endJob(), and endLuminosityBlock().
|
private |
Definition at line 52 of file GenXSecAnalyzer.h.
Referenced by compute(), endJob(), final_xsec_error(), and final_xsec_value().