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

Constructor & Destructor Documentation

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

Definition at line 922 of file Histograms.h.

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

922  {
923  std::string pre = "4D_";
924  pre += name;
925  name_ = pre;
926  booker.setCurrentFolder("DT/4DSegments/");
927  hEtaSimSegm = booker.book1D(pre + "_hEtaSimSegm", "Eta of SimHit segment", 100, -1.5, 1.5);
928  hEtaRecHit =
929  booker.book1D(pre + "_hEtaRecHit", "Eta distribution of SimHit segment with 4D RecHit", 100, -1.5, 1.5);
930 
931  hPhiSimSegm = booker.book1D(pre + "_hPhiSimSegm", "Phi of SimHit segment", 100, -M_PI, M_PI);
932  hPhiRecHit =
933  booker.book1D(pre + "_hPhiRecHit", "Phi distribution of SimHit segment with 4D RecHit", 100, -M_PI, M_PI);
934 
935  hXSimSegm = booker.book1D(pre + "_hXSimSegm", "X position in Chamber of SimHit segment (cm)", 100, -200, 200);
936  hXRecHit =
937  booker.book1D(pre + "_hXRecHit", "X position in Chamber of SimHit segment with 4D RecHit (cm)", 100, -200, 200);
938 
939  hYSimSegm = booker.book1D(pre + "_hYSimSegm", "Y position in Chamber of SimHit segment (cm)", 100, -200, 200);
940  hYRecHit =
941  booker.book1D(pre + "_hYRecHit", "Y position in Chamber of SimHit segment with 4D RecHit (cm)", 100, -200, 200);
942 
943  hAlphaSimSegm = booker.book1D(pre + "_hAlphaSimSegm", "Alpha of SimHit segment (rad)", 100, -1.5, 1.5);
944  hAlphaRecHit = booker.book1D(pre + "_hAlphaRecHit", "Alpha of SimHit segment with 4D RecHit (rad)", 100, -1.5, 1.5);
945 
946  hBetaSimSegm = booker.book1D(pre + "_hBetaSimSegm", "Beta of SimHit segment (rad)", 100, -2, 2);
947  hBetaRecHit = booker.book1D(pre + "_hBetaRecHit", "Beta of SimHit segment with 4D RecHit (rad)", 100, -2, 2);
948 
949  hNSeg = booker.book1D(pre + "_hNSeg", "Number of rec segment per sim seg", 20, 0, 20);
950  }
ConcurrentMonitorElement hNSeg
Definition: Histograms.h:992
std::string name_
Definition: Histograms.h:994
ConcurrentMonitorElement hAlphaRecHit
Definition: Histograms.h:988
ConcurrentMonitorElement hPhiSimSegm
Definition: Histograms.h:981
ConcurrentMonitorElement hBetaSimSegm
Definition: Histograms.h:989
ConcurrentMonitorElement hEtaRecHit
Definition: Histograms.h:980
ConcurrentMonitorElement hYSimSegm
Definition: Histograms.h:985
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
ConcurrentMonitorElement hXRecHit
Definition: Histograms.h:984
ConcurrentMonitorElement book1D(Args &&...args)
Definition: DQMStore.h:160
ConcurrentMonitorElement hXSimSegm
Definition: Histograms.h:983
ConcurrentMonitorElement hYRecHit
Definition: Histograms.h:986
#define M_PI
ConcurrentMonitorElement hPhiRecHit
Definition: Histograms.h:982
ConcurrentMonitorElement hAlphaSimSegm
Definition: Histograms.h:987
ConcurrentMonitorElement hBetaRecHit
Definition: Histograms.h:990
ConcurrentMonitorElement hEtaSimSegm
Definition: Histograms.h:979

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

Referenced by DTSegment4DQuality::dqmAnalyze().

959  {
960  hEtaSimSegm.fill(etaSimSegm);
961  hPhiSimSegm.fill(phiSimSegm);
962  hXSimSegm.fill(xSimSegm);
963  hYSimSegm.fill(ySimSegm);
964  hAlphaSimSegm.fill(alphaSimSegm);
965  hBetaSimSegm.fill(betaSimSegm);
966  hNSeg.fill(nSeg);
967 
968  if (fillRecHit) {
969  hEtaRecHit.fill(etaSimSegm);
970  hPhiRecHit.fill(phiSimSegm);
971  hXRecHit.fill(xSimSegm);
972  hYRecHit.fill(ySimSegm);
973  hAlphaRecHit.fill(alphaSimSegm);
974  hBetaRecHit.fill(betaSimSegm);
975  }
976  }
ConcurrentMonitorElement hNSeg
Definition: Histograms.h:992
ConcurrentMonitorElement hAlphaRecHit
Definition: Histograms.h:988
ConcurrentMonitorElement hPhiSimSegm
Definition: Histograms.h:981
ConcurrentMonitorElement hBetaSimSegm
Definition: Histograms.h:989
ConcurrentMonitorElement hEtaRecHit
Definition: Histograms.h:980
ConcurrentMonitorElement hYSimSegm
Definition: Histograms.h:985
ConcurrentMonitorElement hXRecHit
Definition: Histograms.h:984
ConcurrentMonitorElement hXSimSegm
Definition: Histograms.h:983
ConcurrentMonitorElement hYRecHit
Definition: Histograms.h:986
ConcurrentMonitorElement hPhiRecHit
Definition: Histograms.h:982
void fill(Args &&...args) const
ConcurrentMonitorElement hAlphaSimSegm
Definition: Histograms.h:987
ConcurrentMonitorElement hBetaRecHit
Definition: Histograms.h:990
ConcurrentMonitorElement hEtaSimSegm
Definition: Histograms.h:979

Member Data Documentation

ConcurrentMonitorElement HEff4DHit::hAlphaRecHit
private

Definition at line 988 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hAlphaSimSegm
private

Definition at line 987 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hBetaRecHit
private

Definition at line 990 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hBetaSimSegm
private

Definition at line 989 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hEtaRecHit
private

Definition at line 980 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hEtaSimSegm
private

Definition at line 979 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hNSeg
private

Definition at line 992 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hPhiRecHit
private

Definition at line 982 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hPhiSimSegm
private

Definition at line 981 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hXRecHit
private

Definition at line 984 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hXSimSegm
private

Definition at line 983 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hYRecHit
private

Definition at line 986 of file Histograms.h.

ConcurrentMonitorElement HEff4DHit::hYSimSegm
private

Definition at line 985 of file Histograms.h.

std::string HEff4DHit::name_
private

Definition at line 994 of file Histograms.h.