CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HEff1DHit Class Reference

A set of histograms fo efficiency computation for 1D RecHits (producer) More...

#include <Histograms.h>

Public Member Functions

void fill (float distSimHit, float etaSimHit, float phiSimHit, bool fillRecHit)
 
 HEff1DHit (const std::string &name, DQMStore::ConcurrentBooker &booker)
 

Private Attributes

ConcurrentMonitorElement hDistMuSimHit
 
ConcurrentMonitorElement hDistRecHit
 
ConcurrentMonitorElement hEtaMuSimHit
 
ConcurrentMonitorElement hEtaRecHit
 
ConcurrentMonitorElement hPhiMuSimHit
 
ConcurrentMonitorElement hPhiRecHit
 
std::string name_
 

Detailed Description

A set of histograms fo efficiency computation for 1D RecHits (producer)

Definition at line 133 of file Histograms.h.

Constructor & Destructor Documentation

HEff1DHit::HEff1DHit ( const std::string &  name,
DQMStore::ConcurrentBooker booker 
)
inline

Definition at line 135 of file Histograms.h.

References DQMStore::ConcurrentBooker::book1D(), M_PI, dataset::name, HRes1DHit::name_, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

135  {
136  std::string pre ="1D_";
137  pre += name;
138  name_ = pre;
139  booker.setCurrentFolder("DT/1DRecHits/");
140  hEtaMuSimHit = booker.book1D(pre + "_hEtaMuSimHit", "SimHit Eta distribution", 100, -1.5, 1.5);
141  hEtaRecHit = booker.book1D(pre + "_hEtaRecHit", "SimHit Eta distribution with 1D RecHit", 100, -1.5, 1.5);
142  hPhiMuSimHit = booker.book1D(pre + "_hPhiMuSimHit", "SimHit Phi distribution", 100, -M_PI, M_PI);
143  hPhiRecHit = booker.book1D(pre + "_hPhiRecHit", "SimHit Phi distribution with 1D RecHit", 100, -M_PI, M_PI);
144  hDistMuSimHit = booker.book1D(pre + "_hDistMuSimHit", "SimHit Distance from wire distribution", 100, 0, 2.5);
145  hDistRecHit = booker.book1D(pre + "_hDistRecHit", "SimHit Distance from wire distribution with 1D RecHit", 100, 0, 2.5);
146  }
ConcurrentMonitorElement hDistRecHit
Definition: Histograms.h:171
ConcurrentMonitorElement book1D(Args &&...args)
Definition: DQMStore.h:223
ConcurrentMonitorElement hEtaRecHit
Definition: Histograms.h:165
#define M_PI
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
ConcurrentMonitorElement hEtaMuSimHit
Definition: Histograms.h:164
ConcurrentMonitorElement hDistMuSimHit
Definition: Histograms.h:170
ConcurrentMonitorElement hPhiRecHit
Definition: Histograms.h:168
std::string name_
Definition: Histograms.h:173
ConcurrentMonitorElement hPhiMuSimHit
Definition: Histograms.h:167

Member Function Documentation

void HEff1DHit::fill ( float  distSimHit,
float  etaSimHit,
float  phiSimHit,
bool  fillRecHit 
)
inline

Definition at line 148 of file Histograms.h.

Referenced by DTRecHitQuality::compute().

151  {
152 
153  hEtaMuSimHit.fill(etaSimHit);
154  hPhiMuSimHit.fill(phiSimHit);
155  hDistMuSimHit.fill(distSimHit);
156  if (fillRecHit) {
157  hEtaRecHit.fill(etaSimHit);
158  hPhiRecHit.fill(phiSimHit);
159  hDistRecHit.fill(distSimHit);
160  }
161  }
ConcurrentMonitorElement hDistRecHit
Definition: Histograms.h:171
ConcurrentMonitorElement hEtaRecHit
Definition: Histograms.h:165
ConcurrentMonitorElement hEtaMuSimHit
Definition: Histograms.h:164
ConcurrentMonitorElement hDistMuSimHit
Definition: Histograms.h:170
ConcurrentMonitorElement hPhiRecHit
Definition: Histograms.h:168
void fill(Args &&...args) const
ConcurrentMonitorElement hPhiMuSimHit
Definition: Histograms.h:167

Member Data Documentation

ConcurrentMonitorElement HEff1DHit::hDistMuSimHit
private

Definition at line 170 of file Histograms.h.

ConcurrentMonitorElement HEff1DHit::hDistRecHit
private

Definition at line 171 of file Histograms.h.

ConcurrentMonitorElement HEff1DHit::hEtaMuSimHit
private

Definition at line 164 of file Histograms.h.

ConcurrentMonitorElement HEff1DHit::hEtaRecHit
private

Definition at line 165 of file Histograms.h.

ConcurrentMonitorElement HEff1DHit::hPhiMuSimHit
private

Definition at line 167 of file Histograms.h.

ConcurrentMonitorElement HEff1DHit::hPhiRecHit
private

Definition at line 168 of file Histograms.h.

std::string HEff1DHit::name_
private

Definition at line 173 of file Histograms.h.