#include <GenXSecAnalyzer.h>
Public Member Functions | |
const double | final_xsec_error () const |
const double | final_xsec_value () const |
GenXSecAnalyzer (const edm::ParameterSet &) | |
~GenXSecAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
void | compute () |
virtual void | endJob () |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
Private Attributes | |
std::vector< GenFilterInfo > | eventEffStat_ |
GenFilterInfo | filterOnlyEffStat_ |
bool | hasHepMCFilterInfo_ |
int | hepidwtup_ |
GenFilterInfo | hepMCFilterEffStat_ |
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::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 &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 30 of file GenXSecAnalyzer.h.
|
explicit |
Definition at line 6 of file GenXSecAnalyzer.cc.
References eventEffStat_, jetMatchEffStat_, products_, xsecAfterMatching_, and xsecBeforeMatching_.
GenXSecAnalyzer::~GenXSecAnalyzer | ( | ) |
Definition at line 21 of file GenXSecAnalyzer.cc.
|
privatevirtual |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 26 of file GenXSecAnalyzer.cc.
References eventEffStat_, jetMatchEffStat_, products_, xsecAfterMatching_, and xsecBeforeMatching_.
|
private |
Definition at line 179 of file GenXSecAnalyzer.cc.
References RecoTauValidation_cfi::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(), 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().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 354 of file GenXSecAnalyzer.cc.
References compute(), 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(), GenFilterInfo::sumPassWeights(), GenFilterInfo::sumWeights(), theProcesses_size, indexGen::title, relativeConstraints::value, xsec_, xsecAfterMatching_, and xsecBeforeMatching_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 42 of file GenXSecAnalyzer.cc.
References alignCSCRings::e, eventEffStat_, filterOnlyEffStat_, edm::LuminosityBlock::getByLabel(), hasHepMCFilterInfo_, hepidwtup_, hepMCFilterEffStat_, i, 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 63 of file GenXSecAnalyzer.h.
Referenced by beginJob(), endJob(), endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 57 of file GenXSecAnalyzer.h.
Referenced by endJob(), and endLuminosityBlock().
|
private |
Definition at line 52 of file GenXSecAnalyzer.h.
Referenced by endJob(), and endLuminosityBlock().
|
private |
Definition at line 50 of file GenXSecAnalyzer.h.
Referenced by compute(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 60 of file GenXSecAnalyzer.h.
Referenced by endJob(), and endLuminosityBlock().
|
private |
Definition at line 65 of file GenXSecAnalyzer.h.
Referenced by beginJob(), endJob(), endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 71 of file GenXSecAnalyzer.h.
Referenced by beginJob(), compute(), endJob(), endLuminosityBlock(), and GenXSecAnalyzer().
|
private |
Definition at line 51 of file GenXSecAnalyzer.h.
Referenced by compute(), endJob(), and endLuminosityBlock().
|
private |
Definition at line 55 of file GenXSecAnalyzer.h.
Referenced by endJob(), final_xsec_error(), and final_xsec_value().
|
private |
Definition at line 69 of file GenXSecAnalyzer.h.
Referenced by beginJob(), compute(), endJob(), and GenXSecAnalyzer().
|
private |
Definition at line 67 of file GenXSecAnalyzer.h.
Referenced by beginJob(), compute(), endJob(), and GenXSecAnalyzer().