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 135 of file Histograms.h.

Constructor & Destructor Documentation

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

Definition at line 137 of file Histograms.h.

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

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

Member Function Documentation

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

Definition at line 151 of file Histograms.h.

Referenced by DTRecHitQuality::compute().

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

Member Data Documentation

ConcurrentMonitorElement HEff1DHit::hDistMuSimHit
private

Definition at line 169 of file Histograms.h.

ConcurrentMonitorElement HEff1DHit::hDistRecHit
private

Definition at line 170 of file Histograms.h.

ConcurrentMonitorElement HEff1DHit::hEtaMuSimHit
private

Definition at line 163 of file Histograms.h.

ConcurrentMonitorElement HEff1DHit::hEtaRecHit
private

Definition at line 164 of file Histograms.h.

ConcurrentMonitorElement HEff1DHit::hPhiMuSimHit
private

Definition at line 166 of file Histograms.h.

ConcurrentMonitorElement HEff1DHit::hPhiRecHit
private

Definition at line 167 of file Histograms.h.

std::string HEff1DHit::name_
private

Definition at line 172 of file Histograms.h.