389 iHists_.
h1_[
"track_pt"] = ibook.
book1D(
"track_pt",
"track p_{T};track p_{T} [GeV];n. tracks", 2000, 0, 1000);
390 iHists_.
h1_[
"track_eta"] = ibook.
book1D(
"track_eta",
"track #eta;track #eta;n. tracks", 100, -4, 4);
391 iHists_.
h1_[
"track_phi"] = ibook.
book1D(
"track_phi",
"track #phi;track #phi;n. tracks", 80, -3.2, 3.2);
393 ibook.
book1D(
"track_validhits",
"track n. valid hits;track n. valid hits;n. tracks", 50, 0, 50);
395 ibook.
book1D(
"track_chi2ndof",
"track #chi^{2}/ndf;track #chi^{2}/ndf;n. tracks", 100, 0, 5);
397 ibook.
book2D(
"track_chi2xhits_2d",
398 "track track n. hits vs track #chi^{2}/ndf;track #chi^{2};track n. valid hits;tracks",
399 100, 0, 5, 50, 0, 50);
401 "track_ptxhits_2d",
"track n. hits vs p_{T};track p_{T} [GeV];track n. valid hits;tracks", 200, 0, 100, 50, 0, 50);
403 "track_etaxhits_2d",
"track n. hits vs track #eta;track #eta;track n. valid hits;tracks", 60, -3, 3, 50, 0, 50);
405 ibook.
book2D(
"track_ptxchi2_2d",
406 "track #chi^{2}/ndf vs track p_{T};track p_{T} [GeV]; track #chi^{2}/ndf;tracks",
407 200, 0, 100, 100, 0, 5);
409 "track_ptxeta_2d",
"track #eta vs track p_{T};track p_{T} [GeV];track #eta;tracks", 200, 0, 100, 60, -3, 3);
411 "track_etaxchi2_2d",
"track #chi^{2}/ndf vs track #eta;track #eta;track #chi^{2};tracks", 60, -3, 3, 100, 0, 5);
415 iHists_.
h1_[
"occupancyPerIndex"] = ibook.
book1D(
"ClusterOccupancyPerHashedIndex",
416 "cluster occupancy;hashed index;# clusters per module",
431 for (
int l = 1;
l <=
layers.second; ++
l) {
435 if (
l > 2 &&
t ==
"s")
437 std::string locType = Form(
"%s_L%d%s", subdet.c_str(),
l,
t.c_str());
440 const char*
titles = Form(
"n.strips in %s;n.strips;n. clusters", locType.c_str());
441 iHists_.
h1_[Form(
"%s_nstrips", locType.c_str())] = ibook.
book1D(Form(
"%s_nstrips", locType.c_str()),
titles, 20, 0, 20);
443 titles = Form(
"tan(#theta_{trk}) in %s;tan(#theta_{trk});n. clusters", locType.c_str());
444 iHists_.
h1_[Form(
"%s_tanthetatrk", locType.c_str())] = ibook.
book1D(Form(
"%s_tanthetatrk", locType.c_str()),
titles, 300, -1.5, 1.5);
446 titles = Form(
"cos(#phi_{trk}) in %s;cos(#phi_{trk});n. clusters", locType.c_str());
447 iHists_.
h1_[Form(
"%s_cosphitrk", locType.c_str())] = ibook.
book1D(Form(
"%s_cosphitrk", locType.c_str()),
titles, 40, -1, 1);
449 titles = Form(
"Cluster variance (w=2) in %s;cluster variance (w=2);n. clusters", locType.c_str());
450 iHists_.
h1_[Form(
"%s_variance_w2", locType.c_str())] = ibook.
book1D(Form(
"%s_variance_w2", locType.c_str()),
titles, 100, 0, 1);
452 titles = Form(
"Cluster variance (w=3) in %s;cluster variance (w=3);n. clusters", locType.c_str());
453 iHists_.
h1_[Form(
"%s_variance_w3", locType.c_str())] = ibook.
book1D(Form(
"%s_variance_w3", locType.c_str()),
titles, 100, 0, 1);
455 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());
456 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);
458 titles = Form(
"n. strips in %s vs #theta_{trk};#theta_{trk} [rad];n. strips;n. clusters", locType.c_str());
459 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);
461 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());
462 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);
464 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());
465 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);
467 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());
468 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);
470 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());
471 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);
481 ibook.
setCurrentFolder(folderToBook +
"/modules" + Form(
"/%s", locationType.c_str()));
483 iHists_.
h1_[Form(
"%s_%d_nstrips", locationType.c_str(),
mod)] =
484 ibook.
book1D(Form(
"%s_%d_nstrips", locationType.c_str(),
mod),
"", 10, 0, 10);
485 iHists_.
h1_[Form(
"%s_%d_tanthetatrk", locationType.c_str(),
mod)] =
486 ibook.
book1D(Form(
"%s_%d_tanthetatrk", locationType.c_str(),
mod),
"", 40, -1., 1.);
487 iHists_.
h1_[Form(
"%s_%d_cosphitrk", locationType.c_str(),
mod)] =
488 ibook.
book1D(Form(
"%s_%d_cosphitrk", locationType.c_str(),
mod),
"", 40, -1, 1);
489 iHists_.
h1_[Form(
"%s_%d_variance_w2", locationType.c_str(),
mod)] =
490 ibook.
book1D(Form(
"%s_%d_variance_w2", locationType.c_str(),
mod),
"", 20, 0, 1);
491 iHists_.
h1_[Form(
"%s_%d_variance_w3", locationType.c_str(),
mod)] =
492 ibook.
book1D(Form(
"%s_%d_variance_w3", locationType.c_str(),
mod),
"", 20, 0, 1);
498 LogDebug(
"SiStripLorentzAnglePCLMonitor")
501 ibook.
setCurrentFolder(folderToBook +
"/modules" + Form(
"/%s", locationType.c_str()));
503 ibook.
book2D(Form(
"ct_w_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 10, 0, 10));
505 ibook.
book2D(Form(
"t_w_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 10, 0, 10));
507 ibook.
book2D(Form(
"ct_var2_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
509 ibook.
book2D(Form(
"ct_var3_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
511 ibook.
book2D(Form(
"t_var2_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
513 ibook.
book2D(Form(
"t_var3_m_%s_%d", locationType.c_str(), *iter),
"", 90, -0.9, 0.9, 20, 0, 1));
517 << __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_
uint32_t hashedIndex(uint32_t det_id)
std::vector< dqm::reco::MonitorElement * > h2_ct_w_m_
SiStripLorentzAngleCalibrationHistograms iHists_
const size_t size() const
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