CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
ZMuMuAnalyzer Class Reference
Inheritance diagram for ZMuMuAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Classes

class  ZMuMuAnalyzer
 

Public Member Functions

 ZMuMuAnalyzer (const edm::ParameterSet &pset)
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () 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
 
std::vector< ESProxyIndex > 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::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

void analyze (const edm::Event &event, const edm::EventSetup &setup) override
 
void endJob () override
 

Private Attributes

double etacut_
 
TH1D * h_zMuMu_mass_
 
TH1D * h_zMuMuMatched_mass_
 
TH1D * h_zMuSingleStandAlone_mass_
 
TH1D * h_zMuSingleStandAloneMatched_mass_
 
TH1D * h_zMuSingleStandAloneOverlap_mass_
 
TH1D * h_zMuSingleStandAloneOverlapMatched_mass_
 
TH1D * h_zMuSingleTrack_mass_
 
TH1D * h_zMuSingleTrackMatched_mass_
 
double isocut_
 
double maxZmass_
 
double minZmass_
 
EDGetTokenT< IsolationCollectionmuIsoToken_
 
OverlapChecker overlap_
 
double ptcut_
 
double ptSTAcut_
 
EDGetTokenT< IsolationCollectionstandAloneIsoToken_
 
EDGetTokenT< IsolationCollectiontrackIsoToken_
 
EDGetTokenT< CandMatchMapzMuMuMapToken_
 
EDGetTokenT< CandidateCollectionzMuMuToken_
 
EDGetTokenT< CandMatchMapzMuStandAloneMapToken_
 
EDGetTokenT< CandidateCollectionzMuStandAloneToken_
 
EDGetTokenT< CandMatchMapzMuTrackMapToken_
 
EDGetTokenT< CandidateCollectionzMuTrackToken_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- 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 = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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 40 of file ZMuMuAnalyzer.cc.

Constructor & Destructor Documentation

◆ ZMuMuAnalyzer()

Definition at line 64 of file ZMuMuAnalyzer.cc.

65  : zMuMuToken_(consumes<CandidateCollection>(pset.getParameter<InputTag>("zMuMu"))),
66  zMuTrackToken_(consumes<CandidateCollection>(pset.getParameter<InputTag>("zMuTrack"))),
67  zMuStandAloneToken_(consumes<CandidateCollection>(pset.getParameter<InputTag>("zMuStandAlone"))),
68  muIsoToken_(consumes<IsolationCollection>(pset.getParameter<InputTag>("muIso"))),
69  trackIsoToken_(consumes<IsolationCollection>(pset.getParameter<InputTag>("trackIso"))),
70  standAloneIsoToken_(consumes<IsolationCollection>(pset.getParameter<InputTag>("standAloneIso"))),
71  zMuMuMapToken_(mayConsume<CandMatchMap>(pset.getParameter<InputTag>("zMuMuMap"))),
72  zMuTrackMapToken_(mayConsume<CandMatchMap>(pset.getParameter<InputTag>("zMuTrackMap"))),
73  zMuStandAloneMapToken_(mayConsume<CandMatchMap>(pset.getParameter<InputTag>("zMuStandAloneMap"))),
74  isocut_(pset.getParameter<double>("isocut")),
75  etacut_(pset.getParameter<double>("etacut")),
76  ptcut_(pset.getParameter<double>("ptcut")),
77  ptSTAcut_(pset.getParameter<double>("ptSTAcut")),
78 
79  minZmass_(pset.getParameter<double>("minZmass")),
80  maxZmass_(pset.getParameter<double>("maxZmass")) {
82  h_zMuMu_mass_ = fs->make<TH1D>("ZMuMumass", "ZMuMu mass(GeV)", 200, 0., 200.);
83  h_zMuSingleTrack_mass_ = fs->make<TH1D>("ZMuSingleTrackmass", "ZMuSingleTrack mass(GeV)", 100, 0., 200.);
85  fs->make<TH1D>("ZMuSingleStandAlonemass", "ZMuSingleStandAlone mass(GeV)", 50, 0., 200.);
87  fs->make<TH1D>("ZMuSingleStandAloneOverlapmass", "ZMuSingleStandAloneOverlap mass(GeV)", 50, 0., 200.);
88 
89  h_zMuMuMatched_mass_ = fs->make<TH1D>("ZMuMuMatchedmass", "ZMuMu Matched mass(GeV)", 200, 0., 200.);
91  fs->make<TH1D>("ZMuSingleTrackmassMatched", "ZMuSingleTrackMatched mass(GeV)", 100, 0., 200.);
93  fs->make<TH1D>("ZMuSingleStandAlonemassMatched", "ZMuSingleStandAloneMatched mass(GeV)", 50, 0., 200.);
95  "ZMuSingleStandAloneOverlapmassMatched", "ZMuSingleStandAloneMatched Overlap mass(GeV)", 50, 0., 200.);
96 }

References h_zMuMu_mass_, h_zMuMuMatched_mass_, h_zMuSingleStandAlone_mass_, h_zMuSingleStandAloneMatched_mass_, h_zMuSingleStandAloneOverlap_mass_, h_zMuSingleStandAloneOverlapMatched_mass_, h_zMuSingleTrack_mass_, h_zMuSingleTrackMatched_mass_, and TFileService::make().

Member Function Documentation

◆ analyze()

void ZMuMuAnalyzer::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 98 of file ZMuMuAnalyzer.cc.

98  {
100  event.getByToken(zMuMuToken_, zMuMu);
102  event.getByToken(zMuTrackToken_, zMuTrack);
103  Handle<CandidateCollection> zMuStandAlone;
104  event.getByToken(zMuStandAloneToken_, zMuStandAlone);
105 
106  unsigned int nZMuMu = zMuMu->size();
107  unsigned int nZTrackMu = zMuTrack->size();
108  unsigned int nZStandAloneMu = zMuStandAlone->size();
109  static const double zMass = 91.1876; // PDG Z mass
110 
111  // cout << "nZMuMu = " << nZMuMu << endl;
112  // cout << "nZTrackMu = " << nZTrackMu << endl;
113  // cout << "nZStandAloneMu = " << nZStandAloneMu << endl;
114 
115  Handle<CandMatchMap> zMuMuMap;
116  if (nZMuMu > 0) {
117  event.getByToken(zMuMuMapToken_, zMuMuMap);
118  }
119 
120  Handle<CandMatchMap> zMuTrackMap;
121  if (nZTrackMu > 0) {
122  event.getByToken(zMuTrackMapToken_, zMuTrackMap);
123  }
124 
125  Handle<CandMatchMap> zMuStandAloneMap;
126  if (nZStandAloneMu > 0) {
127  event.getByToken(zMuStandAloneMapToken_, zMuStandAloneMap);
128  }
129 
131  event.getByToken(muIsoToken_, muIso);
132  ProductID muIsoId = muIso->keyProduct().id();
134  event.getByToken(trackIsoToken_, trackIso);
135  ProductID trackIsoId = trackIso->keyProduct().id();
136 
137  Handle<IsolationCollection> standAloneIso;
138  event.getByToken(standAloneIsoToken_, standAloneIso);
139  ProductID standAloneIsoId = standAloneIso->keyProduct().id();
140 
141  if (nZMuMu > 0) {
142  double mass = 1000000.;
143  for (unsigned int i = 0; i < nZMuMu; i++) {
144  const Candidate& zmmCand = (*zMuMu)[i];
145  CandidateRef CandRef(zMuMu, i);
148 
149  const double iso1 = muIso->value(lep1.key());
150  const double iso2 = muIso->value(lep2.key());
151 
152  double m = zmmCand.mass();
153  if (lep1->pt() > ptcut_ && lep2->pt() > ptcut_ && fabs(lep1->eta()) < etacut_ && fabs(lep2->eta()) < etacut_ &&
154  m > minZmass_ && m < maxZmass_ && iso1 < isocut_ && iso2 < isocut_) {
155  if (fabs(mass - zMass) > fabs(m - zMass)) {
156  mass = m;
157  }
158 
159  h_zMuMu_mass_->Fill(mass);
160  CandMatchMap::const_iterator m0 = zMuMuMap->find(CandRef);
161  if (m0 != zMuMuMap->end()) {
162  h_zMuMuMatched_mass_->Fill(mass);
163  }
164  }
165  }
166  }
167 
168  //ZmuSingleTRack
169  if (nZMuMu == 0 && nZTrackMu > 0) {
170  for (unsigned int j = 0; j < nZTrackMu; j++) {
171  const Candidate& ztmCand = (*zMuTrack)[j];
172  CandidateRef CandRef(zMuTrack, j);
175 
176  ProductID id1 = lep1.id();
177  ProductID id2 = lep2.id();
178  double iso1 = -1;
179  double iso2 = -1;
180 
181  if (id1 == muIsoId)
182  iso1 = muIso->value(lep1.key());
183  else if (id1 == trackIsoId)
184  iso1 = trackIso->value(lep1.key());
185 
186  if (id2 == muIsoId)
187  iso2 = muIso->value(lep2.key());
188  else if (id2 == trackIsoId)
189  iso2 = trackIso->value(lep2.key());
190 
191  double mt = ztmCand.mass();
192  if (lep1->pt() > ptcut_ && lep2->pt() > ptcut_ && fabs(lep1->eta()) < etacut_ && fabs(lep2->eta()) < etacut_ &&
193  mt > minZmass_ && mt < maxZmass_ && iso1 < isocut_ && iso2 < isocut_) {
194  h_zMuSingleTrack_mass_->Fill(mt);
195  CandMatchMap::const_iterator m0 = zMuTrackMap->find(CandRef);
196  if (m0 != zMuTrackMap->end()) {
198  }
199  }
200  }
201  }
202 
203  //ZmuSingleStandAlone
204  if (nZMuMu == 0 && nZStandAloneMu > 0) {
205  // unsigned int index = 1000;
206  for (unsigned int j = 0; j < nZStandAloneMu; j++) {
207  const Candidate& zsmCand = (*zMuStandAlone)[j];
208  CandidateRef CandRef(zMuStandAlone, j);
211 
212  ProductID id1 = lep1.id();
213  ProductID id2 = lep2.id();
214  double iso1 = -1;
215  double iso2 = -1;
216 
217  if (id1 == muIsoId)
218  iso1 = muIso->value(lep1.key());
219  else if (id1 == standAloneIsoId)
220  iso1 = standAloneIso->value(lep1.key());
221 
222  if (id2 == muIsoId)
223  iso2 = muIso->value(lep2.key());
224  else if (id2 == standAloneIsoId)
225  iso2 = standAloneIso->value(lep2.key());
226 
227  double ms = zsmCand.mass();
228  if (lep1->pt() > ptSTAcut_ && lep2->pt() > ptSTAcut_ && fabs(lep1->eta()) < etacut_ &&
229  fabs(lep2->eta()) < etacut_ && ms > minZmass_ && ms < maxZmass_ && iso1 < isocut_ && iso2 < isocut_) {
230  h_zMuSingleStandAlone_mass_->Fill(ms);
231  CandMatchMap::const_iterator m0 = zMuStandAloneMap->find(CandRef);
232  if (m0 != zMuStandAloneMap->end()) {
234  }
235 
236  bool noOverlap = true;
237  for (unsigned int j = 0; j < zMuTrack->size(); j++) {
238  const Candidate& ztmCand = (*zMuTrack)[j];
239  CandidateRef CandReft(zMuTrack, j);
240 
243 
244  ProductID id1 = lep1.id();
245  ProductID id2 = lep2.id();
246  double iso1 = -1;
247  double iso2 = -1;
248 
249  if (id1 == muIsoId)
250  iso1 = muIso->value(lep1.key());
251  else if (id1 == trackIsoId)
252  iso1 = trackIso->value(lep1.key());
253 
254  if (id2 == muIsoId)
255  iso2 = muIso->value(lep2.key());
256  else if (id2 == trackIsoId)
257  iso2 = trackIso->value(lep2.key());
258 
259  double mt = ztmCand.mass();
260  if (lep1->pt() > ptcut_ && lep2->pt() > ptcut_ && fabs(lep1->eta()) < etacut_ &&
261  fabs(lep2->eta()) < etacut_ && mt > minZmass_ && mt < maxZmass_ && iso1 < isocut_ && iso2 < isocut_) {
262  if (overlap_(ztmCand, zsmCand)) {
263  noOverlap = false;
264  break;
265  }
266  if (!noOverlap) {
268  CandMatchMap::const_iterator m1 = zMuTrackMap->find(CandReft);
269  CandMatchMap::const_iterator m2 = zMuStandAloneMap->find(CandRef);
270 
271  if (m1 != zMuTrackMap->end() && m2 != zMuStandAloneMap->end()) {
273  }
274  }
275  }
276  }
277  }
278  }
279  }
280 }

References edm::RefToBase< T >::castTo(), reco::Candidate::daughter(), edm::AssociationMap< Tag >::end(), etacut_, edm::AssociationMap< Tag >::find(), h_zMuMu_mass_, h_zMuMuMatched_mass_, h_zMuSingleStandAlone_mass_, h_zMuSingleStandAloneMatched_mass_, h_zMuSingleStandAloneOverlap_mass_, h_zMuSingleStandAloneOverlapMatched_mass_, h_zMuSingleTrack_mass_, h_zMuSingleTrackMatched_mass_, mps_fire::i, globals_cff::id1, globals_cff::id2, isocut_, dqmiolumiharvest::j, RazorAnalyzer::lep1, RazorAnalyzer::lep2, visualization-live-secondInstance_cfg::m, EgHLTOffHistBins_cfi::mass, reco::Candidate::mass(), reco::Candidate::masterClone(), maxZmass_, minZmass_, TtSemiLepEvtBuilder_cfi::mt, muIsoToken_, overlap_, ptcut_, ptSTAcut_, edm::OwnVector< T, P >::size(), standAloneIsoToken_, trackIsoToken_, HLTMuonOfflineAnalyzer_cfi::zMass, ZMuMuAnalysisNtupler_cff::zMuMu, zMuMuMapToken_, zMuMuToken_, zMuStandAloneMapToken_, zMuStandAloneToken_, zMuTrackMapToken_, and zMuTrackToken_.

◆ endJob()

void ZMuMuAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 282 of file ZMuMuAnalyzer.cc.

282  {
283  double Nzmm = h_zMuMu_mass_->GetEntries();
284  double Nzsm = h_zMuSingleStandAlone_mass_->GetEntries();
285  double Nzsnom = h_zMuSingleStandAloneOverlap_mass_->GetEntries();
286  double Nztm = h_zMuSingleTrack_mass_->GetEntries();
287 
288  double NzmmMatch = h_zMuMuMatched_mass_->GetEntries();
289  double NzsmMatch = h_zMuSingleStandAloneMatched_mass_->GetEntries();
290  double NzsnomMatch = h_zMuSingleStandAloneOverlapMatched_mass_->GetEntries();
291  double NztmMatch = h_zMuSingleTrackMatched_mass_->GetEntries();
292 
293  cout << "-- N SingleTrackMu = " << Nztm << endl;
294  cout << "-----N SinglStandAloneMu = " << Nzsm << endl;
295  cout << "-----N SingleStandAloneOverlapMu = " << Nzsnom << endl;
296  cout << "------- N MuMu = " << Nzmm << endl;
297 
298  cout << "-- N SingleTrackMuMatched = " << NztmMatch << endl;
299  cout << "-----N SinglStandAloneMuMatched = " << NzsmMatch << endl;
300  cout << "-----N SingleStandAloneOverlapMuMatched = " << NzsnomMatch << endl;
301  cout << "------- N MuMu Matched = " << NzmmMatch << endl;
302 }

References gather_cfg::cout, h_zMuMu_mass_, h_zMuMuMatched_mass_, h_zMuSingleStandAlone_mass_, h_zMuSingleStandAloneMatched_mass_, h_zMuSingleStandAloneOverlap_mass_, h_zMuSingleStandAloneOverlapMatched_mass_, h_zMuSingleTrack_mass_, and h_zMuSingleTrackMatched_mass_.

Member Data Documentation

◆ etacut_

double ZMuMuAnalyzer::etacut_
private

Definition at line 58 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ h_zMuMu_mass_

TH1D* ZMuMuAnalyzer::h_zMuMu_mass_
private

Definition at line 59 of file ZMuMuAnalyzer.cc.

Referenced by analyze(), endJob(), and ZMuMuAnalyzer().

◆ h_zMuMuMatched_mass_

TH1D * ZMuMuAnalyzer::h_zMuMuMatched_mass_
private

Definition at line 59 of file ZMuMuAnalyzer.cc.

Referenced by analyze(), endJob(), and ZMuMuAnalyzer().

◆ h_zMuSingleStandAlone_mass_

TH1D * ZMuMuAnalyzer::h_zMuSingleStandAlone_mass_
private

Definition at line 59 of file ZMuMuAnalyzer.cc.

Referenced by analyze(), endJob(), and ZMuMuAnalyzer().

◆ h_zMuSingleStandAloneMatched_mass_

TH1D * ZMuMuAnalyzer::h_zMuSingleStandAloneMatched_mass_
private

Definition at line 59 of file ZMuMuAnalyzer.cc.

Referenced by analyze(), endJob(), and ZMuMuAnalyzer().

◆ h_zMuSingleStandAloneOverlap_mass_

TH1D * ZMuMuAnalyzer::h_zMuSingleStandAloneOverlap_mass_
private

Definition at line 59 of file ZMuMuAnalyzer.cc.

Referenced by analyze(), endJob(), and ZMuMuAnalyzer().

◆ h_zMuSingleStandAloneOverlapMatched_mass_

TH1D * ZMuMuAnalyzer::h_zMuSingleStandAloneOverlapMatched_mass_
private

Definition at line 59 of file ZMuMuAnalyzer.cc.

Referenced by analyze(), endJob(), and ZMuMuAnalyzer().

◆ h_zMuSingleTrack_mass_

TH1D * ZMuMuAnalyzer::h_zMuSingleTrack_mass_
private

Definition at line 59 of file ZMuMuAnalyzer.cc.

Referenced by analyze(), endJob(), and ZMuMuAnalyzer().

◆ h_zMuSingleTrackMatched_mass_

TH1D * ZMuMuAnalyzer::h_zMuSingleTrackMatched_mass_
private

Definition at line 59 of file ZMuMuAnalyzer.cc.

Referenced by analyze(), endJob(), and ZMuMuAnalyzer().

◆ isocut_

double ZMuMuAnalyzer::isocut_
private

Definition at line 58 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ maxZmass_

double ZMuMuAnalyzer::maxZmass_
private

Definition at line 58 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ minZmass_

double ZMuMuAnalyzer::minZmass_
private

Definition at line 58 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ muIsoToken_

EDGetTokenT<IsolationCollection> ZMuMuAnalyzer::muIsoToken_
private

Definition at line 52 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ overlap_

OverlapChecker ZMuMuAnalyzer::overlap_
private

Definition at line 48 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ ptcut_

double ZMuMuAnalyzer::ptcut_
private

Definition at line 58 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ ptSTAcut_

double ZMuMuAnalyzer::ptSTAcut_
private

Definition at line 58 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ standAloneIsoToken_

EDGetTokenT<IsolationCollection> ZMuMuAnalyzer::standAloneIsoToken_
private

Definition at line 54 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ trackIsoToken_

EDGetTokenT<IsolationCollection> ZMuMuAnalyzer::trackIsoToken_
private

Definition at line 53 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ zMuMuMapToken_

EDGetTokenT<CandMatchMap> ZMuMuAnalyzer::zMuMuMapToken_
private

Definition at line 55 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ zMuMuToken_

EDGetTokenT<CandidateCollection> ZMuMuAnalyzer::zMuMuToken_
private

Definition at line 49 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ zMuStandAloneMapToken_

EDGetTokenT<CandMatchMap> ZMuMuAnalyzer::zMuStandAloneMapToken_
private

Definition at line 57 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ zMuStandAloneToken_

EDGetTokenT<CandidateCollection> ZMuMuAnalyzer::zMuStandAloneToken_
private

Definition at line 51 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ zMuTrackMapToken_

EDGetTokenT<CandMatchMap> ZMuMuAnalyzer::zMuTrackMapToken_
private

Definition at line 56 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

◆ zMuTrackToken_

EDGetTokenT<CandidateCollection> ZMuMuAnalyzer::zMuTrackToken_
private

Definition at line 50 of file ZMuMuAnalyzer.cc.

Referenced by analyze().

RazorAnalyzer.lep1
lep1
print 'MRbb(1b)',event.mr_bb
Definition: RazorAnalyzer.py:261
reco::Candidate::daughter
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
edm::AssociationMap::find
const_iterator find(const key_type &k) const
find element with specified reference key
Definition: AssociationMap.h:173
mps_fire.i
i
Definition: mps_fire.py:428
ZMuMuAnalyzer::muIsoToken_
EDGetTokenT< IsolationCollection > muIsoToken_
Definition: ZMuMuAnalyzer.cc:52
ZMuMuAnalysisNtupler_cff.zMuMu
zMuMu
zMuMu vector of PSet is common to all categories except zMuTrk category
Definition: ZMuMuAnalysisNtupler_cff.py:340
ZMuMuAnalyzer::isocut_
double isocut_
Definition: ZMuMuAnalyzer.cc:58
ZMuMuAnalyzer::h_zMuSingleStandAloneMatched_mass_
TH1D * h_zMuSingleStandAloneMatched_mass_
Definition: ZMuMuAnalyzer.cc:59
reco::Candidate::mass
virtual double mass() const =0
mass
globals_cff.id1
id1
Definition: globals_cff.py:33
gather_cfg.cout
cout
Definition: gather_cfg.py:144
ZMuMuAnalyzer::h_zMuSingleStandAlone_mass_
TH1D * h_zMuSingleStandAlone_mass_
Definition: ZMuMuAnalyzer.cc:59
edm::Handle
Definition: AssociativeIterator.h:50
edm::Ref
Definition: AssociativeIterator.h:58
ZMuMuAnalyzer::trackIsoToken_
EDGetTokenT< IsolationCollection > trackIsoToken_
Definition: ZMuMuAnalyzer.cc:53
ZMuMuAnalyzer::overlap_
OverlapChecker overlap_
Definition: ZMuMuAnalyzer.cc:48
edm::AssociationMap::end
const_iterator end() const
last iterator over the map (read only)
Definition: AssociationMap.h:171
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
ZMuMuAnalyzer::standAloneIsoToken_
EDGetTokenT< IsolationCollection > standAloneIsoToken_
Definition: ZMuMuAnalyzer.cc:54
ZMuMuAnalyzer::h_zMuSingleTrackMatched_mass_
TH1D * h_zMuSingleTrackMatched_mass_
Definition: ZMuMuAnalyzer.cc:59
ZMuMuAnalyzer::zMuMuMapToken_
EDGetTokenT< CandMatchMap > zMuMuMapToken_
Definition: ZMuMuAnalyzer.cc:55
ZMuMuAnalyzer::zMuStandAloneMapToken_
EDGetTokenT< CandMatchMap > zMuStandAloneMapToken_
Definition: ZMuMuAnalyzer.cc:57
ZMuMuAnalyzer::h_zMuMu_mass_
TH1D * h_zMuMu_mass_
Definition: ZMuMuAnalyzer.cc:59
edm::Service< TFileService >
ZMuMuAnalyzer::ptSTAcut_
double ptSTAcut_
Definition: ZMuMuAnalyzer.cc:58
edm::RefToBase::castTo
REF castTo() const
Definition: RefToBase.h:257
ZMuMuAnalyzer::minZmass_
double minZmass_
Definition: ZMuMuAnalyzer.cc:58
reco::Candidate
Definition: Candidate.h:27
ZMuMuAnalyzer::zMuStandAloneToken_
EDGetTokenT< CandidateCollection > zMuStandAloneToken_
Definition: ZMuMuAnalyzer.cc:51
ZMuMuAnalyzer::maxZmass_
double maxZmass_
Definition: ZMuMuAnalyzer.cc:58
ZMuMuAnalyzer::h_zMuSingleStandAloneOverlap_mass_
TH1D * h_zMuSingleStandAloneOverlap_mass_
Definition: ZMuMuAnalyzer.cc:59
ZMuMuAnalyzer::zMuTrackMapToken_
EDGetTokenT< CandMatchMap > zMuTrackMapToken_
Definition: ZMuMuAnalyzer.cc:56
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
TtSemiLepEvtBuilder_cfi.mt
mt
Definition: TtSemiLepEvtBuilder_cfi.py:47
reco::Candidate::masterClone
virtual const CandidateBaseRef & masterClone() const =0
ZMuMuAnalyzer::zMuTrackToken_
EDGetTokenT< CandidateCollection > zMuTrackToken_
Definition: ZMuMuAnalyzer.cc:50
ZMuMuAnalyzer::h_zMuSingleStandAloneOverlapMatched_mass_
TH1D * h_zMuSingleStandAloneOverlapMatched_mass_
Definition: ZMuMuAnalyzer.cc:59
ZMuMuAnalyzer::h_zMuMuMatched_mass_
TH1D * h_zMuMuMatched_mass_
Definition: ZMuMuAnalyzer.cc:59
globals_cff.id2
id2
Definition: globals_cff.py:34
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
RazorAnalyzer.lep2
lep2
Definition: RazorAnalyzer.py:262
edm::AssociationMap::const_iterator
const iterator
Definition: AssociationMap.h:76
edm::OwnVector::size
size_type size() const
Definition: OwnVector.h:300
ZMuMuAnalyzer::ptcut_
double ptcut_
Definition: ZMuMuAnalyzer.cc:58
edm::InputTag
Definition: InputTag.h:15
ZMuMuAnalyzer::etacut_
double etacut_
Definition: ZMuMuAnalyzer.cc:58
HLTMuonOfflineAnalyzer_cfi.zMass
zMass
Definition: HLTMuonOfflineAnalyzer_cfi.py:101
edm::ProductID
Definition: ProductID.h:27
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
ZMuMuAnalyzer::h_zMuSingleTrack_mass_
TH1D * h_zMuSingleTrack_mass_
Definition: ZMuMuAnalyzer.cc:59
ZMuMuAnalyzer::zMuMuToken_
EDGetTokenT< CandidateCollection > zMuMuToken_
Definition: ZMuMuAnalyzer.cc:49