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

Constructor & Destructor Documentation

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

Definition at line 294 of file Histograms.h.

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

294  {
295  std::string pre ="2D_";
296  pre += name;
297  name_ = pre;
298  booker.setCurrentFolder("DT/2DSegments/");
299  hEtaSimSegm = booker.book1D(pre + "_hEtaSimSegm", "Eta of SimHit segment", 100, -1.5, 1.5);
300  hEtaRecHit = booker.book1D(pre + "_hEtaRecHit", "Eta distribution of SimHit segment with 2D RecHit", 100, -1.5, 1.5);
301  hPhiSimSegm = booker.book1D(pre + "_hPhiSimSegm", "Phi of SimHit segment", 100, -M_PI, M_PI);
302  hPhiRecHit = booker.book1D(pre + "_hPhiRecHit", "Phi distribution of SimHit segment with 2D RecHit", 100, -M_PI, M_PI);
303  hPosSimSegm = booker.book1D(pre + "_hPosSimSegm", "Position in SL of SimHit segment (cm)", 100, -250, 250);
304  hPosRecHit = booker.book1D(pre + "_hPosRecHit", "Position in SL of SimHit segment with 2D RecHit (cm)", 100, -250, 250);
305  hAngleSimSegm = booker.book1D(pre + "_hAngleSimSegm", "Angle of SimHit segment (rad)", 100, -2, 2);
306  hAngleRecHit = booker.book1D(pre + "_hAngleRecHit", "Angle of SimHit segment with 2D RecHit (rad)", 100, -2, 2);
307  }
ConcurrentMonitorElement hEtaSimSegm
Definition: Histograms.h:329
ConcurrentMonitorElement hEtaRecHit
Definition: Histograms.h:330
ConcurrentMonitorElement hPosSimSegm
Definition: Histograms.h:333
std::string name_
Definition: Histograms.h:338
ConcurrentMonitorElement hAngleSimSegm
Definition: Histograms.h:335
ConcurrentMonitorElement hPosRecHit
Definition: Histograms.h:334
ConcurrentMonitorElement hPhiRecHit
Definition: Histograms.h:332
ConcurrentMonitorElement hPhiSimSegm
Definition: Histograms.h:331
ConcurrentMonitorElement book1D(Args &&...args)
Definition: DQMStore.h:223
ConcurrentMonitorElement hAngleRecHit
Definition: Histograms.h:336
#define M_PI
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274

Member Function Documentation

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

Definition at line 309 of file Histograms.h.

Referenced by DTSegment2DQuality::dqmAnalyze().

313  {
314 
315  hEtaSimSegm.fill(etaSimSegm);
316  hPhiSimSegm.fill(phiSimSegm);
317  hPosSimSegm.fill(posSimSegm);
318  hAngleSimSegm.fill(angleSimSegm);
319 
320  if (fillRecHit) {
321  hEtaRecHit.fill(etaSimSegm);
322  hPhiRecHit.fill(phiSimSegm);
323  hPosRecHit.fill(posSimSegm);
324  hAngleRecHit.fill(angleSimSegm);
325  }
326  }
ConcurrentMonitorElement hEtaSimSegm
Definition: Histograms.h:329
ConcurrentMonitorElement hEtaRecHit
Definition: Histograms.h:330
ConcurrentMonitorElement hPosSimSegm
Definition: Histograms.h:333
ConcurrentMonitorElement hAngleSimSegm
Definition: Histograms.h:335
ConcurrentMonitorElement hPosRecHit
Definition: Histograms.h:334
ConcurrentMonitorElement hPhiRecHit
Definition: Histograms.h:332
ConcurrentMonitorElement hPhiSimSegm
Definition: Histograms.h:331
ConcurrentMonitorElement hAngleRecHit
Definition: Histograms.h:336
void fill(Args &&...args) const

Member Data Documentation

ConcurrentMonitorElement HEff2DHit::hAngleRecHit
private

Definition at line 336 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hAngleSimSegm
private

Definition at line 335 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hEtaRecHit
private

Definition at line 330 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hEtaSimSegm
private

Definition at line 329 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hPhiRecHit
private

Definition at line 332 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hPhiSimSegm
private

Definition at line 331 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hPosRecHit
private

Definition at line 334 of file Histograms.h.

ConcurrentMonitorElement HEff2DHit::hPosSimSegm
private

Definition at line 333 of file Histograms.h.

std::string HEff2DHit::name_
private

Definition at line 338 of file Histograms.h.