CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
ZMuMuMuonUserData Class Reference
Inheritance diagram for ZMuMuMuonUserData:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 ZMuMuMuonUserData (const edm::ParameterSet &)
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducer () 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

template<typename T >
vector< double > isolation (const T &t, double ptThreshold, double etEcalThreshold, double etHcalThreshold, double dRVetoTrk, double dRTrk, double dREcal, double dRHcal, double alpha, double beta)
 
void produce (edm::Event &, const edm::EventSetup &) override
 

Private Attributes

double alpha_
 
EDGetTokenT< BeamSpotbeamSpotToken_
 
double beta_
 
double dREcal_
 
double dRHcal_
 
double dRTrk_
 
double dRVetoTrk_
 
double etEcalThreshold_
 
double etHcalThreshold_
 
string hltPath_
 
EDGetTokenT< VertexCollectionprimaryVerticesToken_
 
double ptThreshold_
 
EDGetTokenT< vector< pat::Muon > > srcToken_
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
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
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
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)
 
template<Transition B>
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 (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (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 ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
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)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 28 of file ZMuMuMuonUserData.cc.

Constructor & Destructor Documentation

◆ ZMuMuMuonUserData()

ZMuMuMuonUserData::ZMuMuMuonUserData ( const edm::ParameterSet cfg)

Definition at line 110 of file ZMuMuMuonUserData.cc.

111  : srcToken_(consumes<vector<pat::Muon> >(cfg.getParameter<InputTag>("src"))),
112  beamSpotToken_(consumes<BeamSpot>(cfg.getParameter<InputTag>("beamSpot"))),
113  primaryVerticesToken_(consumes<VertexCollection>(cfg.getParameter<InputTag>("primaryVertices"))),
114  alpha_(cfg.getParameter<double>("alpha")),
115  beta_(cfg.getParameter<double>("beta")),
116  ptThreshold_(cfg.getParameter<double>("ptThreshold")),
117  etEcalThreshold_(cfg.getParameter<double>("etEcalThreshold")),
118  etHcalThreshold_(cfg.getParameter<double>("etHcalThreshold")),
119  dRVetoTrk_(cfg.getParameter<double>("dRVetoTrk")),
120  dRTrk_(cfg.getParameter<double>("dRTrk")),
121  dREcal_(cfg.getParameter<double>("dREcal")),
122  dRHcal_(cfg.getParameter<double>("dRHcal")),
123  hltPath_(cfg.getParameter<std::string>("hltPath")) {
124  produces<std::vector<pat::Muon> >();
125 }

Member Function Documentation

◆ isolation()

template<typename T >
vector< double > ZMuMuMuonUserData::isolation ( const T t,
double  ptThreshold,
double  etEcalThreshold,
double  etHcalThreshold,
double  dRVetoTrk,
double  dRTrk,
double  dREcal,
double  dRHcal,
double  alpha,
double  beta 
)
private

Definition at line 55 of file ZMuMuMuonUserData.cc.

64  {
65  vector<double> iso;
66  const pat::IsoDeposit *trkIso = t.isoDeposit(pat::TrackIso);
67  const pat::IsoDeposit *ecalIso = t.isoDeposit(pat::EcalIso);
68  const pat::IsoDeposit *hcalIso = t.isoDeposit(pat::HcalIso);
69 
70  Direction dir = Direction(t.eta(), t.phi());
71 
73  vetosTrk.push_back(new ConeVeto(dir, dRVetoTrk));
74  vetosTrk.push_back(new ThresholdVeto(ptThreshold));
75 
76  pat::IsoDeposit::AbsVetos vetosEcal;
77  vetosEcal.push_back(new ConeVeto(dir, 0.));
78  vetosEcal.push_back(new ThresholdVeto(etEcalThreshold));
79 
80  pat::IsoDeposit::AbsVetos vetosHcal;
81  vetosHcal.push_back(new ConeVeto(dir, 0.));
82  vetosHcal.push_back(new ThresholdVeto(etHcalThreshold));
83 
84  double isovalueTrk = (trkIso->sumWithin(dRTrk, vetosTrk));
85  double isovalueEcal = (ecalIso->sumWithin(dREcal, vetosEcal));
86  double isovalueHcal = (hcalIso->sumWithin(dRHcal, vetosHcal));
87 
88  iso.push_back(isovalueTrk);
89  //cout<<"isoTrk"<<isovalueTrk<<" "<<t.trackIso()<<endl;
90  iso.push_back(isovalueEcal);
91  //cout<<"isoEcal"<<isovalueEcal<<" "<<t.ecalIso()<<endl;
92  iso.push_back(isovalueHcal);
93  //cout<<"isoHcal"<<isovalueHcal<<" "<<t.hcalIso()<<endl;
94  //double isovalueTrk = t.trackIso();
95  //double isovalueEcal = t.ecalIso();
96  //double isovalueHcal = t.hcalIso();
97 
98  //double iso = isovalueTrk + isovalueEcal + isovalueHcal;
99  double combIso =
100  alpha * (((1 + beta) / 2 * isovalueEcal) + ((1 - beta) / 2 * isovalueHcal)) + ((1 - alpha) * isovalueTrk);
101  iso.push_back(combIso);
102  //cout<<"combIso"<<iso[3]<<endl;
103 
104  double relIso = combIso /= t.pt();
105  iso.push_back(relIso);
106  //cout<<"relIso"<<iso[4]<<endl;
107  return iso;
108 }

References zMuMuMuonUserData::alpha, zMuMuMuonUserData::beta, DeadROC_duringRun::dir, zMuMuMuonUserData::dREcal, zMuMuMuonUserData::dRHcal, zMuMuMuonUserData::dRTrk, zMuMuMuonUserData::dRVetoTrk, pat::EcalIso, zMuMuMuonUserData::etEcalThreshold, zMuMuMuonUserData::etHcalThreshold, pat::HcalIso, ewkMuLumiMonitorDQM_cfi::ptThreshold, objects.autophobj::relIso, reco::IsoDeposit::sumWithin(), OrderedSet::t, pat::TrackIso, and ZMuMuCategoriesSequences_cff::trkIso.

Referenced by produce().

◆ produce()

void ZMuMuMuonUserData::produce ( edm::Event evt,
const edm::EventSetup  
)
overrideprivatevirtual

Implements edm::EDProducer.

Definition at line 127 of file ZMuMuMuonUserData.cc.

127  {
129  evt.getByToken(srcToken_, muons);
130 
131  Handle<BeamSpot> beamSpotHandle;
132  evt.getByToken(beamSpotToken_, beamSpotHandle);
133 
134  Handle<VertexCollection> primaryVertices; // Collection of primary Vertices
136 
137  unique_ptr<vector<pat::Muon> > muonColl(new vector<pat::Muon>(*muons));
138  for (unsigned int i = 0; i < muonColl->size(); ++i) {
139  pat::Muon &m = (*muonColl)[i];
140  //pat::Muon *mu = new pat::Muon(m);
141  vector<double> iso = isolation(
143  m.setIsolation(pat::User1Iso, iso[0]);
144  //cout<<"muon User1Iso "<<iso[0]<<endl;
145  m.setIsolation(pat::User2Iso, iso[1]);
146  //cout<<"iso2 "<<iso[1]<<endl;
147  m.setIsolation(pat::User3Iso, iso[2]);
148  //cout<<"iso3 "<<iso[2]<<endl;
149  m.setIsolation(pat::User4Iso, iso[3]);
150  //cout<<"iso4 "<<iso[3]<<endl;
151  m.setIsolation(pat::User5Iso, iso[4]);
152  //cout<<"iso5 "<<iso[4]<<endl;
153  float zDauMuEnergyEm = m.calEnergy().em;
154  float zDauMuEnergyHad = m.calEnergy().had;
155  TrackRef muGlbRef = m.globalTrack();
156  TrackRef muTrkRef = m.innerTrack();
157  TrackRef muSaRef = m.outerTrack();
158  float zDaudxyFromBS = -1;
159  float zDaudzFromBS = -1;
160  float zDaudxyFromPV = -1;
161  float zDaudzFromPV = -1;
162  int zDauNofMuChambers = m.numberOfChambers();
163  int zDauNofMuMatches = m.numberOfMatches();
164  // for the following variables looking at global/trk and sta at the same time
165  float zDauChi2 = -1;
166  float zDauTrkChi2 = -1;
167  float zDauSaChi2 = -1;
168  float zDauNofMuonHits = -1;
169  float zDauSaNofMuonHits = -1;
170  float zDauNofStripHits = -1;
171  float zDauTrkNofStripHits = -1;
172  float zDauNofPixelHits = -1;
173  float zDauTrkNofPixelHits = -1;
174 
175  if (muGlbRef.isNonnull() && m.isGlobalMuon() == true) {
176  zDaudxyFromBS = muGlbRef->dxy(beamSpotHandle->position());
177  zDaudzFromBS = muGlbRef->dz(beamSpotHandle->position());
178  zDaudxyFromPV = muGlbRef->dxy(primaryVertices->begin()->position());
179  zDaudzFromPV = muGlbRef->dz(primaryVertices->begin()->position());
180  zDauChi2 = muGlbRef->normalizedChi2();
181  zDauTrkChi2 = muTrkRef->normalizedChi2();
182  zDauSaChi2 = muSaRef->normalizedChi2();
183  zDauNofMuonHits = muGlbRef->hitPattern().numberOfValidMuonHits();
184  zDauSaNofMuonHits = muSaRef->hitPattern().numberOfValidMuonHits();
185  zDauNofStripHits = muGlbRef->hitPattern().numberOfValidStripHits();
186  zDauTrkNofStripHits = muTrkRef->hitPattern().numberOfValidStripHits();
187  zDauNofPixelHits = muGlbRef->hitPattern().numberOfValidPixelHits();
188  zDauTrkNofPixelHits = muTrkRef->hitPattern().numberOfValidPixelHits();
189  } else if (muSaRef.isNonnull() && m.isStandAloneMuon() == true) {
190  zDaudxyFromBS = muSaRef->dxy(beamSpotHandle->position());
191  zDaudzFromBS = muSaRef->dz(beamSpotHandle->position());
192  zDaudxyFromPV = muSaRef->dxy(primaryVertices->begin()->position());
193  zDaudzFromPV = muSaRef->dz(primaryVertices->begin()->position());
194  zDauSaChi2 = muSaRef->normalizedChi2();
195  zDauSaNofMuonHits = muSaRef->hitPattern().numberOfValidMuonHits();
196 
197  } else if (muTrkRef.isNonnull() && m.isTrackerMuon() == true) {
198  zDaudxyFromBS = muTrkRef->dxy(beamSpotHandle->position());
199  zDaudzFromBS = muTrkRef->dz(beamSpotHandle->position());
200  zDaudxyFromPV = muTrkRef->dxy(primaryVertices->begin()->position());
201  zDaudzFromPV = muTrkRef->dz(primaryVertices->begin()->position());
202  zDauTrkChi2 = muTrkRef->normalizedChi2();
203  zDauTrkNofStripHits = muTrkRef->hitPattern().numberOfValidStripHits();
204  zDauTrkNofPixelHits = muTrkRef->hitPattern().numberOfValidPixelHits();
205  }
206 
207  const pat::TriggerObjectStandAloneCollection muHLTMatches = m.triggerObjectMatchesByPath(hltPath_);
208  float muHLTBit;
209  int dimTrig = muHLTMatches.size();
210  if (dimTrig != 0) {
211  muHLTBit = 1;
212  } else {
213  muHLTBit = 0;
214  }
215  m.addUserFloat("zDau_dxyFromBS", zDaudxyFromBS);
216  m.addUserFloat("zDau_dzFromBS", zDaudzFromBS);
217  m.addUserFloat("zDau_dxyFromPV", zDaudxyFromPV);
218  m.addUserFloat("zDau_dzFromPV", zDaudzFromPV);
219  m.addUserFloat("zDau_HLTBit", muHLTBit);
220  m.addUserFloat("zDau_dzFromPV", zDaudzFromPV);
221  m.addUserFloat("zDau_Chi2", zDauChi2);
222  m.addUserFloat("zDau_TrkChi2", zDauTrkChi2);
223  m.addUserFloat("zDau_SaChi2", zDauSaChi2);
224  m.addUserFloat("zDau_NofMuonHits", zDauNofMuonHits);
225  m.addUserFloat("zDau_SaNofMuonHits", zDauSaNofMuonHits);
226  m.addUserFloat("zDau_NofStripHits", zDauNofStripHits);
227  m.addUserFloat("zDau_TrkNofStripHits", zDauTrkNofStripHits);
228  m.addUserFloat("zDau_NofPixelHits", zDauNofPixelHits);
229  m.addUserFloat("zDau_TrkNofPixelHits", zDauTrkNofPixelHits);
230  m.addUserFloat("zDau_NofMuChambers", zDauNofMuChambers);
231  m.addUserFloat("zDau_NofMuMatches", zDauNofMuMatches);
232  m.addUserFloat("zDau_MuEnergyEm", zDauMuEnergyEm);
233  m.addUserFloat("zDau_MuEnergyHad", zDauMuEnergyHad);
234  }
235 
236  evt.put(std::move(muonColl));
237 }

References alpha_, beamSpotToken_, beta_, dREcal_, dRHcal_, dRTrk_, dRVetoTrk_, etEcalThreshold_, etHcalThreshold_, edm::Event::getByToken(), hltPath_, mps_fire::i, edm::Ref< C, T, F >::isNonnull(), isolation(), visualization-live-secondInstance_cfg::m, eostools::move(), PDWG_BPHSkim_cff::muons, reco::BeamSpot::position(), zMuMuMuonUserData::primaryVertices, primaryVerticesToken_, ptThreshold_, edm::Event::put(), srcToken_, pat::User1Iso, pat::User2Iso, pat::User3Iso, pat::User4Iso, and pat::User5Iso.

Member Data Documentation

◆ alpha_

double ZMuMuMuonUserData::alpha_
private

Definition at line 38 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ beamSpotToken_

EDGetTokenT<BeamSpot> ZMuMuMuonUserData::beamSpotToken_
private

Definition at line 36 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ beta_

double ZMuMuMuonUserData::beta_
private

Definition at line 38 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ dREcal_

double ZMuMuMuonUserData::dREcal_
private

Definition at line 39 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ dRHcal_

double ZMuMuMuonUserData::dRHcal_
private

Definition at line 39 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ dRTrk_

double ZMuMuMuonUserData::dRTrk_
private

Definition at line 39 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ dRVetoTrk_

double ZMuMuMuonUserData::dRVetoTrk_
private

Definition at line 39 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ etEcalThreshold_

double ZMuMuMuonUserData::etEcalThreshold_
private

Definition at line 39 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ etHcalThreshold_

double ZMuMuMuonUserData::etHcalThreshold_
private

Definition at line 39 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ hltPath_

string ZMuMuMuonUserData::hltPath_
private

Definition at line 40 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ primaryVerticesToken_

EDGetTokenT<VertexCollection> ZMuMuMuonUserData::primaryVerticesToken_
private

Definition at line 37 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ ptThreshold_

double ZMuMuMuonUserData::ptThreshold_
private

Definition at line 39 of file ZMuMuMuonUserData.cc.

Referenced by produce().

◆ srcToken_

EDGetTokenT<vector<pat::Muon> > ZMuMuMuonUserData::srcToken_
private

Definition at line 35 of file ZMuMuMuonUserData.cc.

Referenced by produce().

ewkMuLumiMonitorDQM_cfi.ptThreshold
ptThreshold
Definition: ewkMuLumiMonitorDQM_cfi.py:13
pat::User3Iso
Definition: Isolation.h:19
PDWG_BPHSkim_cff.muons
muons
Definition: PDWG_BPHSkim_cff.py:47
zMuMuMuonUserData.dRHcal
dRHcal
Definition: zMuMuMuonUserData.py:19
mps_fire.i
i
Definition: mps_fire.py:355
pat::EcalIso
Definition: Isolation.h:11
zMuMuMuonUserData.alpha
alpha
zGenParticlesMatch = cms.InputTag(""),
Definition: zMuMuMuonUserData.py:9
zMuMuMuonUserData.beta
beta
Definition: zMuMuMuonUserData.py:10
ZMuMuCategoriesSequences_cff.trkIso
trkIso
Definition: ZMuMuCategoriesSequences_cff.py:140
pat::User5Iso
Definition: Isolation.h:21
pat::Muon
Analysis-level muon class.
Definition: Muon.h:51
ZMuMuMuonUserData::etHcalThreshold_
double etHcalThreshold_
Definition: ZMuMuMuonUserData.cc:39
edm::Handle
Definition: AssociativeIterator.h:50
edm::Ref< TrackCollection >
ZMuMuMuonUserData::dREcal_
double dREcal_
Definition: ZMuMuMuonUserData.cc:39
pat::User4Iso
Definition: Isolation.h:20
reco::isodeposit::ConeVeto
Definition: IsoDepositVetos.h:9
pat::User1Iso
Definition: Isolation.h:17
ZMuMuMuonUserData::alpha_
double alpha_
Definition: ZMuMuMuonUserData.cc:38
zMuMuMuonUserData.dREcal
dREcal
Definition: zMuMuMuonUserData.py:18
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
objects.autophobj.relIso
relIso
Definition: autophobj.py:169
zMuMuMuonUserData.dRTrk
dRTrk
Definition: zMuMuMuonUserData.py:17
reco::IsoDeposit::AbsVetos
isodeposit::AbsVetos AbsVetos
Definition: IsoDeposit.h:53
ZMuMuMuonUserData::ptThreshold_
double ptThreshold_
Definition: ZMuMuMuonUserData.cc:39
edm::Event::getByToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:528
reco::BeamSpot::position
const Point & position() const
position
Definition: BeamSpot.h:59
OrderedSet.t
t
Definition: OrderedSet.py:90
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ZMuMuMuonUserData::srcToken_
EDGetTokenT< vector< pat::Muon > > srcToken_
Definition: ZMuMuMuonUserData.cc:35
pat::User2Iso
Definition: Isolation.h:18
ZMuMuMuonUserData::beamSpotToken_
EDGetTokenT< BeamSpot > beamSpotToken_
Definition: ZMuMuMuonUserData.cc:36
zMuMuMuonUserData.primaryVertices
primaryVertices
Definition: zMuMuMuonUserData.py:12
zMuMuMuonUserData.dRVetoTrk
dRVetoTrk
Definition: zMuMuMuonUserData.py:16
edm::Ref::isNonnull
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
pat::TrackIso
Definition: Isolation.h:10
reco::IsoDeposit::sumWithin
double sumWithin(double coneSize, const AbsVetos &vetos=AbsVetos(), bool skipDepositVeto=false) const
Definition: IsoDeposit.cc:137
ZMuMuMuonUserData::dRVetoTrk_
double dRVetoTrk_
Definition: ZMuMuMuonUserData.cc:39
pat::HcalIso
Definition: Isolation.h:12
pat::TriggerObjectStandAloneCollection
std::vector< TriggerObjectStandAlone > TriggerObjectStandAloneCollection
Collection of TriggerObjectStandAlone.
Definition: TriggerObjectStandAlone.h:219
ZMuMuMuonUserData::hltPath_
string hltPath_
Definition: ZMuMuMuonUserData.cc:40
edm::Event::put
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:132
ZMuMuMuonUserData::dRHcal_
double dRHcal_
Definition: ZMuMuMuonUserData.cc:39
zMuMuMuonUserData.etEcalThreshold
etEcalThreshold
Definition: zMuMuMuonUserData.py:14
reco::isodeposit::ThresholdVeto
Definition: IsoDepositVetos.h:21
looper.cfg
cfg
Definition: looper.py:297
eostools.move
def move(src, dest)
Definition: eostools.py:511
ZMuMuMuonUserData::beta_
double beta_
Definition: ZMuMuMuonUserData.cc:38
reco::isodeposit::Direction
Definition: IsoDepositDirection.h:19
reco::IsoDeposit
Definition: IsoDeposit.h:49
ZMuMuMuonUserData::dRTrk_
double dRTrk_
Definition: ZMuMuMuonUserData.cc:39
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:126
ZMuMuMuonUserData::etEcalThreshold_
double etEcalThreshold_
Definition: ZMuMuMuonUserData.cc:39
edm::InputTag
Definition: InputTag.h:15
zMuMuMuonUserData.etHcalThreshold
etHcalThreshold
Definition: zMuMuMuonUserData.py:15
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
ZMuMuMuonUserData::primaryVerticesToken_
EDGetTokenT< VertexCollection > primaryVerticesToken_
Definition: ZMuMuMuonUserData.cc:37
ZMuMuMuonUserData::isolation
vector< double > isolation(const T &t, double ptThreshold, double etEcalThreshold, double etHcalThreshold, double dRVetoTrk, double dRTrk, double dREcal, double dRHcal, double alpha, double beta)
Definition: ZMuMuMuonUserData.cc:55