#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 | |
std::vector< GenFilterInfo > | eventEffStat_ |
GenFilterInfo | filterOnlyEffStat_ |
edm::EDGetTokenT< GenFilterInfo > | genFilterInfoToken_ |
edm::EDGetTokenT < GenLumiInfoProduct > | genLumiInfoToken_ |
bool | hasHepMCFilterInfo_ |
int | hepidwtup_ |
GenFilterInfo | hepMCFilterEffStat_ |
edm::EDGetTokenT< GenFilterInfo > | hepMCFilterInfoToken_ |
std::vector< GenFilterInfo > | jetMatchEffStat_ |
std::vector< GenLumiInfoProduct > | products_ |
unsigned int | theProcesses_size |
GenLumiInfoProduct::XSec | xsec_ |
std::vector < GenLumiInfoProduct::XSec > | xsecAfterMatching_ |
std::vector < GenLumiInfoProduct::XSec > | xsecBeforeMatching_ |
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 eventEffStat_, genFilterInfoToken_, genLumiInfoToken_, hepMCFilterInfoToken_, jetMatchEffStat_, products_, xsecAfterMatching_, and xsecBeforeMatching_.
GenXSecAnalyzer::~GenXSecAnalyzer | ( | ) |
Definition at line 24 of file GenXSecAnalyzer.cc.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 29 of file GenXSecAnalyzer.cc.
References eventEffStat_, jetMatchEffStat_, products_, xsecAfterMatching_, and xsecBeforeMatching_.
|
overrideprivatevirtual |
Definition at line 44 of file GenXSecAnalyzer.cc.
|
private |
Definition at line 189 of file GenXSecAnalyzer.cc.
References 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(), theProcesses_size, GenLumiInfoProduct::ProcessInfo::tried(), GenLumiInfoProduct::XSec::value(), xsecAfterMatching_, and xsecBeforeMatching_.
Referenced by endJob().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 364 of file GenXSecAnalyzer.cc.
References compute(), relativeConstraints::error, eventEffStat_, GenFilterInfo::filterEfficiency(), GenFilterInfo::filterEfficiencyError(), filterOnlyEffStat_, hasHepMCFilterInfo_, hepidwtup_, hepMCFilterEffStat_, i, jetMatchEffStat_, prof2calltree::last, GenFilterInfo::numPassNegativeEvents(), GenFilterInfo::numPassPositiveEvents(), GenFilterInfo::numTotalNegativeEvents(), GenFilterInfo::numTotalPositiveEvents(), funct::pow(), products_, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, GenFilterInfo::sumPassWeights(), GenFilterInfo::sumWeights(), theProcesses_size, indexGen::title, relativeConstraints::value, xsec_, xsecAfterMatching_, and xsecBeforeMatching_.
|
overrideprivatevirtual |
Definition at line 48 of file GenXSecAnalyzer.cc.
References alignCSCRings::e, eventEffStat_, filterOnlyEffStat_, genFilterInfoToken_, genLumiInfoToken_, edm::LuminosityBlock::getByToken(), hasHepMCFilterInfo_, hepidwtup_, hepMCFilterEffStat_, hepMCFilterInfoToken_, i, edm::HandleBase::isValid(), jetMatchEffStat_, GenFilterInfo::mergeProduct(), products_, GenLumiInfoProduct::FinalStat::sum(), GenLumiInfoProduct::FinalStat::sum2(), theProcesses_size, 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 67 of file GenXSecAnalyzer.h.
Referenced by beginJob(), endJob(), endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 61 of file GenXSecAnalyzer.h.
Referenced by endJob(), and endLuminosityBlock().
|
private |
Definition at line 48 of file GenXSecAnalyzer.h.
Referenced by endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 50 of file GenXSecAnalyzer.h.
Referenced by endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 56 of file GenXSecAnalyzer.h.
Referenced by endJob(), and endLuminosityBlock().
|
private |
Definition at line 54 of file GenXSecAnalyzer.h.
Referenced by compute(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 64 of file GenXSecAnalyzer.h.
Referenced by endJob(), and endLuminosityBlock().
|
private |
Definition at line 49 of file GenXSecAnalyzer.h.
Referenced by endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 69 of file GenXSecAnalyzer.h.
Referenced by beginJob(), endJob(), endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 75 of file GenXSecAnalyzer.h.
Referenced by beginJob(), compute(), endJob(), endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 55 of file GenXSecAnalyzer.h.
Referenced by compute(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 59 of file GenXSecAnalyzer.h.
Referenced by endJob(), final_xsec_error(), and final_xsec_value().
|
private |
Definition at line 73 of file GenXSecAnalyzer.h.
Referenced by beginJob(), compute(), endJob(), and GenXSecAnalyzer().
|
private |
Definition at line 71 of file GenXSecAnalyzer.h.
Referenced by beginJob(), compute(), endJob(), and GenXSecAnalyzer().