CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
pat::PATMETProducer Class Reference

Produces the pat::MET. More...

Inheritance diagram for pat::PATMETProducer:
edm::stream::EDProducer<>

Public Member Functions

 PATMETProducer (const edm::ParameterSet &iConfig)
 
void produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override
 
 ~PATMETProducer () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Member Functions

const reco::METCovMatrix getMETCovMatrix (const edm::Event &event, const edm::EventSetup &iSetup, const reco::MET &met, double &sumPtUnclustered) const
 

Private Attributes

bool addEfficiencies_
 
bool addGenMET_
 
bool addMuonCorr_
 
bool addResolutions_
 
bool calculateMETSignificance_
 
pat::helper::EfficiencyLoader efficiencyLoader_
 
GreaterByEt< METeTComparator_
 
edm::EDGetTokenT< edm::View< reco::GenMET > > genMETToken_
 
edm::ESGetToken< JME::JetResolutionObject, JetResolutionRcdjetResPhiToken_
 
edm::ESGetToken< JME::JetResolutionObject, JetResolutionRcdjetResPtToken_
 
edm::ESGetToken< JME::JetResolutionObject, JetResolutionScaleFactorRcdjetSFToken_
 
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
 
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > lepTokens_
 
metsig::METSignificancemetSigAlgo_
 
edm::InputTag metSrc_
 
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
 
edm::InputTag muonSrc_
 
edm::EDGetTokenT< edm::View< reco::Candidate > > pfCandToken_
 
pat::helper::KinResolutionsLoader resolutionLoader_
 
edm::EDGetTokenT< double > rhoToken_
 
pat::PATUserDataHelper< pat::METuserDataHelper_
 
bool useUserData_
 
edm::EDGetTokenT< edm::ValueMap< float > > weightsToken_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 

Detailed Description

Produces the pat::MET.

The PATMETProducer produces the analysis-level pat::MET starting from a collection of objects of METType.

Author
Steven Lowette
Version
Id
PATMETProducer.h,v 1.10 2009/06/25 23:49:35 gpetrucc Exp

Definition at line 35 of file PATMETProducer.cc.

Constructor & Destructor Documentation

◆ PATMETProducer()

PATMETProducer::PATMETProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 85 of file PATMETProducer.cc.

References addEfficiencies_, addGenMET_, addResolutions_, calculateMETSignificance_, efficiencyLoader_, deDxTools::esConsumes(), genMETToken_, edm::ParameterSet::getParameter(), jetResPhiToken_, jetResPtToken_, jetSFToken_, jetToken_, lepTokens_, metSigAlgo_, METSignificance_cfi::METSignificance, metSrc_, metToken_, pfCandToken_, resolutionLoader_, rhoToken_, HLT_2023v12_cff::srcWeights, AlCaHLTBitMon_QueryRunRegistry::string, userDataHelper_, useUserData_, and weightsToken_.

85  : useUserData_(iConfig.exists("userData")) {
86  // initialize the configurables
87  metSrc_ = iConfig.getParameter<edm::InputTag>("metSource");
88  metToken_ = consumes<edm::View<reco::MET>>(metSrc_);
89  addGenMET_ = iConfig.getParameter<bool>("addGenMET");
90  genMETToken_ = mayConsume<edm::View<reco::GenMET>>(iConfig.getParameter<edm::InputTag>("genMETSource"));
91  addResolutions_ = iConfig.getParameter<bool>("addResolutions");
92 
93  // Efficiency configurables
94  addEfficiencies_ = iConfig.getParameter<bool>("addEfficiencies");
95  if (addEfficiencies_) {
97  pat::helper::EfficiencyLoader(iConfig.getParameter<edm::ParameterSet>("efficiencies"), consumesCollector());
98  }
99 
100  // Resolution configurables
101  addResolutions_ = iConfig.getParameter<bool>("addResolutions");
102  if (addResolutions_) {
104  pat::helper::KinResolutionsLoader(iConfig.getParameter<edm::ParameterSet>("resolutions"), consumesCollector());
105  }
106 
107  // Check to see if the user wants to add user data
108  if (useUserData_) {
109  userDataHelper_ = PATUserDataHelper<MET>(iConfig.getParameter<edm::ParameterSet>("userData"), consumesCollector());
110  }
111 
112  // MET Significance
113  calculateMETSignificance_ = iConfig.getParameter<bool>("computeMETSignificance");
115  edm::InputTag srcWeights = iConfig.getParameter<edm::InputTag>("srcWeights");
116  if (!srcWeights.label().empty())
118  metSigAlgo_ = new metsig::METSignificance(iConfig);
119  rhoToken_ = consumes<double>(iConfig.getParameter<edm::InputTag>("srcRho"));
120  jetToken_ = consumes<edm::View<reco::Jet>>(iConfig.getParameter<edm::InputTag>("srcJets"));
121  pfCandToken_ = consumes<edm::View<reco::Candidate>>(iConfig.getParameter<edm::InputTag>("srcPFCands"));
122  std::vector<edm::InputTag> srcLeptonsTags = iConfig.getParameter<std::vector<edm::InputTag>>("srcLeptons");
123  for (std::vector<edm::InputTag>::const_iterator it = srcLeptonsTags.begin(); it != srcLeptonsTags.end(); it++) {
124  lepTokens_.push_back(consumes<edm::View<reco::Candidate>>(*it));
125  }
126  auto jetSFType = iConfig.getParameter<std::string>("srcJetSF");
127  auto jetResPtType = iConfig.getParameter<std::string>("srcJetResPt");
128  auto jetResPhiType = iConfig.getParameter<std::string>("srcJetResPhi");
129  jetResPtToken_ = esConsumes(edm::ESInputTag("", jetResPtType));
130  jetResPhiToken_ = esConsumes(edm::ESInputTag("", jetResPhiType));
131  jetSFToken_ = esConsumes(edm::ESInputTag("", jetSFType));
132  }
133 
134  // produces vector of mets
135  produces<std::vector<MET>>();
136 }
Assists in assimilating all pat::UserData into pat objects.
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
metsig::METSignificance * metSigAlgo_
pat::PATUserDataHelper< pat::MET > userDataHelper_
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > lepTokens_
bool exists(std::string const &parameterName) const
checks if a parameter exists
edm::ESGetToken< JME::JetResolutionObject, JetResolutionRcd > jetResPtToken_
edm::ESGetToken< JME::JetResolutionObject, JetResolutionRcd > jetResPhiToken_
edm::InputTag metSrc_
edm::EDGetTokenT< edm::View< reco::Candidate > > pfCandToken_
edm::EDGetTokenT< double > rhoToken_
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
edm::EDGetTokenT< edm::ValueMap< float > > weightsToken_
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
pat::helper::EfficiencyLoader efficiencyLoader_
edm::ESGetToken< JME::JetResolutionObject, JetResolutionScaleFactorRcd > jetSFToken_
pat::helper::KinResolutionsLoader resolutionLoader_
edm::EDGetTokenT< edm::View< reco::GenMET > > genMETToken_
METSignificance
____________________________________________________________________________||

◆ ~PATMETProducer()

PATMETProducer::~PATMETProducer ( )
override

Definition at line 138 of file PATMETProducer.cc.

138 {}

Member Function Documentation

◆ fillDescriptions()

void PATMETProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 207 of file PATMETProducer.cc.

References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), pat::helper::KinResolutionsLoader::fillDescription(), pat::PATUserDataHelper< ObjectType >::fillDescription(), ProducerED_cfi::InputTag, edm::ParameterSetDescription::setAllowAnything(), and edm::ParameterSetDescription::setComment().

207  {
209  iDesc.setComment("PAT MET producer module");
210 
211  // input source
212  iDesc.add<edm::InputTag>("metSource", edm::InputTag("no default"))->setComment("input collection");
213 
214  // MC configurations
215  iDesc.add<bool>("addGenMET", false);
216  iDesc.add<edm::InputTag>("genMETSource", edm::InputTag("genMetCalo"));
217 
219 
220  // Efficiency configurables
221  edm::ParameterSetDescription efficienciesPSet;
222  efficienciesPSet.setAllowAnything(); // TODO: the pat helper needs to implement a description.
223  iDesc.add("efficiencies", efficienciesPSet);
224  iDesc.add<bool>("addEfficiencies", false);
225 
226  // Check to see if the user wants to add user data
227  edm::ParameterSetDescription userDataPSet;
229  iDesc.addOptional("userData", userDataPSet);
230 
231  // muon correction
232  iDesc.add<bool>("addMuonCorrections", false);
233  iDesc.add<edm::InputTag>("muonSource", edm::InputTag("muons"));
234 }
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
void setAllowAnything()
allow any parameter label/value pairs
static void fillDescription(edm::ParameterSetDescription &iDesc)
void setComment(std::string const &value)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescription(edm::ParameterSetDescription &iDesc)
Method for documentation and validation of PSet.

◆ getMETCovMatrix()

const reco::METCovMatrix PATMETProducer::getMETCovMatrix ( const edm::Event event,
const edm::EventSetup iSetup,
const reco::MET met,
double &  sumPtUnclustered 
) const
private

Definition at line 236 of file PATMETProducer.cc.

References metsig::METSignificance::getCovariance(), edm::EventSetup::getData(), HLT_2023v12_cff::inputJets, edm::EDGetTokenT< T >::isUninitialized(), jetResPhiToken_, jetResPtToken_, jetSFToken_, jetToken_, lepTokens_, HLT_2023v12_cff::leptons, BTaggingMonitor_cfi::met, metSigAlgo_, pfCandToken_, rhoToken_, met_cff::sumPtUnclustered, trackerHitRTTI::vector, hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights, and weightsToken_.

Referenced by produce().

239  {
240  std::vector<edm::Handle<reco::CandidateView>> leptons;
241  for (std::vector<edm::EDGetTokenT<edm::View<reco::Candidate>>>::const_iterator srcLeptons_i = lepTokens_.begin();
242  srcLeptons_i != lepTokens_.end();
243  ++srcLeptons_i) {
245  event.getByToken(*srcLeptons_i, leptons_i);
246  leptons.push_back(leptons_i);
247  }
248  // jets
250  event.getByToken(jetToken_, inputJets);
251 
252  //candidates
254  event.getByToken(pfCandToken_, inputCands);
255 
257  event.getByToken(rhoToken_, rho);
258 
261  event.getByToken(weightsToken_, weights);
262 
263  JME::JetResolution resPtObj = iSetup.getData(jetResPtToken_);
264  JME::JetResolution resPhiObj = iSetup.getData(jetResPhiToken_);
266 
267  //Compute the covariance matrix and fill it
268  const edm::ValueMap<float>* weightsPtr = nullptr;
269  if (met.isWeighted()) {
271  throw cms::Exception("InvalidInput") << "MET is weighted (e.g. PUPPI), but no weights given in PATMETProducer\n";
272  weightsPtr = &*weights;
273  }
275  leptons,
276  inputCands,
277  *rho,
278  resPtObj,
279  resPhiObj,
280  resSFObj,
281  event.isRealData(),
283  weightsPtr);
284 
285  return cov;
286 }
reco::METCovMatrix getCovariance(const edm::View< reco::Jet > &jets, const std::vector< edm::Handle< reco::CandidateView > > &leptons, const edm::Handle< edm::View< reco::Candidate > > &pfCandidates, double rho, JME::JetResolution &resPtObj, JME::JetResolution &resPhiObj, JME::JetResolutionScaleFactor &resSFObj, bool isRealData, double &sumPtUnclustered, edm::ValueMap< float > const *weights=nullptr)
metsig::METSignificance * metSigAlgo_
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:39
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > lepTokens_
edm::ESGetToken< JME::JetResolutionObject, JetResolutionRcd > jetResPtToken_
constexpr bool isUninitialized() const noexcept
Definition: EDGetToken.h:104
edm::ESGetToken< JME::JetResolutionObject, JetResolutionRcd > jetResPhiToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > pfCandToken_
edm::EDGetTokenT< double > rhoToken_
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
edm::EDGetTokenT< edm::ValueMap< float > > weightsToken_
edm::ESGetToken< JME::JetResolutionObject, JetResolutionScaleFactorRcd > jetSFToken_
sumPtUnclustered
Definition: met_cff.py:16
Definition: event.py:1

◆ produce()

void PATMETProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
override

Definition at line 140 of file PATMETProducer.cc.

References pat::PATUserDataHelper< ObjectType >::add(), addGenMET_, calculateMETSignificance_, efficiencyLoader_, pat::helper::EfficiencyLoader::enabled(), pat::helper::KinResolutionsLoader::enabled(), edm::InputTag::encode(), genMETToken_, getMETCovMatrix(), metsig::METSignificance::getSignificance(), heavyIonCSV_trainingSettings::idx, iEvent, singleTopDQM_cfi::mets, metSigAlgo_, metSrc_, metToken_, eostools::move(), pat::helper::EfficiencyLoader::newEvent(), pat::helper::KinResolutionsLoader::newEvent(), metProducer_cfi::patMETs, resolutionLoader_, pat::helper::EfficiencyLoader::setEfficiencies(), pat::MET::setGenMET(), pat::MET::setMETSignificance(), pat::MET::setMETSumPtUnclustered(), pat::helper::KinResolutionsLoader::setResolutions(), reco::MET::setSignificanceMatrix(), met_cff::sumPtUnclustered, userDataHelper_, and useUserData_.

140  {
141  // Get the vector of MET's from the event
143  iEvent.getByToken(metToken_, mets);
144 
145  if (mets->size() != 1)
146  throw cms::Exception("Corrupt Data") << "The input MET collection " << metSrc_.encode() << " has size "
147  << mets->size() << " instead of 1 as it should.\n";
152 
153  // Get the vector of generated met from the event if needed
155  if (addGenMET_) {
156  iEvent.getByToken(genMETToken_, genMETs);
157  }
158 
159  // loop over mets
160  std::vector<MET>* patMETs = new std::vector<MET>();
161  for (edm::View<reco::MET>::const_iterator itMET = mets->begin(); itMET != mets->end(); itMET++) {
162  // construct the MET from the ref -> save ref to original object
163  unsigned int idx = itMET - mets->begin();
164  edm::RefToBase<reco::MET> metsRef = mets->refAt(idx);
165  edm::Ptr<reco::MET> metsPtr = mets->ptrAt(idx);
166  MET amet(metsRef);
167  // add the generated MET
168  if (addGenMET_)
169  amet.setGenMET((*genMETs)[idx]);
170 
171  //add the MET significance
173  double sumPtUnclustered = 0;
174  const reco::METCovMatrix& sigcov = getMETCovMatrix(iEvent, iSetup, amet, sumPtUnclustered);
175  amet.setSignificanceMatrix(sigcov);
176  double metSig = metSigAlgo_->getSignificance(sigcov, amet);
177  amet.setMETSignificance(metSig);
178  amet.setMETSumPtUnclustered(sumPtUnclustered);
179  }
180 
181  if (efficiencyLoader_.enabled()) {
182  efficiencyLoader_.setEfficiencies(amet, metsRef);
183  }
184 
185  if (resolutionLoader_.enabled()) {
187  }
188 
189  if (useUserData_) {
190  userDataHelper_.add(amet, iEvent, iSetup);
191  }
192 
193  // correct for muons if demanded... never more: it's now done by JetMETCorrections
194  // add the MET to the vector of METs
195  patMETs->push_back(amet);
196  }
197 
198  // sort MET in ET .. don't mess with this
199  // std::sort(patMETs->begin(), patMETs->end(), eTComparator_);
200 
201  // put genEvt object in Event
202  std::unique_ptr<std::vector<MET>> myMETs(patMETs);
203  iEvent.put(std::move(myMETs));
204 }
Analysis-level MET class.
Definition: MET.h:40
bool enabled() const
&#39;true&#39; if this there is at least one efficiency configured
void newEvent(const edm::Event &event)
To be called for each new event, reads in the ValueMaps for efficiencies.
metsig::METSignificance * metSigAlgo_
static double getSignificance(const reco::METCovMatrix &cov, const reco::MET &met)
void setEfficiencies(pat::PATObject< T > &obj, const R &originalRef) const
Sets the efficiencies for this object, using the reference to the original objects.
std::string encode() const
Definition: InputTag.cc:159
pat::PATUserDataHelper< pat::MET > userDataHelper_
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:39
const reco::METCovMatrix getMETCovMatrix(const edm::Event &event, const edm::EventSetup &iSetup, const reco::MET &met, double &sumPtUnclustered) const
void setResolutions(pat::PATObject< T > &obj) const
Sets the efficiencies for this object, using the reference to the original objects.
edm::InputTag metSrc_
int iEvent
Definition: GenABIO.cc:224
void newEvent(const edm::Event &event, const edm::EventSetup &setup)
To be called for each new event, reads in the EventSetup object.
bool enabled() const
&#39;true&#39; if this there is at least one efficiency configured
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
pat::helper::EfficiencyLoader efficiencyLoader_
void add(ObjectType &patObject, edm::Event const &iEvent, edm::EventSetup const &iSetup)
pat::helper::KinResolutionsLoader resolutionLoader_
edm::EDGetTokenT< edm::View< reco::GenMET > > genMETToken_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:86
sumPtUnclustered
Definition: met_cff.py:16
def move(src, dest)
Definition: eostools.py:511

Member Data Documentation

◆ addEfficiencies_

bool pat::PATMETProducer::addEfficiencies_
private

Definition at line 57 of file PATMETProducer.cc.

Referenced by PATMETProducer().

◆ addGenMET_

bool pat::PATMETProducer::addGenMET_
private

Definition at line 48 of file PATMETProducer.cc.

Referenced by PATMETProducer(), and produce().

◆ addMuonCorr_

bool pat::PATMETProducer::addMuonCorr_
private

Definition at line 52 of file PATMETProducer.cc.

◆ addResolutions_

bool pat::PATMETProducer::addResolutions_
private

Definition at line 50 of file PATMETProducer.cc.

Referenced by PATMETProducer().

◆ calculateMETSignificance_

bool pat::PATMETProducer::calculateMETSignificance_
private

Definition at line 64 of file PATMETProducer.cc.

Referenced by PATMETProducer(), and produce().

◆ efficiencyLoader_

pat::helper::EfficiencyLoader pat::PATMETProducer::efficiencyLoader_
private

Definition at line 58 of file PATMETProducer.cc.

Referenced by PATMETProducer(), and produce().

◆ eTComparator_

GreaterByEt<MET> pat::PATMETProducer::eTComparator_
private

Definition at line 55 of file PATMETProducer.cc.

◆ genMETToken_

edm::EDGetTokenT<edm::View<reco::GenMET> > pat::PATMETProducer::genMETToken_
private

Definition at line 49 of file PATMETProducer.cc.

Referenced by PATMETProducer(), and produce().

◆ jetResPhiToken_

edm::ESGetToken<JME::JetResolutionObject, JetResolutionRcd> pat::PATMETProducer::jetResPhiToken_
private

Definition at line 72 of file PATMETProducer.cc.

Referenced by getMETCovMatrix(), and PATMETProducer().

◆ jetResPtToken_

edm::ESGetToken<JME::JetResolutionObject, JetResolutionRcd> pat::PATMETProducer::jetResPtToken_
private

Definition at line 71 of file PATMETProducer.cc.

Referenced by getMETCovMatrix(), and PATMETProducer().

◆ jetSFToken_

edm::ESGetToken<JME::JetResolutionObject, JetResolutionScaleFactorRcd> pat::PATMETProducer::jetSFToken_
private

Definition at line 73 of file PATMETProducer.cc.

Referenced by getMETCovMatrix(), and PATMETProducer().

◆ jetToken_

edm::EDGetTokenT<edm::View<reco::Jet> > pat::PATMETProducer::jetToken_
private

Definition at line 66 of file PATMETProducer.cc.

Referenced by getMETCovMatrix(), and PATMETProducer().

◆ lepTokens_

std::vector<edm::EDGetTokenT<edm::View<reco::Candidate> > > pat::PATMETProducer::lepTokens_
private

Definition at line 68 of file PATMETProducer.cc.

Referenced by getMETCovMatrix(), and PATMETProducer().

◆ metSigAlgo_

metsig::METSignificance* pat::PATMETProducer::metSigAlgo_
private

Definition at line 65 of file PATMETProducer.cc.

Referenced by getMETCovMatrix(), PATMETProducer(), and produce().

◆ metSrc_

edm::InputTag pat::PATMETProducer::metSrc_
private

Definition at line 46 of file PATMETProducer.cc.

Referenced by PATMETProducer(), and produce().

◆ metToken_

edm::EDGetTokenT<edm::View<reco::MET> > pat::PATMETProducer::metToken_
private

Definition at line 47 of file PATMETProducer.cc.

Referenced by PATMETProducer(), and produce().

◆ muonSrc_

edm::InputTag pat::PATMETProducer::muonSrc_
private

Definition at line 53 of file PATMETProducer.cc.

◆ pfCandToken_

edm::EDGetTokenT<edm::View<reco::Candidate> > pat::PATMETProducer::pfCandToken_
private

Definition at line 67 of file PATMETProducer.cc.

Referenced by getMETCovMatrix(), and PATMETProducer().

◆ resolutionLoader_

pat::helper::KinResolutionsLoader pat::PATMETProducer::resolutionLoader_
private

Definition at line 51 of file PATMETProducer.cc.

Referenced by PATMETProducer(), and produce().

◆ rhoToken_

edm::EDGetTokenT<double> pat::PATMETProducer::rhoToken_
private

Definition at line 69 of file PATMETProducer.cc.

Referenced by getMETCovMatrix(), and PATMETProducer().

◆ userDataHelper_

pat::PATUserDataHelper<pat::MET> pat::PATMETProducer::userDataHelper_
private

Definition at line 61 of file PATMETProducer.cc.

Referenced by PATMETProducer(), and produce().

◆ useUserData_

bool pat::PATMETProducer::useUserData_
private

Definition at line 60 of file PATMETProducer.cc.

Referenced by PATMETProducer(), and produce().

◆ weightsToken_

edm::EDGetTokenT<edm::ValueMap<float> > pat::PATMETProducer::weightsToken_
private

Definition at line 70 of file PATMETProducer.cc.

Referenced by getMETCovMatrix(), and PATMETProducer().