36 , calculateSignificance_(iConfig.getParameter<
bool>(
"calculateSignificance"))
38 , globalThreshold_(iConfig.getParameter<double>(
"globalThreshold"))
44 produces<reco::CaloMETCollection>().setBranchAlias(alias);
76 auto calometcoll = std::make_unique<reco::CaloMETCollection>();
77 calometcoll->push_back(calomet);
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
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
Structure containing data common to all types of MET.
bool calculateSignificance_
CaloMETProducer(const edm::ParameterSet &)
edm::EDGetTokenT< edm::View< reco::Candidate > > inputToken_
T const * product() const
reco::CaloMET addInfo(edm::Handle< edm::View< reco::Candidate > > towers, const CommonMETData &met, bool noHF, double globalThreshold)
void produce(edm::Event &, const edm::EventSetup &) override
~CaloMETProducer() override
metsig::SignAlgoResolutions * resolutions_