CMS 3D CMS Logo

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 
21 
23 
27 
30 
33 
34 namespace pat {
35 
37  public:
38  explicit PATMETProducer(const edm::ParameterSet& iConfig);
39  ~PATMETProducer() override;
40 
41  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
42 
43  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
44 
45  private:
46  // configurables
49  bool addGenMET_;
55  // tools
57 
60 
63 
64  //MET Significance
69  std::vector<edm::EDGetTokenT<edm::View<reco::Candidate> > > lepTokens_;
74 
76  const edm::EventSetup& iSetup,
77  double& sumPtUnclustered) const;
78  };
79 
80 } // namespace pat
81 
82 #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_
const reco::METCovMatrix getMETCovMatrix(const edm::Event &event, const edm::EventSetup &iSetup, double &sumPtUnclustered) const
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:39
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > lepTokens_
std::string jetResPtType_
std::string jetSFType_
edm::InputTag metSrc_
edm::EDGetTokenT< edm::View< reco::Candidate > > pfCandToken_
Definition: HeavyIon.h:7
edm::InputTag muonSrc_
GreaterByEt< MET > eTComparator_
int iEvent
Definition: GenABIO.cc:224
edm::EDGetTokenT< double > rhoToken_
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
pat::helper::EfficiencyLoader efficiencyLoader_
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
pat::helper::KinResolutionsLoader resolutionLoader_
edm::EDGetTokenT< edm::View< reco::GenMET > > genMETToken_
std::string jetResPhiType_
PATMETProducer(const edm::ParameterSet &iConfig)
Definition: event.py:1
~PATMETProducer() override