31 globalThreshold_(iConfig.getParameter<double>(
"globalThreshold")),
32 onlyFiducial_(iConfig.getParameter<
bool>(
"onlyFiducialParticles")),
33 applyFiducialThresholdForFractions_(iConfig.getParameter<
bool>(
"applyFiducialThresholdForFractions")),
34 usePt_(iConfig.getParameter<
bool>(
"usePt")) {
36 produces<reco::GenMETCollection>().setBranchAlias(alias);
47 auto genmetcoll = std::make_unique<reco::GenMETCollection>();
48 genmetcoll->push_back(gen.
addInfo(
T getParameter(std::string const &) const
edm::EDGetTokenT< edm::View< reco::Candidate > > inputToken_
reco::GenMET addInfo(edm::Handle< edm::View< reco::Candidate > > particles, CommonMETData *met, double globalThreshold=0, bool onlyFiducial=false, bool applyFiducialThresholdForFractions=false, bool usePt=false)
GenMETProducer(const edm::ParameterSet &)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
static std::string const input
bool applyFiducialThresholdForFractions_
#define DEFINE_FWK_MODULE(type)
Structure containing data common to all types of MET.
def gen(fragment, howMuch)
Production test section ####.
Namespace of DDCMS conversion namespace.
void produce(edm::Event &, const edm::EventSetup &) override