370 iHists_.
h1_[
"track_pt"] = ibook.
book1D(
"track_pt",
"track p_{T};track p_{T} [GeV];n. tracks", 2000, 0, 1000);
371 iHists_.
h1_[
"track_eta"] = ibook.
book1D(
"track_eta",
"track #eta;track #eta;n. tracks", 100, -4, 4);
372 iHists_.
h1_[
"track_phi"] = ibook.
book1D(
"track_phi",
"track #phi;track #phi;n. tracks", 80, -3.2, 3.2);
374 ibook.
book1D(
"track_validhits",
"track n. valid hits;track n. valid hits;n. tracks", 50, 0, 50);
376 ibook.
book1D(
"track_chi2ndof",
"track #chi^{2}/ndf;track #chi^{2}/ndf;n. tracks", 100, 0, 5);
378 ibook.
book2D(
"track_chi2xhits_2d",
379 "track track n. hits vs track #chi^{2}/ndf;track #chi^{2};track n. valid hits;tracks",
380 100, 0, 5, 50, 0, 50);
382 "track_ptxhits_2d",
"track n. hits vs p_{T};track p_{T} [GeV];track n. valid hits;tracks", 200, 0, 100, 50, 0, 50);
384 "track_etaxhits_2d",
"track n. hits vs track #eta;track #eta;track n. valid hits;tracks", 60, -3, 3, 50, 0, 50);
386 ibook.
book2D(
"track_ptxchi2_2d",
387 "track #chi^{2}/ndf vs track p_{T};track p_{T} [GeV]; track #chi^{2}/ndf;tracks",
388 200, 0, 100, 100, 0, 5);
390 "track_ptxeta_2d",
"track #eta vs track p_{T};track p_{T} [GeV];track #eta;tracks", 200, 0, 100, 60, -3, 3);
392 "track_etaxchi2_2d",
"track #chi^{2}/ndf vs track #eta;track #eta;track #chi^{2};tracks", 60, -3, 3, 100, 0, 5);
404 for (
int l = 1;
l <=
layers.second; ++
l) {
408 if (
l > 2 &&
t ==
"s")
410 std::string locType = Form(
"%s_L%d%s", subdet.c_str(),
l,
t.c_str());
413 const char*
titles = Form(
"n.strips in %s;n.strips;n. clusters", locType.c_str());
414 iHists_.
h1_[Form(
"%s_nstrips", locType.c_str())] = ibook.
book1D(Form(
"%s_nstrips", locType.c_str()),
titles, 20, 0, 20);
416 titles = Form(
"tan(#theta_{trk}) in %s;tan(#theta_{trk});n. clusters", locType.c_str());
417 iHists_.
h1_[Form(
"%s_tanthetatrk", locType.c_str())] = ibook.
book1D(Form(
"%s_tanthetatrk", locType.c_str()),
titles, 300, -1.5, 1.5);
419 titles = Form(
"cos(#phi_{trk}) in %s;cos(#phi_{trk});n. clusters", locType.c_str());
420 iHists_.
h1_[Form(
"%s_cosphitrk", locType.c_str())] = ibook.
book1D(Form(
"%s_cosphitrk", locType.c_str()),
titles, 40, -1, 1);
422 titles = Form(
"Cluster variance (w=2) in %s;cluster variance (w=2);n. clusters", locType.c_str());
423 iHists_.
h1_[Form(
"%s_variance_w2", locType.c_str())] = ibook.
book1D(Form(
"%s_variance_w2", locType.c_str()),
titles, 100, 0, 1);
425 titles = Form(
"Cluster variance (w=3) in %s;cluster variance (w=3);n. clusters", locType.c_str());
426 iHists_.
h1_[Form(
"%s_variance_w3", locType.c_str())] = ibook.
book1D(Form(
"%s_variance_w3", locType.c_str()),
titles, 100, 0, 1);
428 titles = Form(
"n. strips in %s vs tan(#theta_{trk})cos(#phi_{trk});tan(#theta_{trk})cos(#phi_{trk});n. strips;n. clusters", locType.c_str());
429 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);
431 titles = Form(
"n. strips in %s vs #theta_{trk};#theta_{trk} [rad];n. strips;n. clusters", locType.c_str());
432 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);
434 titles = Form(
"cluster variance (w=2) in %s vs tan(#theta_{trk})cos(#phi_{trk});tan(#theta_{trk})cos(#phi_{trk});cluster variance (w=2);n. clusters", locType.c_str());
435 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);
437 titles = Form(
"cluster variance (w=3) in %s vs tan(#theta_{trk})cos(#phi_{trk});tan(#theta_{trk})cos(#phi_{trk});cluster variance (w=3);n. clusters", locType.c_str());
438 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);
440 titles = Form(
"cluster variance (w=2) in %s vs #theta_{trk}cos(#phi_{trk});#theta_{trk}cos(#phi_{trk});cluster variance (w=2);n. clusters", locType.c_str());
441 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);
443 titles = Form(
"cluster variance (w=3) in %s vs #theta_{trk}cos(#phi_{trk});#theta_{trk}cos(#phi_{trk});cluster variance (w=3);n. clusters", locType.c_str());
444 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);
455 iHists_.
h1_[Form(
"%s_%d_nstrips", locationType.c_str(),
mod)] =
456 ibook.
book1D(Form(
"%s_%d_nstrips", locationType.c_str(),
mod),
"", 10, 0, 10);
457 iHists_.
h1_[Form(
"%s_%d_tanthetatrk", locationType.c_str(),
mod)] =
458 ibook.
book1D(Form(
"%s_%d_tanthetatrk", locationType.c_str(),
mod),
"", 40, -1., 1.);
459 iHists_.
h1_[Form(
"%s_%d_cosphitrk", locationType.c_str(),
mod)] =
460 ibook.
book1D(Form(
"%s_%d_cosphitrk", locationType.c_str(),
mod),
"", 40, -1, 1);
461 iHists_.
h1_[Form(
"%s_%d_variance_w2", locationType.c_str(),
mod)] =
462 ibook.
book1D(Form(
"%s_%d_variance_w2", locationType.c_str(),
mod),
"", 20, 0, 1);
463 iHists_.
h1_[Form(
"%s_%d_variance_w3", locationType.c_str(),
mod)] =
464 ibook.
book1D(Form(
"%s_%d_variance_w3", locationType.c_str(),
mod),
"", 20, 0, 1);
472 ibook.
book2D(Form(
"ct_w_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 10, 0, 10));
474 ibook.
book2D(Form(
"t_w_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 10, 0, 10));
476 ibook.
book2D(Form(
"ct_var2_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
478 ibook.
book2D(Form(
"ct_var3_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
480 ibook.
book2D(Form(
"t_var2_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
482 ibook.
book2D(Form(
"t_var3_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
486 << __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