CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PATMETProducer.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef PhysicsTools_PatAlgos_PATMETProducer_h
5 #define PhysicsTools_PatAlgos_PATMETProducer_h
6 
22 
24 
28 
29 
32 
35 
36 namespace pat {
37 
39 
40  public:
41 
42  explicit PATMETProducer(const edm::ParameterSet & iConfig);
44 
45  virtual void produce(edm::Event & iEvent, const edm::EventSetup& iSetup) override;
46 
47  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
48 
49  private:
50 
51  // configurables
54  bool addGenMET_;
60  // tools
62 
65 
68 
69  //MET Significance
74  std::vector< edm::EDGetTokenT<edm::View<reco::Candidate> > > lepTokens_;
75 
77 
78  };
79 
80 
81 }
82 
83 #endif
Assists in assimilating all pat::UserData into pat objects.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
metsig::METSignificance * metSigAlgo_
Produces the pat::MET.
pat::PATUserDataHelper< pat::MET > userDataHelper_
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:40
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > lepTokens_
edm::InputTag metSrc_
edm::EDGetTokenT< edm::View< reco::Candidate > > pfCandToken_
edm::InputTag muonSrc_
GreaterByEt< MET > eTComparator_
int iEvent
Definition: GenABIO.cc:230
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
pat::helper::EfficiencyLoader efficiencyLoader_
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 &iEvent, const edm::EventSetup &iSetup) override
pat::helper::KinResolutionsLoader resolutionLoader_
edm::EDGetTokenT< edm::View< reco::GenMET > > genMETToken_
const reco::METCovMatrix getMETCovMatrix(const edm::Event &event) const
PATMETProducer(const edm::ParameterSet &iConfig)