CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
LeptonFSRProducer Class Reference
Inheritance diagram for LeptonFSRProducer:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 LeptonFSRProducer (const edm::ParameterSet &iConfig)
 
 ~LeptonFSRProducer () override=default
 
- Public Member Functions inherited from edm::global::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
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

double computeRelativeIsolation (const pat::PackedCandidate &photon, const pat::PackedCandidateCollection &pfcands, const double &isoConeMax2, const double &isoConeMin2) const
 
bool electronFootprintVeto (pat::PackedCandidateRef &pfcandRef, edm::Handle< pat::ElectronCollection > electronsForVeto) const
 
void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 

Private Attributes

const double drEtCut
 
const double drSafe
 
const edm::EDGetTokenT< edm::View< reco::GsfElectron > > electrons_
 
const edm::EDGetTokenT< pat::ElectronCollectionelectronsForVeto_
 
const double etaCutE
 
const double etaCutMu
 
const double isoCut
 
const edm::EDGetTokenT< edm::View< reco::Muon > > muons_
 
const edm::EDGetTokenT< pat::PackedCandidateCollectionpfcands_
 
const double photonPtCut
 
const double ptCutE
 
const double ptCutMu
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
template<typename T >
using BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T >
 
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::ProducerBase
template<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Search for FSR photons for muons and electrons.

Photon candidates are searched among the "packedPFCandidates" collection with the specified cuts, and are required to be isolated (relIso, with a cone of 0.3) and not to be in the footprint of all electrons in the "electrons" collection. Each photon is matched by DeltaR to the closest among all muons and electrons and stored if passing dR/ET^2<deltaROverEt2Max. In addition ValueMaps are stored, with links to one photon per muon/electron. For this purpose, if more than a photon is matched to a lepton, the lowest-DR/ET^2 is chosen.

Definition at line 31 of file LeptonFSRProducer.cc.

Constructor & Destructor Documentation

◆ LeptonFSRProducer()

LeptonFSRProducer::LeptonFSRProducer ( const edm::ParameterSet iConfig)
inlineexplicit

Definition at line 33 of file LeptonFSRProducer.cc.

References edm::ParameterSet::getParameter().

34  : pfcands_{consumes<pat::PackedCandidateCollection>(iConfig.getParameter<edm::InputTag>("packedPFCandidates"))},
35  electronsForVeto_{consumes<pat::ElectronCollection>(iConfig.getParameter<edm::InputTag>("slimmedElectrons"))},
36  muons_{consumes<edm::View<reco::Muon>>(iConfig.getParameter<edm::InputTag>("muons"))},
37  electrons_{consumes<edm::View<reco::GsfElectron>>(iConfig.getParameter<edm::InputTag>("electrons"))},
38  ptCutMu(iConfig.getParameter<double>("muonPtMin")),
39  etaCutMu(iConfig.getParameter<double>("muonEtaMax")),
40  ptCutE(iConfig.getParameter<double>("elePtMin")),
41  etaCutE(iConfig.getParameter<double>("eleEtaMax")),
42  photonPtCut(iConfig.getParameter<double>("photonPtMin")),
43  drEtCut(iConfig.getParameter<double>("deltaROverEt2Max")),
44  isoCut(iConfig.getParameter<double>("isolation")),
45  drSafe(0.0001) {
46  produces<std::vector<pat::GenericParticle>>();
47  produces<edm::ValueMap<int>>("muFsrIndex");
48  produces<edm::ValueMap<int>>("eleFsrIndex");
49  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
const edm::EDGetTokenT< pat::PackedCandidateCollection > pfcands_
const double photonPtCut
const edm::EDGetTokenT< edm::View< reco::Muon > > muons_
const edm::EDGetTokenT< pat::ElectronCollection > electronsForVeto_
const edm::EDGetTokenT< edm::View< reco::GsfElectron > > electrons_

◆ ~LeptonFSRProducer()

LeptonFSRProducer::~LeptonFSRProducer ( )
overridedefault

Member Function Documentation

◆ computeRelativeIsolation()

double LeptonFSRProducer::computeRelativeIsolation ( const pat::PackedCandidate photon,
const pat::PackedCandidateCollection pfcands,
const double &  isoConeMax2,
const double &  isoConeMin2 
) const
private

Definition at line 239 of file LeptonFSRProducer.cc.

References funct::abs(), HLTMuonOfflineAnalyzer_cfi::deltaR2, drSafe, pfDeepBoostedJetPreprocessParams_cfi::pfcand, HLT_2024v12_cff::pfcands, and displacedMuons_cfi::photon.

Referenced by produce().

242  {
243  double ptsum = 0;
244 
245  for (const auto& pfcand : pfcands) {
246  // Isolation cone
247  double dRIsoCone2 = deltaR2(photon.eta(), photon.phi(), pfcand.eta(), pfcand.phi());
248  if (dRIsoCone2 > isoConeMax2 || dRIsoCone2 < isoConeMin2)
249  continue;
250 
251  // Charged hadrons
252  if (pfcand.charge() != 0 && abs(pfcand.pdgId()) == 211 && pfcand.pt() > 0.2 && dRIsoCone2 > drSafe * drSafe) {
253  ptsum += pfcand.pt();
254  // Neutral hadrons + photons
255  } else if (pfcand.charge() == 0 && (abs(pfcand.pdgId()) == 22 || abs(pfcand.pdgId()) == 130) && pfcand.pt() > 0.5 &&
256  dRIsoCone2 > 0.01 * 0.01) {
257  ptsum += pfcand.pt();
258  }
259  }
260 
261  return ptsum / photon.pt();
262 }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22

◆ electronFootprintVeto()

bool LeptonFSRProducer::electronFootprintVeto ( pat::PackedCandidateRef pfcandRef,
edm::Handle< pat::ElectronCollection electronsForVeto 
) const
private

Definition at line 264 of file LeptonFSRProducer.cc.

References edm::Ref< C, T, F >::id(), and edm::Ref< C, T, F >::key().

Referenced by produce().

265  {
266  bool skipPhoton = false;
267  for (auto electrons_iter = electronsForVeto->begin(); electrons_iter != electronsForVeto->end(); ++electrons_iter) {
268  for (auto const& cand : electrons_iter->associatedPackedPFCandidates()) {
269  if (!cand.isAvailable())
270  continue;
271  if (cand.id() != pfcandRef.id())
272  throw cms::Exception("Configuration")
273  << "The electron associatedPackedPFCandidates item does not have "
274  << "the same ID of packed candidate collection used for cleaning the electron footprint: " << cand.id()
275  << " (" << pfcandRef.id() << ")\n";
276  if (cand.key() == pfcandRef.key()) {
277  skipPhoton = true;
278  break;
279  }
280  }
281  }
282  return skipPhoton;
283 }
ProductID id() const
Accessor for product ID.
Definition: Ref.h:244
key_type key() const
Accessor for product key.
Definition: Ref.h:250

◆ fillDescriptions()

static void LeptonFSRProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
inlinestatic

Definition at line 50 of file LeptonFSRProducer.cc.

References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.

50  {
52  desc.add<edm::InputTag>("packedPFCandidates", edm::InputTag("packedPFCandidates"))
53  ->setComment("packed pf candidates where to look for photons");
54  desc.add<edm::InputTag>("slimmedElectrons", edm::InputTag("slimmedElectrons"))
55  ->setComment(
56  "electrons to check for footprint, the electron collection must have proper linking with the "
57  "packedCandidate collection");
58  desc.add<edm::InputTag>("muons", edm::InputTag("slimmedMuons"))
59  ->setComment("collection of muons to match with FSR ");
60  desc.add<edm::InputTag>("electrons", edm::InputTag("slimmedElectrons"))
61  ->setComment("collection of electrons to match with FSR ");
62  desc.add<double>("muonPtMin", 3.)->setComment("minimum pt of the muon to look for a near photon");
63  desc.add<double>("muonEtaMax", 2.4)->setComment("max eta of the muon to look for a near photon");
64  desc.add<double>("elePtMin", 5.)->setComment("minimum pt of the electron to look for a near photon");
65  desc.add<double>("eleEtaMax", 2.5)->setComment("max eta of the electron to look for a near photon");
66  desc.add<double>("photonPtMin", 2.0)->setComment("minimum photon Pt");
67  desc.add<double>("deltaROverEt2Max", 0.05)->setComment("max ratio of deltaR(lep,photon) over et2 of the photon");
68  desc.add<double>("isolation", 2.0)->setComment("photon relative isolation cut");
69 
70  descriptions.addWithDefaultLabel(desc);
71  }
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)

◆ produce()

void LeptonFSRProducer::produce ( edm::StreamID  streamID,
edm::Event iEvent,
const edm::EventSetup iSetup 
) const
overrideprivatevirtual

Implements edm::global::EDProducerBase.

Definition at line 100 of file LeptonFSRProducer.cc.

References funct::abs(), computeRelativeIsolation(), PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, HLT_2024v12_cff::dRMin, drSafe, electronFootprintVeto(), pwdgSkimBPark_cfi::electrons, electrons_, electronsForVeto_, taus_cff::eleIdx, etaCutE, etaCutMu, edm::helper::Filler< Map >::fill(), iEvent, edm::helper::Filler< Map >::insert(), isoCut, eostools::move(), HLT_2024v12_cff::muon, fsrPhotons_cff::muonIdx, DiMuonV_cfg::muons, muons_, HLT_2024v12_cff::pfcands, pfcands_, photonPtCut, DiDispStaMuonMonitor_cfi::pt, ptCutE, and ptCutMu.

100  {
101  using namespace std;
102 
104  iEvent.getByToken(pfcands_, pfcands);
106  iEvent.getByToken(muons_, muons);
108  iEvent.getByToken(electrons_, electrons);
109  edm::Handle<pat::ElectronCollection> electronsForVeto;
110  iEvent.getByToken(electronsForVeto_, electronsForVeto);
111 
112  // The output collection of FSR photons
113  auto fsrPhotons = std::make_unique<std::vector<pat::GenericParticle>>();
114 
115  std::vector<int> muPhotonIdxs(muons->size(), -1);
116  std::vector<double> muPhotonDRET2(muons->size(), 1e9);
117 
118  std::vector<int> elePhotonIdxs(electrons->size(), -1);
119  std::vector<double> elePhotonDRET2(electrons->size(), 1e9);
120 
121  //----------------------
122  // Loop on photon candidates
123  //----------------------
124 
125  for (auto pc = pfcands->begin(); pc != pfcands->end(); pc++) {
126  // consider only photons, with pT and eta cuts
127  if (abs(pc->pdgId()) != 22 || pc->pt() < photonPtCut || abs(pc->eta()) > 2.5)
128  continue;
129 
130  //------------------------------------------------------
131  // Get the closest lepton
132  //------------------------------------------------------
133  double dRMin(0.5);
134  int closestMu = -1;
135  int closestEle = -1;
136  double photon_relIso03 = 1e9; // computed only if necessary
137  bool skipPhoton = false;
138 
139  for (auto muon = muons->begin(); muon != muons->end(); ++muon) {
140  if (muon->pt() < ptCutMu || std::abs(muon->eta()) > etaCutMu)
141  continue;
142 
143  int muonIdx = muon - muons->begin();
144  double dR = deltaR(muon->eta(), muon->phi(), pc->eta(), pc->phi());
145  if (dR < dRMin && dR > drSafe && dR < drEtCut * pc->pt() * pc->pt()) {
146  // Check if photon is isolated
147  photon_relIso03 = computeRelativeIsolation(*pc, *pfcands, 0.3 * 0.3, drSafe * drSafe);
148  if (photon_relIso03 > isoCut) {
149  skipPhoton = true;
150  break; // break loop on muons -> photon will be skipped
151  }
152  // Check that photon is not in footprint of an electron
154  skipPhoton = electronFootprintVeto(pfcandRef, electronsForVeto);
155  if (skipPhoton)
156  break; // break loop on muons -> photon will be skipped
157 
158  // Candidate matching
159  dRMin = dR;
160  closestMu = muonIdx;
161  }
162  } // end of loop on muons
163 
164  if (skipPhoton)
165  continue; // photon does not pass iso or ele footprint veto; do not look for electrons
166 
167  for (auto ele = electrons->begin(); ele != electrons->end(); ++ele) {
168  if (ele->pt() < ptCutE || std::abs(ele->eta()) > etaCutE)
169  continue;
170 
171  int eleIdx = ele - electrons->begin();
172  double dR = deltaR(ele->eta(), ele->phi(), pc->eta(), pc->phi());
173  if (dR < dRMin && dR > drSafe && dR < drEtCut * pc->pt() * pc->pt()) {
174  // Check if photon is isolated (no need to recompute iso if already done for muons above)
175  if (photon_relIso03 > 1e8) {
176  photon_relIso03 = computeRelativeIsolation(*pc, *pfcands, 0.3 * 0.3, drSafe * drSafe);
177  }
178  if (photon_relIso03 > isoCut) {
179  break; // break loop on electrons -> photon will be skipped
180  }
181  // Check that photon is not in footprint of an electron
183  if (electronFootprintVeto(pfcandRef, electronsForVeto)) {
184  break; // break loop on electrons -> photon will be skipped
185  }
186 
187  // Candidate matching
188  dRMin = dR;
189  closestEle = eleIdx;
190  closestMu = -1; // reset match to muons
191  }
192  } // end loop on electrons
193 
194  if (closestMu >= 0 || closestEle >= 0) {
195  // Add FSR photon to the output collection
196  double dRET2 = dRMin / pc->pt() / pc->pt();
197  int iPhoton = fsrPhotons->size();
198  fsrPhotons->push_back(pat::GenericParticle(*pc));
199  fsrPhotons->back().addUserFloat("relIso03", photon_relIso03);
200  fsrPhotons->back().addUserFloat("dROverEt2", dRET2);
201 
202  if (closestMu >= 0) {
203  fsrPhotons->back().addUserCand("associatedMuon", reco::CandidatePtr(muons, closestMu));
204  // Store the backlink to the photon: choose the lowest-dRET2 photon for each mu...
205  if (dRET2 < muPhotonDRET2[closestMu]) {
206  muPhotonDRET2[closestMu] = dRET2;
207  muPhotonIdxs[closestMu] = iPhoton;
208  }
209  } else if (closestEle >= 0) {
210  // ...and same for eles
211  fsrPhotons->back().addUserCand("associatedElectron", reco::CandidatePtr(electrons, closestEle));
212  if (dRET2 < elePhotonDRET2[closestEle]) {
213  elePhotonDRET2[closestEle] = dRET2;
214  elePhotonIdxs[closestEle] = iPhoton;
215  }
216  }
217  }
218  } // end of loop over pfCands
219 
221 
222  {
223  std::unique_ptr<edm::ValueMap<int>> bareIdx(new edm::ValueMap<int>());
224  edm::ValueMap<int>::Filler fillerBareIdx(*bareIdx);
225  fillerBareIdx.insert(muons, muPhotonIdxs.begin(), muPhotonIdxs.end());
226  fillerBareIdx.fill();
227  iEvent.put(std::move(bareIdx), "muFsrIndex");
228  }
229 
230  {
231  std::unique_ptr<edm::ValueMap<int>> bareIdx(new edm::ValueMap<int>());
232  edm::ValueMap<int>::Filler fillerBareIdx(*bareIdx);
233  fillerBareIdx.insert(electrons, elePhotonIdxs.begin(), elePhotonIdxs.end());
234  fillerBareIdx.fill();
235  iEvent.put(std::move(bareIdx), "eleFsrIndex");
236  }
237 }
double computeRelativeIsolation(const pat::PackedCandidate &photon, const pat::PackedCandidateCollection &pfcands, const double &isoConeMax2, const double &isoConeMin2) const
const edm::EDGetTokenT< pat::PackedCandidateCollection > pfcands_
bool electronFootprintVeto(pat::PackedCandidateRef &pfcandRef, edm::Handle< pat::ElectronCollection > electronsForVeto) const
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
Definition: DiMuonV_cfg.py:214
const double photonPtCut
Analysis-level Generic Particle class (e.g. for hadron or muon not fully reconstructed) ...
int iEvent
Definition: GenABIO.cc:224
edm::Ref< pat::PackedCandidateCollection > PackedCandidateRef
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
const edm::EDGetTokenT< edm::View< reco::Muon > > muons_
const edm::EDGetTokenT< pat::ElectronCollection > electronsForVeto_
def move(src, dest)
Definition: eostools.py:511
const edm::EDGetTokenT< edm::View< reco::GsfElectron > > electrons_

Member Data Documentation

◆ drEtCut

const double LeptonFSRProducer::drEtCut
private

Definition at line 95 of file LeptonFSRProducer.cc.

◆ drSafe

const double LeptonFSRProducer::drSafe
private

Definition at line 97 of file LeptonFSRProducer.cc.

Referenced by computeRelativeIsolation(), and produce().

◆ electrons_

const edm::EDGetTokenT<edm::View<reco::GsfElectron> > LeptonFSRProducer::electrons_
private

Definition at line 89 of file LeptonFSRProducer.cc.

Referenced by produce().

◆ electronsForVeto_

const edm::EDGetTokenT<pat::ElectronCollection> LeptonFSRProducer::electronsForVeto_
private

Definition at line 87 of file LeptonFSRProducer.cc.

Referenced by produce().

◆ etaCutE

const double LeptonFSRProducer::etaCutE
private

Definition at line 93 of file LeptonFSRProducer.cc.

Referenced by produce().

◆ etaCutMu

const double LeptonFSRProducer::etaCutMu
private

Definition at line 91 of file LeptonFSRProducer.cc.

Referenced by produce().

◆ isoCut

const double LeptonFSRProducer::isoCut
private

Definition at line 96 of file LeptonFSRProducer.cc.

Referenced by produce().

◆ muons_

const edm::EDGetTokenT<edm::View<reco::Muon> > LeptonFSRProducer::muons_
private

Definition at line 88 of file LeptonFSRProducer.cc.

Referenced by produce().

◆ pfcands_

const edm::EDGetTokenT<pat::PackedCandidateCollection> LeptonFSRProducer::pfcands_
private

Definition at line 86 of file LeptonFSRProducer.cc.

Referenced by produce().

◆ photonPtCut

const double LeptonFSRProducer::photonPtCut
private

Definition at line 94 of file LeptonFSRProducer.cc.

Referenced by produce().

◆ ptCutE

const double LeptonFSRProducer::ptCutE
private

Definition at line 92 of file LeptonFSRProducer.cc.

Referenced by produce().

◆ ptCutMu

const double LeptonFSRProducer::ptCutMu
private

Definition at line 90 of file LeptonFSRProducer.cc.

Referenced by produce().