CMS 3D CMS Logo

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

A set of histograms for efficiency 4D RecHits (producer) More...

#include <Histograms.h>

Public Member Functions

void fill (float etaSimSegm, float phiSimSegm, float xSimSegm, float ySimSegm, float alphaSimSegm, float betaSimSegm, bool fillRecHit, int nSeg)
 
 HEff4DHit (const std::string &name, DQMStore::ConcurrentBooker &booker)
 

Private Attributes

ConcurrentMonitorElement hAlphaRecHit
 
ConcurrentMonitorElement hAlphaSimSegm
 
ConcurrentMonitorElement hBetaRecHit
 
ConcurrentMonitorElement hBetaSimSegm
 
ConcurrentMonitorElement hEtaRecHit
 
ConcurrentMonitorElement hEtaSimSegm
 
ConcurrentMonitorElement hNSeg
 
ConcurrentMonitorElement hPhiRecHit
 
ConcurrentMonitorElement hPhiSimSegm
 
ConcurrentMonitorElement hXRecHit
 
ConcurrentMonitorElement hXSimSegm
 
ConcurrentMonitorElement hYRecHit
 
ConcurrentMonitorElement hYSimSegm
 
std::string name_
 

Detailed Description

A set of histograms for efficiency 4D RecHits (producer)

Definition at line 699 of file Histograms.h.

Constructor & Destructor Documentation

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

Definition at line 701 of file Histograms.h.

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

701  {
702  std::string pre ="4D_";
703  pre += name;
704  name_ = pre;
705  booker.setCurrentFolder("DT/4DSegments/");
706  hEtaSimSegm = booker.book1D(pre + "_hEtaSimSegm", "Eta of SimHit segment", 100, -1.5, 1.5);
707  hEtaRecHit = booker.book1D(pre + "_hEtaRecHit", "Eta distribution of SimHit segment with 4D RecHit", 100, -1.5, 1.5);
708 
709  hPhiSimSegm = booker.book1D(pre + "_hPhiSimSegm", "Phi of SimHit segment", 100, -M_PI, M_PI);
710  hPhiRecHit = booker.book1D(pre + "_hPhiRecHit", "Phi distribution of SimHit segment with 4D RecHit", 100, -M_PI, M_PI);
711 
712  hXSimSegm = booker.book1D(pre + "_hXSimSegm", "X position in Chamber of SimHit segment (cm)", 100, -200, 200);
713  hXRecHit = booker.book1D(pre + "_hXRecHit", "X position in Chamber of SimHit segment with 4D RecHit (cm)", 100, -200, 200);
714 
715  hYSimSegm = booker.book1D(pre + "_hYSimSegm", "Y position in Chamber of SimHit segment (cm)", 100, -200, 200);
716  hYRecHit = booker.book1D(pre + "_hYRecHit", "Y position in Chamber of SimHit segment with 4D RecHit (cm)", 100, -200, 200);
717 
718  hAlphaSimSegm = booker.book1D(pre + "_hAlphaSimSegm", "Alpha of SimHit segment (rad)", 100, -1.5, 1.5);
719  hAlphaRecHit = booker.book1D(pre + "_hAlphaRecHit", "Alpha of SimHit segment with 4D RecHit (rad)", 100, -1.5, 1.5);
720 
721  hBetaSimSegm = booker.book1D(pre + "_hBetaSimSegm", "Beta of SimHit segment (rad)", 100, -2, 2);
722  hBetaRecHit = booker.book1D(pre + "_hBetaRecHit", "Beta of SimHit segment with 4D RecHit (rad)", 100, -2, 2);
723 
724  hNSeg = booker.book1D(pre + "_hNSeg", "Number of rec segment per sim seg", 20, 0, 20);
725 
726  }
ConcurrentMonitorElement hNSeg
Definition: Histograms.h:769
std::string name_
Definition: Histograms.h:771
ConcurrentMonitorElement hAlphaRecHit
Definition: Histograms.h:765
ConcurrentMonitorElement hPhiSimSegm
Definition: Histograms.h:758
ConcurrentMonitorElement hBetaSimSegm
Definition: Histograms.h:766
ConcurrentMonitorElement hEtaRecHit
Definition: Histograms.h:757
ConcurrentMonitorElement hYSimSegm
Definition: Histograms.h:762
ConcurrentMonitorElement hXRecHit
Definition: Histograms.h:761
ConcurrentMonitorElement book1D(Args &&...args)
Definition: DQMStore.h:223
ConcurrentMonitorElement hXSimSegm
Definition: Histograms.h:760
ConcurrentMonitorElement hYRecHit
Definition: Histograms.h:763
#define M_PI
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
ConcurrentMonitorElement hPhiRecHit
Definition: Histograms.h:759
ConcurrentMonitorElement hAlphaSimSegm
Definition: Histograms.h:764
ConcurrentMonitorElement hBetaRecHit
Definition: Histograms.h:767
ConcurrentMonitorElement hEtaSimSegm
Definition: Histograms.h:756

Member Function Documentation

void HEff4DHit::fill ( float  etaSimSegm,
float  phiSimSegm,
float  xSimSegm,
float  ySimSegm,
float  alphaSimSegm,
float  betaSimSegm,
bool  fillRecHit,
int  nSeg 
)
inline

Definition at line 728 of file Histograms.h.

Referenced by DTSegment4DQuality::dqmAnalyze().

736  {
737  hEtaSimSegm.fill(etaSimSegm);
738  hPhiSimSegm.fill(phiSimSegm);
739  hXSimSegm.fill(xSimSegm);
740  hYSimSegm.fill(ySimSegm);
741  hAlphaSimSegm.fill(alphaSimSegm);
742  hBetaSimSegm.fill(betaSimSegm);
743  hNSeg.fill(nSeg);
744 
745  if (fillRecHit) {
746  hEtaRecHit.fill(etaSimSegm);
747  hPhiRecHit.fill(phiSimSegm);
748  hXRecHit.fill(xSimSegm);
749  hYRecHit.fill(ySimSegm);
750  hAlphaRecHit.fill(alphaSimSegm);
751  hBetaRecHit.fill(betaSimSegm);
752  }
753  }
ConcurrentMonitorElement hNSeg
Definition: Histograms.h:769
ConcurrentMonitorElement hAlphaRecHit
Definition: Histograms.h:765
ConcurrentMonitorElement hPhiSimSegm
Definition: Histograms.h:758
ConcurrentMonitorElement hBetaSimSegm
Definition: Histograms.h:766
ConcurrentMonitorElement hEtaRecHit
Definition: Histograms.h:757
ConcurrentMonitorElement hYSimSegm
Definition: Histograms.h:762
ConcurrentMonitorElement hXRecHit
Definition: Histograms.h:761
ConcurrentMonitorElement hXSimSegm
Definition: Histograms.h:760
ConcurrentMonitorElement hYRecHit
Definition: Histograms.h:763
ConcurrentMonitorElement hPhiRecHit
Definition: Histograms.h:759
void fill(Args &&...args) const
ConcurrentMonitorElement hAlphaSimSegm
Definition: Histograms.h:764
ConcurrentMonitorElement hBetaRecHit
Definition: Histograms.h:767
ConcurrentMonitorElement hEtaSimSegm
Definition: Histograms.h:756

Member Data Documentation

ConcurrentMonitorElement HEff4DHit::hAlphaRecHit
private

Definition at line 765 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hAlphaSimSegm
private

Definition at line 764 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hBetaRecHit
private

Definition at line 767 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hBetaSimSegm
private

Definition at line 766 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hEtaRecHit
private

Definition at line 757 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hEtaSimSegm
private

Definition at line 756 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hNSeg
private

Definition at line 769 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hPhiRecHit
private

Definition at line 759 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hPhiSimSegm
private

Definition at line 758 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hXRecHit
private

Definition at line 761 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hXSimSegm
private

Definition at line 760 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hYRecHit
private

Definition at line 763 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hYSimSegm
private

Definition at line 762 of file Histograms.h.

std::string HEff4DHit::name_
private

Definition at line 771 of file Histograms.h.