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 std::auto_ptr<reco::GenMETCollection> genmetcoll;
54 event.put(genmetcoll);
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)
std::vector< reco::GenMET > GenMETCollection
collection of GenMET objects
#define DEFINE_FWK_MODULE(type)
GenMETProducer(const edm::ParameterSet &)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
static std::string const input
bool applyFiducialThresholdForFractions_
Structure containing data common to all types of MET.
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual void produce(edm::Event &, const edm::EventSetup &) override
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")