CMS 3D CMS Logo

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

#include <Histograms.h>

Public Member Functions

void fill (float etaSimSegm, float phiSimSegm, float posSimSegm, float angleSimSegm, bool fillRecHit)
 
 HEff2DHit (const std::string &name, DQMStore::ConcurrentBooker &booker)
 

Private Attributes

ConcurrentMonitorElement hAngleRecHit
 
ConcurrentMonitorElement hAngleSimSegm
 
ConcurrentMonitorElement hEtaRecHit
 
ConcurrentMonitorElement hEtaSimSegm
 
ConcurrentMonitorElement hPhiRecHit
 
ConcurrentMonitorElement hPhiSimSegm
 
ConcurrentMonitorElement hPosRecHit
 
ConcurrentMonitorElement hPosSimSegm
 
std::string name_
 

Detailed Description

Definition at line 319 of file Histograms.h.

Constructor & Destructor Documentation

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

Definition at line 321 of file Histograms.h.

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

321  {
322  std::string pre = "2D_";
323  pre += name;
324  name_ = pre;
325  booker.setCurrentFolder("DT/2DSegments/");
326  hEtaSimSegm = booker.book1D(pre + "_hEtaSimSegm", "Eta of SimHit segment", 100, -1.5, 1.5);
327  hEtaRecHit =
328  booker.book1D(pre + "_hEtaRecHit", "Eta distribution of SimHit segment with 2D RecHit", 100, -1.5, 1.5);
329  hPhiSimSegm = booker.book1D(pre + "_hPhiSimSegm", "Phi of SimHit segment", 100, -M_PI, M_PI);
330  hPhiRecHit =
331  booker.book1D(pre + "_hPhiRecHit", "Phi distribution of SimHit segment with 2D RecHit", 100, -M_PI, M_PI);
332  hPosSimSegm = booker.book1D(pre + "_hPosSimSegm", "Position in SL of SimHit segment (cm)", 100, -250, 250);
333  hPosRecHit =
334  booker.book1D(pre + "_hPosRecHit", "Position in SL of SimHit segment with 2D RecHit (cm)", 100, -250, 250);
335  hAngleSimSegm = booker.book1D(pre + "_hAngleSimSegm", "Angle of SimHit segment (rad)", 100, -2, 2);
336  hAngleRecHit = booker.book1D(pre + "_hAngleRecHit", "Angle of SimHit segment with 2D RecHit (rad)", 100, -2, 2);
337  }
ConcurrentMonitorElement hEtaSimSegm
Definition: Histograms.h:354
ConcurrentMonitorElement hEtaRecHit
Definition: Histograms.h:355
ConcurrentMonitorElement hPosSimSegm
Definition: Histograms.h:358
std::string name_
Definition: Histograms.h:363
ConcurrentMonitorElement hAngleSimSegm
Definition: Histograms.h:360
ConcurrentMonitorElement hPosRecHit
Definition: Histograms.h:359
ConcurrentMonitorElement hPhiRecHit
Definition: Histograms.h:357
ConcurrentMonitorElement hPhiSimSegm
Definition: Histograms.h:356
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
ConcurrentMonitorElement book1D(Args &&...args)
Definition: DQMStore.h:160
ConcurrentMonitorElement hAngleRecHit
Definition: Histograms.h:361
#define M_PI

Member Function Documentation

void HEff2DHit::fill ( float  etaSimSegm,
float  phiSimSegm,
float  posSimSegm,
float  angleSimSegm,
bool  fillRecHit 
)
inline

Definition at line 339 of file Histograms.h.

Referenced by DTSegment2DQuality::dqmAnalyze().

339  {
340  hEtaSimSegm.fill(etaSimSegm);
341  hPhiSimSegm.fill(phiSimSegm);
342  hPosSimSegm.fill(posSimSegm);
343  hAngleSimSegm.fill(angleSimSegm);
344 
345  if (fillRecHit) {
346  hEtaRecHit.fill(etaSimSegm);
347  hPhiRecHit.fill(phiSimSegm);
348  hPosRecHit.fill(posSimSegm);
349  hAngleRecHit.fill(angleSimSegm);
350  }
351  }
ConcurrentMonitorElement hEtaSimSegm
Definition: Histograms.h:354
ConcurrentMonitorElement hEtaRecHit
Definition: Histograms.h:355
ConcurrentMonitorElement hPosSimSegm
Definition: Histograms.h:358
ConcurrentMonitorElement hAngleSimSegm
Definition: Histograms.h:360
ConcurrentMonitorElement hPosRecHit
Definition: Histograms.h:359
ConcurrentMonitorElement hPhiRecHit
Definition: Histograms.h:357
ConcurrentMonitorElement hPhiSimSegm
Definition: Histograms.h:356
ConcurrentMonitorElement hAngleRecHit
Definition: Histograms.h:361
void fill(Args &&...args) const

Member Data Documentation

ConcurrentMonitorElement HEff2DHit::hAngleRecHit
private

Definition at line 361 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hAngleSimSegm
private

Definition at line 360 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hEtaRecHit
private

Definition at line 355 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hEtaSimSegm
private

Definition at line 354 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hPhiRecHit
private

Definition at line 357 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hPhiSimSegm
private

Definition at line 356 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hPosRecHit
private

Definition at line 359 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hPosSimSegm
private

Definition at line 358 of file Histograms.h.

std::string HEff2DHit::name_
private

Definition at line 363 of file Histograms.h.