Public Member Functions | |
PDFWeightsTest (const ParameterSet &cfg) | |
Public Member Functions inherited from edm::one::EDAnalyzer<> | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
~EDAnalyzerBase () 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 |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | analyze (const Event &evt, const EventSetup &es) override |
Private Attributes | |
unsigned int | nPdfEigWeights_ |
unsigned int | nPdfWeights_ |
std::vector< float > | pdfeigweights_ |
unsigned int | pdfWeightOffset_ |
std::vector< float > | pdfweights_ |
PDFWeightsHelper | pdfweightshelper_ |
EDGetTokenT< LHEEventProduct > | srcToken_ |
EDGetTokenT< LHEEventProduct > | srcTokenAlt_ |
EDGetTokenT< GenEventInfoProduct > | srcTokenGen_ |
TTree * | tree_ |
float | weight_ |
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) |
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 22 of file PDFWeightsTest.cc.
|
inlineexplicit |
Definition at line 39 of file PDFWeightsTest.cc.
References edm::ParameterSet::getParameter(), PDFWeightsHelper::Init(), and TFileService::make().
|
inlineoverrideprivate |
Definition at line 63 of file PDFWeightsTest.cc.
References DEFINE_FWK_MODULE, PDFWeightsHelper::DoMC2Hessian(), edm::Event::getByToken(), edm::HandleBase::isValid(), nano_cff::lheInfo, GenEventInfoProduct::weight(), and LHEEventProduct::weights().
|
private |
Definition at line 31 of file PDFWeightsTest.cc.
|
private |
Definition at line 30 of file PDFWeightsTest.cc.
|
private |
Definition at line 35 of file PDFWeightsTest.cc.
|
private |
Definition at line 29 of file PDFWeightsTest.cc.
|
private |
Definition at line 34 of file PDFWeightsTest.cc.
|
private |
Definition at line 24 of file PDFWeightsTest.cc.
|
private |
Definition at line 25 of file PDFWeightsTest.cc.
|
private |
Definition at line 26 of file PDFWeightsTest.cc.
|
private |
Definition at line 27 of file PDFWeightsTest.cc.
|
private |
Definition at line 33 of file PDFWeightsTest.cc.
|
private |
Definition at line 36 of file PDFWeightsTest.cc.