369 iHists_.
h1_[
"track_pt"] = ibook.
book1D(
"track_pt",
"track p_{T};track p_{T} [GeV];n. tracks", 2000, 0, 1000);
370 iHists_.
h1_[
"track_eta"] = ibook.
book1D(
"track_eta",
"track #eta;track #eta;n. tracks", 100, -4, 4);
371 iHists_.
h1_[
"track_phi"] = ibook.
book1D(
"track_phi",
"track #phi;track #phi;n. tracks", 80, -3.2, 3.2);
373 ibook.
book1D(
"track_validhits",
"track n. valid hits;track n. valid hits;n. tracks", 50, 0, 50);
375 ibook.
book1D(
"track_chi2ndof",
"track #chi^{2}/ndf;track #chi^{2}/ndf;n. tracks", 100, 0, 5);
377 ibook.
book2D(
"track_chi2xhits_2d",
378 "track track n. hits vs track #chi^{2}/ndf;track #chi^{2};track n. valid hits;tracks",
379 100, 0, 5, 50, 0, 50);
381 "track_ptxhits_2d",
"track n. hits vs p_{T};track p_{T} [GeV];track n. valid hits;tracks", 200, 0, 100, 50, 0, 50);
383 "track_etaxhits_2d",
"track n. hits vs track #eta;track #eta;track n. valid hits;tracks", 60, -3, 3, 50, 0, 50);
385 ibook.
book2D(
"track_ptxchi2_2d",
386 "track #chi^{2}/ndf vs track p_{T};track p_{T} [GeV]; track #chi^{2}/ndf;tracks",
387 200, 0, 100, 100, 0, 5);
389 "track_ptxeta_2d",
"track #eta vs track p_{T};track p_{T} [GeV];track #eta;tracks", 200, 0, 100, 60, -3, 3);
391 "track_etaxchi2_2d",
"track #chi^{2}/ndf vs track #eta;track #eta;track #chi^{2};tracks", 60, -3, 3, 100, 0, 5);
403 for (
int l = 1;
l <=
layers.second; ++
l) {
407 if (
l > 2 &&
t ==
"s")
409 std::string locType = Form(
"%s_L%d%s", subdet.c_str(),
l,
t.c_str());
412 const char*
titles = Form(
"n.strips in %s;n.strips;n. clusters", locType.c_str());
413 iHists_.
h1_[Form(
"%s_nstrips", locType.c_str())] = ibook.
book1D(Form(
"%s_nstrips", locType.c_str()),
titles, 20, 0, 20);
415 titles = Form(
"tan(#theta_{trk}) in %s;tan(#theta_{trk});n. clusters", locType.c_str());
416 iHists_.
h1_[Form(
"%s_tanthetatrk", locType.c_str())] = ibook.
book1D(Form(
"%s_tanthetatrk", locType.c_str()),
titles, 300, -1.5, 1.5);
418 titles = Form(
"cos(#phi_{trk}) in %s;cos(#phi_{trk});n. clusters", locType.c_str());
419 iHists_.
h1_[Form(
"%s_cosphitrk", locType.c_str())] = ibook.
book1D(Form(
"%s_cosphitrk", locType.c_str()),
titles, 40, -1, 1);
421 titles = Form(
"Cluster variance (w=2) in %s;cluster variance (w=2);n. clusters", locType.c_str());
422 iHists_.
h1_[Form(
"%s_variance_w2", locType.c_str())] = ibook.
book1D(Form(
"%s_variance_w2", locType.c_str()),
titles, 100, 0, 1);
424 titles = Form(
"Cluster variance (w=3) in %s;cluster variance (w=3);n. clusters", locType.c_str());
425 iHists_.
h1_[Form(
"%s_variance_w3", locType.c_str())] = ibook.
book1D(Form(
"%s_variance_w3", locType.c_str()),
titles, 100, 0, 1);
427 titles = Form(
"tan(#theta_{trk})cos(#phi_{trk}) vs n. strips in %s;n. strips;tan(#theta_{trk})cos(#phi_{trk});n. clusters", locType.c_str());
428 iHists_.
h2_[Form(
"%s_tanthcosphtrk_nstrip", locType.c_str())] = ibook.
book2D(Form(
"%s_tanthcosphtrk_nstrip", locType.c_str()),
titles, 360, -0.9, 0.9, 20, 0, 20);
430 titles = Form(
"#theta_{trk} vs n. strips in %s;n. strips;#theta_{trk} [rad];n. clusters", locType.c_str());
431 iHists_.
h2_[Form(
"%s_thetatrk_nstrip", locType.c_str())] = ibook.
book2D(Form(
"%s_thetatrk_nstrip", locType.c_str()),
titles, 360, -0.9, 0.9, 20, 0, 20);
433 titles = Form(
"tan(#theta_{trk})cos(#phi_{trk}) vs cluster variance (w=2) in %s;cluster variance (w=2);tan(#theta_{trk})cos(#phi_{trk});n. clusters", locType.c_str());
434 iHists_.
h2_[Form(
"%s_tanthcosphtrk_var2", locType.c_str())] = ibook.
book2D(Form(
"%s_tanthcosphtrk_var2", locType.c_str()),
titles, 360, -0.9, 0.9, 50, 0, 1);
436 titles = Form(
"tan(#theta_{trk})cos(#phi_{trk}) vs cluster variance (w=3) in %s;cluster variance (w=3);tan(#theta_{trk})cos(#phi_{trk});n. clusters", locType.c_str());
437 iHists_.
h2_[Form(
"%s_tanthcosphtrk_var3", locType.c_str())] = ibook.
book2D(Form(
"%s_tanthcosphtrk_var3", locType.c_str()),
titles, 360, -0.9, 0.9, 50, 0, 1);
439 titles = Form(
"#theta_{trk}cos(#phi_{trk}) vs cluster variance (w=2) in %s;cluster variance (w=2);#theta_{trk}cos(#phi_{trk});n. clusters", locType.c_str());
440 iHists_.
h2_[Form(
"%s_thcosphtrk_var2", locType.c_str())] = ibook.
book2D(Form(
"%s_thcosphtrk_var2", locType.c_str()),
titles, 360, -0.9, 0.9, 50, 0, 1);
442 titles = Form(
"#theta_{trk}cos(#phi_{trk}) vs cluster variance (w=3) in %s;cluster variance (w=3);#theta_{trk}cos(#phi_{trk});n. clusters", locType.c_str());
443 iHists_.
h2_[Form(
"%s_thcosphtrk_var3", locType.c_str())] = ibook.
book2D(Form(
"%s_thcosphtrk_var3", locType.c_str()),
titles, 360, -0.9, 0.9, 50, 0, 1);
454 iHists_.
h1_[Form(
"%s_%d_nstrips", locationType.c_str(),
mod)] =
455 ibook.
book1D(Form(
"%s_%d_nstrips", locationType.c_str(),
mod),
"", 10, 0, 10);
456 iHists_.
h1_[Form(
"%s_%d_tanthetatrk", locationType.c_str(),
mod)] =
457 ibook.
book1D(Form(
"%s_%d_tanthetatrk", locationType.c_str(),
mod),
"", 40, -1., 1.);
458 iHists_.
h1_[Form(
"%s_%d_cosphitrk", locationType.c_str(),
mod)] =
459 ibook.
book1D(Form(
"%s_%d_cosphitrk", locationType.c_str(),
mod),
"", 40, -1, 1);
460 iHists_.
h1_[Form(
"%s_%d_variance_w2", locationType.c_str(),
mod)] =
461 ibook.
book1D(Form(
"%s_%d_variance_w2", locationType.c_str(),
mod),
"", 20, 0, 1);
462 iHists_.
h1_[Form(
"%s_%d_variance_w3", locationType.c_str(),
mod)] =
463 ibook.
book1D(Form(
"%s_%d_variance_w3", locationType.c_str(),
mod),
"", 20, 0, 1);
471 ibook.
book2D(Form(
"ct_w_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 10, 0, 10));
473 ibook.
book2D(Form(
"t_w_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 10, 0, 10));
475 ibook.
book2D(Form(
"ct_var2_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
477 ibook.
book2D(Form(
"ct_var3_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
479 ibook.
book2D(Form(
"t_var2_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
481 ibook.
book2D(Form(
"t_var3_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
485 << __PRETTY_FUNCTION__ <<
" Booked " <<
counter <<
" module level histograms!";
static const std::array< std::string, 5 > titles
std::vector< std::string > modtypes_
std::vector< uint32_t >::const_iterator const_iterator
virtual void setCurrentFolder(std::string const &fullpath)
std::vector< dqm::reco::MonitorElement * > h2_ct_var3_m_
std::vector< dqm::reco::MonitorElement * > h2_t_w_m_
std::vector< dqm::reco::MonitorElement * > h2_t_var3_m_
std::map< std::string, int > nlayers_
const bool saveHistosMods_
SiStripHashedDetId m_hash
std::vector< dqm::reco::MonitorElement * > h2_ct_w_m_
SiStripLorentzAngleCalibrationHistograms iHists_
std::map< std::string, dqm::reco::MonitorElement * > h2_
std::map< uint32_t, std::string > moduleLocationType_
std::vector< dqm::reco::MonitorElement * > h2_t_var2_m_
Log< level::Warning, true > LogPrint
std::vector< dqm::reco::MonitorElement * > h2_ct_var2_m_
std::map< std::string, dqm::reco::MonitorElement * > h1_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
const_iterator end() const
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
const std::string folder_
T mod(const T &a, const T &b)
const_iterator begin() const