33 : inputToken_(consumes<edm::
View<
reco::
Candidate> >(iConfig.getParameter<edm::InputTag>(
"src")))
34 , calculateSignificance_(iConfig.getParameter<bool>(
"calculateSignificance"))
36 , globalThreshold_(iConfig.getParameter<double>(
"globalThreshold"))
46 produces<reco::PFMETCollection>().setBranchAlias(alias);
77 std::auto_ptr<reco::PFMETCollection> pfmetcoll;
80 pfmetcoll->push_back(pfmet);
T getParameter(std::string const &) const
void setSignificanceMatrix(const reco::METCovMatrix &matrix)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
PFMETProducer(const edm::ParameterSet &)
static std::string const input
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
void addPFJets(const edm::View< reco::PFJet > *PFJets)
void setResolutions(metsig::SignAlgoResolutions *resolutions)
bool calculateSignificance_
virtual void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< edm::View< reco::PFJet > > jetToken_
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
MET made from Particle Flow Candidates.
metsig::SignAlgoResolutions * resolutions_
SpecificPFMETData run(const edm::View< reco::Candidate > &pfCands)
DEFINE_FWK_MODULE(CaloMETProducer)
reco::METCovMatrix mkSignifMatrix(edm::Handle< edm::View< reco::Candidate > > &PFCandidates)
T const * product() const
XYZPointD XYZPoint
point in space with cartesian internal representation
std::vector< reco::PFMET > PFMETCollection
collection of PFMET objects
edm::EDGetTokenT< edm::View< reco::Candidate > > inputToken_
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")