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_;
75 
77  const edm::EventSetup& iSetup,
78  const reco::MET& met,
79  double& sumPtUnclustered) const;
80  };
81 
82 } // namespace pat
83 
84 #endif
met_cff.sumPtUnclustered
sumPtUnclustered
Definition: met_cff.py:19
pat::PATMETProducer::jetSFType_
std::string jetSFType_
Definition: PATMETProducer.h:73
pat::PATUserDataHelper< pat::MET >
pat::PATMETProducer::eTComparator_
GreaterByEt< MET > eTComparator_
Definition: PATMETProducer.h:56
pat::PATMETProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: PATMETProducer.cc:67
pat::helper::EfficiencyLoader
Definition: EfficiencyLoader.h:16
pat::PATMETProducer::genMETToken_
edm::EDGetTokenT< edm::View< reco::GenMET > > genMETToken_
Definition: PATMETProducer.h:50
pat::PATMETProducer
Produces the pat::MET.
Definition: PATMETProducer.h:36
pat::PATMETProducer::muonSrc_
edm::InputTag muonSrc_
Definition: PATMETProducer.h:54
edm::EDGetTokenT
Definition: EDGetToken.h:33
EDProducer.h
EfficiencyLoader.h
pat::PATMETProducer::lepTokens_
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > lepTokens_
Definition: PATMETProducer.h:69
BTaggingMonitor_cfi.met
met
Definition: BTaggingMonitor_cfi.py:84
GreaterByEt
Definition: EtComparator.h:23
reco::MET
Definition: MET.h:41
pat::PATMETProducer::metSigAlgo_
metsig::METSignificance * metSigAlgo_
Definition: PATMETProducer.h:66
pat::helper::KinResolutionsLoader
Definition: KinResolutionsLoader.h:18
pat::PATMETProducer::userDataHelper_
pat::PATUserDataHelper< pat::MET > userDataHelper_
Definition: PATMETProducer.h:62
KinResolutionsLoader.h
pat::PATMETProducer::addMuonCorr_
bool addMuonCorr_
Definition: PATMETProducer.h:53
metsig::METSignificance
Definition: METSignificance.h:35
pat::PATMETProducer::calculateMETSignificance_
bool calculateMETSignificance_
Definition: PATMETProducer.h:65
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pat::PATMETProducer::~PATMETProducer
~PATMETProducer() override
Definition: PATMETProducer.cc:65
EtComparator.h
pat::PATMETProducer::addResolutions_
bool addResolutions_
Definition: PATMETProducer.h:51
edm::ParameterSet
Definition: ParameterSet.h:47
METSignificance.h
Event.h
pat::PATMETProducer::weightsToken_
edm::EDGetTokenT< edm::ValueMap< float > > weightsToken_
Definition: PATMETProducer.h:74
UserData.h
pat::PATMETProducer::addEfficiencies_
bool addEfficiencies_
Definition: PATMETProducer.h:58
iEvent
int iEvent
Definition: GenABIO.cc:224
pat::PATMETProducer::pfCandToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > pfCandToken_
Definition: PATMETProducer.h:68
pat::PATMETProducer::PATMETProducer
PATMETProducer(const edm::ParameterSet &iConfig)
Definition: PATMETProducer.cc:16
edm::stream::EDProducer
Definition: EDProducer.h:38
pat::PATMETProducer::useUserData_
bool useUserData_
Definition: PATMETProducer.h:61
edm::EventSetup
Definition: EventSetup.h:57
pat
Definition: HeavyIon.h:7
MET.h
pat::PATMETProducer::jetResPtType_
std::string jetResPtType_
Definition: PATMETProducer.h:71
pat::PATMETProducer::getMETCovMatrix
const reco::METCovMatrix getMETCovMatrix(const edm::Event &event, const edm::EventSetup &iSetup, const reco::MET &met, double &sumPtUnclustered) const
Definition: PATMETProducer.cc:163
pat::PATMETProducer::metSrc_
edm::InputTag metSrc_
Definition: PATMETProducer.h:47
pat::PATMETProducer::jetToken_
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
Definition: PATMETProducer.h:67
pat::PATMETProducer::addGenMET_
bool addGenMET_
Definition: PATMETProducer.h:49
pat::PATMETProducer::resolutionLoader_
pat::helper::KinResolutionsLoader resolutionLoader_
Definition: PATMETProducer.h:52
pat::PATMETProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: PATMETProducer.cc:134
PATUserDataHelper.h
pat::PATMETProducer::efficiencyLoader_
pat::helper::EfficiencyLoader efficiencyLoader_
Definition: PATMETProducer.h:59
pat::PATMETProducer::rhoToken_
edm::EDGetTokenT< double > rhoToken_
Definition: PATMETProducer.h:70
Candidate.h
ParameterSet.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
pat::PATMETProducer::metToken_
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
Definition: PATMETProducer.h:48
pat::PATMETProducer::jetResPhiType_
std::string jetResPhiType_
Definition: PATMETProducer.h:72
edm::InputTag
Definition: InputTag.h:15
reco::METCovMatrix
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:39