CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
GlobalMuonMatchAnalyzer Class Reference

#include <GlobalMuonMatchAnalyzer.h>

Inheritance diagram for GlobalMuonMatchAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 GlobalMuonMatchAnalyzer (const edm::ParameterSet &)
 
 ~GlobalMuonMatchAnalyzer ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
virtual void beginRun (const edm::Run &, const edm::EventSetup &)
 
void computeEfficiencyEta (MonitorElement *, MonitorElement *recoTH2, MonitorElement *simTH2)
 
void computeEfficiencyPt (MonitorElement *, MonitorElement *recoTH2, MonitorElement *simTH2)
 
virtual void endJob ()
 
virtual void endRun ()
 

Private Attributes

DQMStoredbe_
 
edm::InputTag glbName_
 
edm::EDGetTokenT< edm::View
< reco::Track > > 
glbToken_
 
MonitorElementh_effic
 
MonitorElementh_efficPt
 
MonitorElementh_fake
 
MonitorElementh_fakeMatch
 
MonitorElementh_fakePt
 
MonitorElementh_goodMatch
 
MonitorElementh_goodMatchSim
 
MonitorElementh_shouldMatch
 
MonitorElementh_staOnlySim
 
MonitorElementh_tkOnlySim
 
MonitorElementh_totReco
 
const TrackAssociatorBasemuAssociator_
 
std::string muAssociatorName_
 
std::string out
 
edm::InputTag staName_
 
edm::EDGetTokenT< edm::View
< reco::Track > > 
staToken_
 
const TrackAssociatorBasetkAssociator_
 
std::string tkAssociatorName_
 
edm::InputTag tkName_
 
edm::EDGetTokenT< edm::View
< reco::Track > > 
tkToken_
 
edm::InputTag tpName_
 
edm::EDGetTokenT< edm::View
< reco::Track > > 
tpToken_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
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 ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
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)
 

Detailed Description

Author
Adam Everett Purdue University

Definition at line 43 of file GlobalMuonMatchAnalyzer.h.

Constructor & Destructor Documentation

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

Class: GlobalMuonMatchAnalyzer

Authors :

Author
Adam Everett - Purdue University

Definition at line 38 of file GlobalMuonMatchAnalyzer.cc.

References dbe_, edm::ParameterSet::getUntrackedParameter(), glbName_, glbToken_, muAssociatorName_, cppFunctionSkipper::operator, out, staName_, staToken_, AlCaHLTBitMon_QueryRunRegistry::string, tkAssociatorName_, tkName_, tkToken_, tpName_, and tpToken_.

40 {
41  //now do what ever initialization is needed
42  tkAssociatorName_ = iConfig.getUntrackedParameter<std::string>("tkAssociator");
43  muAssociatorName_ = iConfig.getUntrackedParameter<std::string>("muAssociator");
44 
45  tpName_ = iConfig.getUntrackedParameter<edm::InputTag>("tpLabel");
46  tkName_ = iConfig.getUntrackedParameter<edm::InputTag>("tkLabel");
47  staName_ = iConfig.getUntrackedParameter<edm::InputTag>("muLabel");
48  glbName_ = iConfig.getUntrackedParameter<edm::InputTag>("glbLabel");
49 
50  out = iConfig.getUntrackedParameter<std::string>("out");
52 
53  tpToken_ = consumes<edm::View<reco::Track> >(tpName_);
54  tkToken_ = consumes<edm::View<reco::Track> >(tkName_);
55  staToken_ = consumes<edm::View<reco::Track> >(staName_);
56  glbToken_ = consumes<edm::View<reco::Track> >(glbName_);
57 }
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< edm::View< reco::Track > > glbToken_
edm::EDGetTokenT< edm::View< reco::Track > > staToken_
edm::EDGetTokenT< edm::View< reco::Track > > tpToken_
edm::EDGetTokenT< edm::View< reco::Track > > tkToken_
GlobalMuonMatchAnalyzer::~GlobalMuonMatchAnalyzer ( )

Definition at line 60 of file GlobalMuonMatchAnalyzer.cc.

61 {
62 
63  // do anything here that needs to be done at desctruction time
64  // (e.g. close files, deallocate resources etc.)
65 
66 }

Member Function Documentation

void GlobalMuonMatchAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Implements edm::EDAnalyzer.

Definition at line 75 of file GlobalMuonMatchAnalyzer.cc.

References TrackAssociatorBase::associateRecoToSim(), TrackAssociatorBase::associateSimToReco(), reco::TrackBase::eta(), MonitorElement::Fill(), edm::Event::getByToken(), glbToken_, h_fakeMatch, h_goodMatch, h_goodMatchSim, h_shouldMatch, h_staOnlySim, h_tkOnlySim, h_totReco, i, electronStore::links, muAssociator_, reco::TrackBase::pt(), dt_dqm_sourceclient_common_cff::reco, staToken_, tkAssociator_, tkToken_, and tpToken_.

76 {
77  using namespace edm;
78  using namespace reco;
79 
81  iEvent.getByToken(tpToken_,tpHandle);
82  const TrackingParticleCollection tpColl = *(tpHandle.product());
83 
85  iEvent.getByToken(glbToken_,muHandle);
86  const reco::MuonTrackLinksCollection muColl = *(muHandle.product());
87 
88  Handle<View<Track> > staHandle;
89  iEvent.getByToken(staToken_,staHandle);
90  // const reco::TrackCollection staColl = *(staHandle.product());
91 
92  Handle<View<Track> > glbHandle;
93  iEvent.getByToken(glbToken_,glbHandle);
94  // const reco::TrackCollection glbColl = *(glbHandle.product());
95 
96  Handle<View<Track> > tkHandle;
97  iEvent.getByToken(tkToken_,tkHandle);
98  // const reco::TrackCollection mtkColl = *(tkHandle.product());
99 
100  reco::RecoToSimCollection tkrecoToSimCollection;
101  reco::SimToRecoCollection tksimToRecoCollection;
102  tkrecoToSimCollection = tkAssociator_->associateRecoToSim(tkHandle,tpHandle,&iEvent,&iSetup);
103  tksimToRecoCollection = tkAssociator_->associateSimToReco(tkHandle,tpHandle,&iEvent,&iSetup);
104 
105  reco::RecoToSimCollection starecoToSimCollection;
106  reco::SimToRecoCollection stasimToRecoCollection;
107  starecoToSimCollection = muAssociator_->associateRecoToSim(staHandle,tpHandle,&iEvent,&iSetup);
108  stasimToRecoCollection = muAssociator_->associateSimToReco(staHandle,tpHandle,&iEvent,&iSetup);
109 
110  reco::RecoToSimCollection glbrecoToSimCollection;
111  reco::SimToRecoCollection glbsimToRecoCollection;
112  glbrecoToSimCollection = muAssociator_->associateRecoToSim(glbHandle,tpHandle,&iEvent,&iSetup);
113  glbsimToRecoCollection = muAssociator_->associateSimToReco(glbHandle,tpHandle,&iEvent,&iSetup);
114 
115 
116  for (TrackingParticleCollection::size_type i=0; i<tpColl.size(); ++i){
117  TrackingParticleRef tp(tpHandle,i);
118 
119  std::vector<std::pair<RefToBase<Track>, double> > rvGlb;
120  RefToBase<Track> rGlb;
121  if(glbsimToRecoCollection.find(tp) != glbsimToRecoCollection.end()){
122  rvGlb = glbsimToRecoCollection[tp];
123  if(rvGlb.size() != 0) {
124  rGlb = rvGlb.begin()->first;
125  }
126  }
127 
128  std::vector<std::pair<RefToBase<Track>, double> > rvSta;
129  RefToBase<Track> rSta;
130  if(stasimToRecoCollection.find(tp) != stasimToRecoCollection.end()){
131  rvSta = stasimToRecoCollection[tp];
132  if(rvSta.size() != 0) {
133  rSta = rvSta.begin()->first;
134  }
135  }
136 
137  std::vector<std::pair<RefToBase<Track>, double> > rvTk;
138  RefToBase<Track> rTk;
139  if(tksimToRecoCollection.find(tp) != tksimToRecoCollection.end()){
140  rvTk = tksimToRecoCollection[tp];
141  if(rvTk.size() != 0) {
142  rTk = rvTk.begin()->first;
143  }
144  }
145 
146  if( rvSta.size() != 0 && rvTk.size() != 0 ){
147  //should have matched
148  h_shouldMatch->Fill(rTk->eta(),rTk->pt());
149  }
150 
151  for ( reco::MuonTrackLinksCollection::const_iterator links = muHandle->begin(); links != muHandle->end(); ++links ) {
152  if( rGlb == RefToBase<Track>(links->globalTrack() ) ) {
153  if( RefToBase<Track>(links->trackerTrack() ) == rTk &&
154  RefToBase<Track>(links->standAloneTrack() ) == rSta ) {
155  //goodMatch
156  h_goodMatchSim->Fill(rGlb->eta(),rGlb->pt());
157  }
158  if ( RefToBase<Track>(links->trackerTrack() ) == rTk &&
159  RefToBase<Track>(links->standAloneTrack() ) != rSta ) {
160  //tkOnlyMatch
161  h_tkOnlySim->Fill(rGlb->eta(),rGlb->pt());
162  }
163  if ( RefToBase<Track>(links->standAloneTrack() ) == rSta &&
164  RefToBase<Track>(links->trackerTrack() ) != rTk ) {
165  //staOnlyMatch
166  h_staOnlySim->Fill(rGlb->eta(),rGlb->pt());
167  }
168  }
169  }
170 
171  }
172 
174 
175  for ( reco::MuonTrackLinksCollection::const_iterator links = muHandle->begin(); links != muHandle->end(); ++links ) {
176  RefToBase<Track> glbRef = RefToBase<Track>(links->globalTrack() );
177  RefToBase<Track> staRef = RefToBase<Track>(links->standAloneTrack() );
178  RefToBase<Track> tkRef = RefToBase<Track>(links->trackerTrack() );
179 
180  std::vector<std::pair<TrackingParticleRef, double> > tp1;
181  TrackingParticleRef tp1r;
182  if(glbrecoToSimCollection.find(glbRef) != glbrecoToSimCollection.end()){
183  tp1 = glbrecoToSimCollection[glbRef];
184  if(tp1.size() != 0) {
185  tp1r = tp1.begin()->first;
186  }
187  }
188 
189  std::vector<std::pair<TrackingParticleRef, double> > tp2;
190  TrackingParticleRef tp2r;
191  if(starecoToSimCollection.find(staRef) != starecoToSimCollection.end()){
192  tp2 = starecoToSimCollection[staRef];
193  if(tp2.size() != 0) {
194  tp2r = tp2.begin()->first;
195  }
196  }
197 
198  std::vector<std::pair<TrackingParticleRef, double> > tp3;
199  TrackingParticleRef tp3r;
200  if(tkrecoToSimCollection.find(tkRef) != tkrecoToSimCollection.end()){
201  tp3 = tkrecoToSimCollection[tkRef];
202  if(tp3.size() != 0) {
203  tp3r = tp3.begin()->first;
204  }
205  }
206 
207 
208  if(tp1.size() != 0) {
209  //was reconstructed
210  h_totReco->Fill(glbRef->eta(),glbRef->pt());
211  if(tp2r == tp3r) { // && tp1r == tp3r) {
212  //came from same TP
213  h_goodMatch->Fill(glbRef->eta(),glbRef->pt());
214  } else {
215  //mis-match
216  h_fakeMatch->Fill(glbRef->eta(),glbRef->pt());
217  }
218  }
219 
220  }
221 
222 
223 }
int i
Definition: DBlmapReader.cc:9
const TrackAssociatorBase * muAssociator_
std::vector< TrackingParticle > TrackingParticleCollection
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:434
uint16_t size_type
std::vector< MuonTrackLinks > MuonTrackLinksCollection
collection of MuonTrackLinks
Definition: MuonFwd.h:22
void Fill(long long x)
double eta() const
pseudorapidity of momentum vector
Definition: TrackBase.h:139
edm::EDGetTokenT< edm::View< reco::Track > > glbToken_
double pt() const
track transverse momentum
Definition: TrackBase.h:129
edm::EDGetTokenT< edm::View< reco::Track > > staToken_
virtual reco::RecoToSimCollection associateRecoToSim(edm::Handle< edm::View< reco::Track > > &tCH, edm::Handle< TrackingParticleCollection > &tPCH, const edm::Event *event, const edm::EventSetup *setup) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
virtual reco::SimToRecoCollection associateSimToReco(edm::Handle< edm::View< reco::Track > > &tCH, edm::Handle< TrackingParticleCollection > &tPCH, const edm::Event *event, const edm::EventSetup *setup) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
const TrackAssociatorBase * tkAssociator_
edm::EDGetTokenT< edm::View< reco::Track > > tpToken_
edm::EDGetTokenT< edm::View< reco::Track > > tkToken_
void GlobalMuonMatchAnalyzer::beginJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 228 of file GlobalMuonMatchAnalyzer.cc.

229 {
230 }
void GlobalMuonMatchAnalyzer::beginRun ( const edm::Run ,
const edm::EventSetup setup 
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 243 of file GlobalMuonMatchAnalyzer.cc.

References DQMStore::book1D(), DQMStore::book2D(), DQMStore::cd(), dbe_, TrackerOfflineValidation_Dqm_cff::dirName, edm::EventSetup::get(), h_effic, h_efficPt, h_fake, h_fakeMatch, h_fakePt, h_goodMatch, h_goodMatchSim, h_shouldMatch, h_staOnlySim, h_tkOnlySim, h_totReco, muAssociator_, muAssociatorName_, edm::ESHandle< class >::product(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, tkAssociator_, and tkAssociatorName_.

244 {
245  // Tk Associator
246  edm::ESHandle<TrackAssociatorBase> tkassociatorHandle;
247  setup.get<TrackAssociatorRecord>().get(tkAssociatorName_,tkassociatorHandle);
248  tkAssociator_ = tkassociatorHandle.product();
249 
250  // Mu Associator
251  edm::ESHandle<TrackAssociatorBase> muassociatorHandle;
252  setup.get<TrackAssociatorRecord>().get(muAssociatorName_,muassociatorHandle);
253  muAssociator_ = muassociatorHandle.product();
254  dbe_->cd();
255  std::string dirName="Matcher/";
256  dbe_->setCurrentFolder("RecoMuonV/Matcher");
257 
258  h_shouldMatch = dbe_->book2D("h_shouldMatch","SIM associated to Tk and Sta",50,-2.5,2.5,100,0.,500.);
259  h_goodMatchSim = dbe_->book2D("h_goodMatchSim","SIM associated to Glb Sta Tk",50,-2.5,2.5,100,0.,500.);
260  h_tkOnlySim = dbe_->book2D("h_tkOnlySim","SIM associated to Glb Tk",50,-2.5,2.5,100,0.,500.);
261  h_staOnlySim = dbe_->book2D("h_staOnlySim","SIM associated to Glb Sta",50,-2.5,2.5,100,0.,500.);
262 
263  h_totReco = dbe_->book2D("h_totReco","Total Glb Reconstructed",50,-2.5,2.5,100,0.,500.);
264  h_goodMatch = dbe_->book2D("h_goodMatch","Sta and Tk from same SIM",50,-2.5,2.5,100, 0., 500.);
265  h_fakeMatch = dbe_->book2D("h_fakeMatch","Sta and Tk not from same SIM",50,-2.5,2.5,100,0.,500.);
266 
267  h_effic = dbe_->book1D("h_effic","Efficiency vs #eta",50,-2.5,2.5);
268  h_efficPt = dbe_->book1D("h_efficPt","Efficiency vs p_{T}",100,0.,100.);
269 
270  h_fake = dbe_->book1D("h_fake","Fake fraction vs #eta",50,-2.5,2.5);
271  h_fakePt = dbe_->book1D("h_fakePt","Fake fraction vs p_{T}",100,0.,100.);
272 
273 }
const TrackAssociatorBase * muAssociator_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:872
void cd(void)
go to top directory (ie. root)
Definition: DQMStore.cc:561
const T & get() const
Definition: EventSetup.h:55
T const * product() const
Definition: ESHandle.h:62
const TrackAssociatorBase * tkAssociator_
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:584
void GlobalMuonMatchAnalyzer::computeEfficiencyEta ( MonitorElement effHist,
MonitorElement recoTH2,
MonitorElement simTH2 
)
private

Definition at line 277 of file GlobalMuonMatchAnalyzer.cc.

References newFWLiteAna::bin, relativeConstraints::error, MonitorElement::getTH2F(), dt_dqm_sourceclient_common_cff::reco, MonitorElement::setBinContent(), MonitorElement::setBinError(), and mathSSE::sqrt().

Referenced by endRun().

277  {
278  TH2F * h1 = recoTH2->getTH2F();
279  TH1D* reco = h1->ProjectionX();
280 
281  TH2F * h2 =simTH2->getTH2F();
282  TH1D* sim = h2 ->ProjectionX();
283 
284 
285  TH1F *hEff = (TH1F*) reco->Clone();
286 
287  hEff->Divide(sim);
288 
289  hEff->SetName("tmp_"+TString(reco->GetName()));
290 
291  // Set the error accordingly to binomial statistics
292  int nBinsEta = hEff->GetNbinsX();
293  for(int bin = 1; bin <= nBinsEta; bin++) {
294  float nSimHit = sim->GetBinContent(bin);
295  float eff = hEff->GetBinContent(bin);
296  float error = 0;
297  if(nSimHit != 0 && eff <= 1) {
298  error = sqrt(eff*(1-eff)/nSimHit);
299  }
300  hEff->SetBinError(bin, error);
301  effHist->setBinContent(bin,eff);
302  effHist->setBinError(bin,error);
303  }
304 
305 }
void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: sim.h:19
T sqrt(T t)
Definition: SSEVec.h:48
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
TH2F * getTH2F(void) const
void GlobalMuonMatchAnalyzer::computeEfficiencyPt ( MonitorElement effHist,
MonitorElement recoTH2,
MonitorElement simTH2 
)
private

Definition at line 307 of file GlobalMuonMatchAnalyzer.cc.

References newFWLiteAna::bin, relativeConstraints::error, MonitorElement::getTH2F(), dt_dqm_sourceclient_common_cff::reco, MonitorElement::setBinContent(), MonitorElement::setBinError(), and mathSSE::sqrt().

Referenced by endRun().

307  {
308  TH2F * h1 = recoTH2->getTH2F();
309  TH1D* reco = h1->ProjectionY();
310 
311  TH2F * h2 = simTH2->getTH2F();
312  TH1D* sim = h2 ->ProjectionY();
313 
314 
315  TH1F *hEff = (TH1F*) reco->Clone();
316 
317  hEff->Divide(sim);
318 
319  hEff->SetName("tmp_"+TString(reco->GetName()));
320 
321  // Set the error accordingly to binomial statistics
322  int nBinsPt = hEff->GetNbinsX();
323  for(int bin = 1; bin <= nBinsPt; bin++) {
324  float nSimHit = sim->GetBinContent(bin);
325  float eff = hEff->GetBinContent(bin);
326  float error = 0;
327  if(nSimHit != 0 && eff <= 1) {
328  error = sqrt(eff*(1-eff)/nSimHit);
329  }
330  hEff->SetBinError(bin, error);
331  effHist->setBinContent(bin,eff);
332  effHist->setBinError(bin,error);
333  }
334 
335 }
void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: sim.h:19
T sqrt(T t)
Definition: SSEVec.h:48
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
TH2F * getTH2F(void) const
void GlobalMuonMatchAnalyzer::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 231 of file GlobalMuonMatchAnalyzer.cc.

231 {}
void GlobalMuonMatchAnalyzer::endRun ( void  )
privatevirtual

Definition at line 233 of file GlobalMuonMatchAnalyzer.cc.

References computeEfficiencyEta(), computeEfficiencyPt(), dbe_, h_effic, h_efficPt, h_fake, h_fakeMatch, h_fakePt, h_goodMatchSim, h_shouldMatch, h_totReco, out, and DQMStore::save().

233  {
236 
239 
240  if( out.size() != 0 && dbe_ ) dbe_->save(out);
241 }
void computeEfficiencyPt(MonitorElement *, MonitorElement *recoTH2, MonitorElement *simTH2)
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
Definition: DQMStore.cc:2296
void computeEfficiencyEta(MonitorElement *, MonitorElement *recoTH2, MonitorElement *simTH2)

Member Data Documentation

DQMStore* GlobalMuonMatchAnalyzer::dbe_
private

Definition at line 60 of file GlobalMuonMatchAnalyzer.h.

Referenced by beginRun(), endRun(), and GlobalMuonMatchAnalyzer().

edm::InputTag GlobalMuonMatchAnalyzer::glbName_
private

Definition at line 69 of file GlobalMuonMatchAnalyzer.h.

Referenced by GlobalMuonMatchAnalyzer().

edm::EDGetTokenT<edm::View<reco::Track> > GlobalMuonMatchAnalyzer::glbToken_
private

Definition at line 70 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), and GlobalMuonMatchAnalyzer().

MonitorElement* GlobalMuonMatchAnalyzer::h_effic
private

Definition at line 64 of file GlobalMuonMatchAnalyzer.h.

Referenced by beginRun(), and endRun().

MonitorElement * GlobalMuonMatchAnalyzer::h_efficPt
private

Definition at line 64 of file GlobalMuonMatchAnalyzer.h.

Referenced by beginRun(), and endRun().

MonitorElement* GlobalMuonMatchAnalyzer::h_fake
private

Definition at line 65 of file GlobalMuonMatchAnalyzer.h.

Referenced by beginRun(), and endRun().

MonitorElement * GlobalMuonMatchAnalyzer::h_fakeMatch
private

Definition at line 63 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), beginRun(), and endRun().

MonitorElement * GlobalMuonMatchAnalyzer::h_fakePt
private

Definition at line 65 of file GlobalMuonMatchAnalyzer.h.

Referenced by beginRun(), and endRun().

MonitorElement * GlobalMuonMatchAnalyzer::h_goodMatch
private

Definition at line 63 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), and beginRun().

MonitorElement * GlobalMuonMatchAnalyzer::h_goodMatchSim
private

Definition at line 62 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), beginRun(), and endRun().

MonitorElement* GlobalMuonMatchAnalyzer::h_shouldMatch
private

Definition at line 62 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), beginRun(), and endRun().

MonitorElement * GlobalMuonMatchAnalyzer::h_staOnlySim
private

Definition at line 62 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), and beginRun().

MonitorElement * GlobalMuonMatchAnalyzer::h_tkOnlySim
private

Definition at line 62 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), and beginRun().

MonitorElement* GlobalMuonMatchAnalyzer::h_totReco
private

Definition at line 63 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), beginRun(), and endRun().

const TrackAssociatorBase * GlobalMuonMatchAnalyzer::muAssociator_
private

Definition at line 67 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), and beginRun().

std::string GlobalMuonMatchAnalyzer::muAssociatorName_
private

Definition at line 68 of file GlobalMuonMatchAnalyzer.h.

Referenced by beginRun(), and GlobalMuonMatchAnalyzer().

std::string GlobalMuonMatchAnalyzer::out
private

Definition at line 59 of file GlobalMuonMatchAnalyzer.h.

Referenced by endRun(), and GlobalMuonMatchAnalyzer().

edm::InputTag GlobalMuonMatchAnalyzer::staName_
private

Definition at line 69 of file GlobalMuonMatchAnalyzer.h.

Referenced by GlobalMuonMatchAnalyzer().

edm::EDGetTokenT<edm::View<reco::Track> > GlobalMuonMatchAnalyzer::staToken_
private

Definition at line 70 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), and GlobalMuonMatchAnalyzer().

const TrackAssociatorBase* GlobalMuonMatchAnalyzer::tkAssociator_
private

Definition at line 67 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), and beginRun().

std::string GlobalMuonMatchAnalyzer::tkAssociatorName_
private

Definition at line 68 of file GlobalMuonMatchAnalyzer.h.

Referenced by beginRun(), and GlobalMuonMatchAnalyzer().

edm::InputTag GlobalMuonMatchAnalyzer::tkName_
private

Definition at line 69 of file GlobalMuonMatchAnalyzer.h.

Referenced by GlobalMuonMatchAnalyzer().

edm::EDGetTokenT<edm::View<reco::Track> > GlobalMuonMatchAnalyzer::tkToken_
private

Definition at line 70 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), and GlobalMuonMatchAnalyzer().

edm::InputTag GlobalMuonMatchAnalyzer::tpName_
private

Definition at line 69 of file GlobalMuonMatchAnalyzer.h.

Referenced by GlobalMuonMatchAnalyzer().

edm::EDGetTokenT<edm::View<reco::Track> > GlobalMuonMatchAnalyzer::tpToken_
private

Definition at line 70 of file GlobalMuonMatchAnalyzer.h.

Referenced by analyze(), and GlobalMuonMatchAnalyzer().