32 , globalThreshold_(iConfig.getParameter<double>(
"globalThreshold"))
33 , onlyFiducial_(iConfig.getParameter<
bool>(
"onlyFiducialParticles"))
34 , applyFiducialThresholdForFractions_(iConfig.getParameter<
bool>(
"applyFiducialThresholdForFractions"))
35 , usePt_(iConfig.getParameter<
bool>(
"usePt"))
38 produces<reco::GenMETCollection>().setBranchAlias(alias);
51 auto genmetcoll = std::make_unique<reco::GenMETCollection>();
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
def setup(process, global_tag, zero_tesla=False)
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