Implements DQMEDAnalyzer.
Definition at line 18 of file GEMCheckGeometry.cc.
24 edm::LogError(
"MuonGEMGeometry") <<
"+++ Error : GEM geometry is unavailable on event loop. +++\n";
29 LogDebug(
"GEMCheckGeometry") <<
"ibooker set current folder\n";
32 TString
title = TString::Format(
"Geometry's phi distribution on Region %d ; #phi(degree); ;",
region->region());
33 TString
name = TString::Format(
"geo_phi_r%d",
region->region());
34 auto temp_me = ibooker.
book2D(
name.Data(),
title.Data(), 360000, -180., 180, 12, 1, 13);
36 temp_me->setBinLabel(2,
"St1,La1_odd", 2);
37 temp_me->setBinLabel(3,
"St1,La2_even", 2);
38 temp_me->setBinLabel(4,
"St1,La2_odd", 2);
39 temp_me->setBinLabel(5,
"St2,La1_even", 2);
40 temp_me->setBinLabel(6,
"St2,La1_odd", 2);
41 temp_me->setBinLabel(7,
"St2,La2_even", 2);
42 temp_me->setBinLabel(8,
"St2,La2_odd", 2);
49 for (
auto sch :
ring->superChambers()) {
50 for (
auto ch : sch->chambers()) {
51 for (
auto roll : ch->etaPartitions()) {
58 double phi = roll->toGlobal(lEdge).phi().degrees();
61 int region_idx =
id.region();
62 int station_idx =
id.station();
63 int chamber_idx =
id.chamber();
64 int layer_idx =
id.layer();
65 int value = (station_idx - 1) * 4 + (layer_idx - 1) * 2 + (chamber_idx % 2) + 1;
67 if (region_idx == 1) {
68 UInt_t
hash = TString(
"geo_phi_r1").Hash();
71 UInt_t
hash = TString(
"geo_phi_r-1").Hash();
References dqm::implementation::IBooker::book2D(), detailPlot_, geomToken_, edm::EventSetup::getData(), cond::hash, triggerObjects_cff::id, StripTopology::localPosition(), LogDebug, Skims_PA_cff::name, me0TriggerPseudoDigis_cff::nStrips, phi, HLT_FULL_cff::region, GEMGeometry::regions(), relativeConstraints::ring, dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), relativeConstraints::station, digitizers_cfi::strip, theStdPlots, and runGCPTkAlMap::title.