CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFMETProducer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: METProducers
4 // Class: PFMETProducer
5 //
13 //
14 //
15 //
16 
17 //____________________________________________________________________________||
18 #ifndef PFMETProducer_h
19 #define PFMETProducer_h
20 
21 //____________________________________________________________________________||
28 
37 
43 
44 #include "TVector.h"
45 
46 #include <string>
47 
48 
49 //____________________________________________________________________________||
50 namespace metsig
51 {
52  class SignAlgoResolutions;
53 }
54 
55 //____________________________________________________________________________||
56 namespace cms
57 {
59  {
60  public:
61  explicit PFMETProducer(const edm::ParameterSet&);
62  virtual ~PFMETProducer() { }
63  virtual void produce(edm::Event&, const edm::EventSetup&) override;
64 
65  private:
66 
68  const edm::View<reco::Candidate>& input) const;
69 
70 
72 
75 
77  double jetThreshold_;
78 
80  std::vector< edm::EDGetTokenT<edm::View<reco::Candidate> > > lepTokens_;
81  };
82 }
83 
84 //____________________________________________________________________________||
85 #endif // PFMETProducer_h
PFMETProducer(const edm::ParameterSet &)
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:40
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
Definition: PFMETProducer.h:79
static std::string const input
Definition: EdmProvDump.cc:44
virtual void produce(edm::Event &, const edm::EventSetup &) override
metsig::METSignificance * metSigAlgo_
Definition: PFMETProducer.h:74
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > lepTokens_
Definition: PFMETProducer.h:80
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
edm::EDGetTokenT< edm::View< reco::Candidate > > inputToken_
Definition: PFMETProducer.h:71
virtual ~PFMETProducer()
Definition: PFMETProducer.h:62
reco::METCovMatrix getMETCovMatrix(const edm::Event &event, const edm::View< reco::Candidate > &input) const