|
|
#include <RPCMonitorDigi.h>
|
void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
void | bookRegionME (DQMStore::IBooker &, const std::string &, std::map< std::string, MonitorElement * > &) |
| Booking of MonitoringElemnt at region (Barrel/Endcap) level. More...
|
|
void | bookRollME (DQMStore::IBooker &, const RPCDetId &, const RPCGeometry *rpcGeo, const std::string &, std::map< std::string, MonitorElement * > &) |
| Booking of MonitoringElement for one RPCDetId (= roll) More...
|
|
void | bookSectorRingME (DQMStore::IBooker &, const std::string &, std::map< std::string, MonitorElement * > &) |
| Booking of MonitoringElement at Sector/Ring level. More...
|
|
void | bookWheelDiskME (DQMStore::IBooker &, const std::string &, std::map< std::string, MonitorElement * > &) |
| Booking of MonitoringElemnt at Wheel/Disk level. More...
|
|
uint64_t | meId () const |
|
|
int | counter |
|
std::string | globalFolder_ |
|
std::map< std::string, std::map< std::string, MonitorElement * > > | meMuonCollection |
|
std::map< std::string, std::map< std::string, MonitorElement * > > | meNoiseCollection |
|
float | muEtaCut_ |
|
std::string | muonFolder_ |
|
edm::EDGetTokenT< reco::CandidateView > | muonLabel_ |
|
MonitorElement * | muonRPCEvents_ |
|
float | muPtCut_ |
|
std::string | noiseFolder_ |
|
MonitorElement * | noiseRPCEvents_ |
|
int | numberOfDisks_ |
|
int | numberOfInnerRings_ |
|
MonitorElement * | NumberOfMuon_ |
|
MonitorElement * | NumberOfRecHitMuon_ |
|
std::map< std::string, MonitorElement * > | regionMuonCollection |
|
std::map< std::string, MonitorElement * > | regionNoiseCollection |
|
edm::ESGetToken< RPCGeometry, MuonGeometryRecord > | rpcGeomToken_ |
|
edm::EDGetTokenT< RPCRecHitCollection > | rpcRecHitLabel_ |
|
edm::EDGetTokenT< DcsStatusCollection > | scalersRawToDigiLabel_ |
|
std::map< std::string, MonitorElement * > | sectorRingMuonCollection |
|
std::map< std::string, MonitorElement * > | sectorRingNoiseCollection |
|
std::string | subsystemFolder_ |
|
bool | useMuonDigis_ |
|
bool | useRollInfo_ |
|
std::map< std::string, MonitorElement * > | wheelDiskMuonCollection |
|
std::map< std::string, MonitorElement * > | wheelDiskNoiseCollection |
|
|
static const std::array< std::string, 3 > | regionNames_ = {{"Endcap-", "Barrel", "Endcap+"}} |
|
Definition at line 20 of file RPCMonitorDigi.h.
◆ RPCMonitorDigi()
Definition at line 17 of file RPCMonitorDigi.cc.
27 muPtCut_ =
pset.getUntrackedParameter<
double>(
"MuonPtCut", 3.0);
28 muEtaCut_ =
pset.getUntrackedParameter<
double>(
"MuonEtaCut", 1.9);
References globalFolder_, muEtaCut_, muonFolder_, muonLabel_, muPtCut_, noiseFolder_, muonDTDigis_cfi::pset, rpcGeomToken_, rpcRecHitLabel_, scalersRawToDigiLabel_, AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, useMuonDigis_, and useRollInfo_.
◆ ~RPCMonitorDigi()
RPCMonitorDigi::~RPCMonitorDigi |
( |
| ) |
|
|
overridedefault |
◆ analyze()
Reimplemented from DQMEDAnalyzer.
Definition at line 113 of file RPCMonitorDigi.cc.
115 edm::LogInfo(
"rpcmonitordigi") <<
"[RPCMonitorDigi]: Beginning analyzing event " <<
counter;
121 std::map<RPCDetId, std::vector<RPCRecHit> > rechitMuon;
124 int numRPCRecHit = 0;
127 int nStaMuons = muonCands->
size();
129 for (
int i = 0;
i < nStaMuons;
i++) {
131 const reco::Muon* muCand = dynamic_cast<const reco::Muon*>(&goodMuon);
139 std::vector<TrackingRecHitRef> rpcTrackRecHits;
142 if (!(*it)->isValid())
144 int muSubDetId = (*it)->geographicalId().subdetId();
148 RPCRecHit* rpcRecHit = dynamic_cast<RPCRecHit*>(tkRecHit);
149 int detId = (
int)rpcRecHit->
rpcId();
150 if (rechitMuon.find(detId) == rechitMuon.end() || rechitMuon[detId].empty()) {
151 std::vector<RPCRecHit> myVect(1, *rpcRecHit);
152 rechitMuon[detId] = myVect;
154 rechitMuon[detId].push_back(*rpcRecHit);
179 edm::LogError(
"rpcmonitordigi") <<
"[RPCMonitorDigi]: Muons - Product not valid for event" <<
counter;
185 std::map<RPCDetId, std::vector<RPCRecHit> > rechitNoise;
189 for (
auto rpcRecHitIter = rpcHits->begin(); rpcRecHitIter != rpcHits->end(); rpcRecHitIter++) {
192 if (rechitNoise.find(detId) == rechitNoise.end() || rechitNoise[detId].empty()) {
193 std::vector<RPCRecHit> myVect(1, rpcRecHit);
194 rechitNoise[detId] = myVect;
196 rechitNoise[detId].push_back(rpcRecHit);
200 edm::LogError(
"rpcmonitordigi") <<
"[RPCMonitorDigi]: RPCRecHits - Product not valid for event" <<
counter;
References TrackingRecHit::clone(), counter, reco::LeafCandidate::eta(), dqm::impl::MonitorElement::Fill(), mps_fire::i, createfilelist::int, reco::Muon::isGlobalMuon(), edm::HandleBase::isValid(), muEtaCut_, muonFolder_, muonLabel_, muonRPCEvents_, muPtCut_, noiseFolder_, noiseRPCEvents_, NumberOfMuon_, NumberOfRecHitMuon_, patZpeak::numMuons, reco::Muon::outerTrack(), performSourceOperation(), reco::LeafCandidate::pt(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), MuonSubdetId::RPC, RPCRecHit::rpcId(), rpcRecHitLabel_, and edm::View< T >::size().
◆ bookHistograms()
Implements DQMEDAnalyzer.
Definition at line 44 of file RPCMonitorDigi.cc.
45 edm::LogInfo(
"rpcmonitordigi") <<
"[RPCMonitorDigi]: Begin Run ";
49 std::set<int> disk_set;
53 edm::LogInfo(
"rpcmonitordigi") <<
"[RPCMonitorDigi]: Booking histograms per roll. ";
54 for (
auto ich : rpcGeo.dets()) {
55 const RPCChamber* ch = dynamic_cast<const RPCChamber*>(ich);
58 const auto& roles = ch->
rolls();
61 for (
auto roll : roles) {
66 disk_set.insert(rpcId.
station());
77 const RPCDetId& rpcId = roles[0]->id();
83 disk_set.insert(rpcId.
station());
References dqm::implementation::IBooker::book1D(), bookRegionME(), bookRollME(), bookSectorRingME(), bookWheelDiskME(), RPCNameHelper::chamberName(), edm::EventSetup::getData(), meMuonCollection, meNoiseCollection, min(), muonFolder_, muonRPCEvents_, noiseFolder_, noiseRPCEvents_, numberOfDisks_, numberOfInnerRings_, NumberOfMuon_, NumberOfRecHitMuon_, RPCDetId::region(), regionMuonCollection, regionNoiseCollection, RPCDetId::ring(), RPCNameHelper::rollName(), RPCChamber::rolls(), rpcGeomToken_, sectorRingMuonCollection, sectorRingNoiseCollection, dqm::implementation::NavigatorBase::setCurrentFolder(), RPCDetId::station(), AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, useMuonDigis_, useRollInfo_, wheelDiskMuonCollection, and wheelDiskNoiseCollection.
◆ bookRegionME()
Booking of MonitoringElemnt at region (Barrel/Endcap) level.
Definition at line 213 of file RPCBookDetUnitME.cc.
219 std::stringstream
name;
220 std::stringstream
title;
221 for (
int r = 0;
r < 3;
r++) {
227 name <<
"ClusterSize_" << regionName;
228 title <<
"ClusterSize - " << regionName;
235 name <<
"NumberOfClusters_Barrel";
236 title <<
"Number of Clusters per Event - Barrel";
241 name <<
"NumberOfClusters_Endcap+";
242 title <<
"Number of Clusters per Event - Endcap+";
247 name <<
"NumberOfClusters_Endcap-";
248 title <<
"Number of Clusters per Event - Endcap-";
254 name <<
"Multiplicity_Barrel";
255 title <<
"Multiplicity per Event per Roll - Barrel";
260 name <<
"Multiplicity_Endcap+";
261 title <<
"Multiplicity per Event per Roll - Endcap+";
266 name <<
"Multiplicity_Endcap-";
267 title <<
"Multiplicity per Event per Roll - Endcap-";
286 meMap[
"Occupancy_for_Endcap"] = ibooker.
book2D(
"Occupancy_for_Endcap",
295 meMap[
"Occupancy_for_Endcap"]->setAxisTitle(
"Ring", 2);
297 std::stringstream binlabel;
305 meMap[
"Occupancy_for_Endcap"]->setBinLabel(
bin, binlabel.str(), 1);
308 meMap[
"Occupancy_for_Endcap"]->setBinLabel(1,
"2", 2);
309 meMap[
"Occupancy_for_Endcap"]->setBinLabel(2,
"3", 2);
311 meMap[
"Occupancy_for_Barrel"] =
312 ibooker.
book2D(
"Occupancy_for_Barrel",
"Occupancy Barrel", 12, 0.5, 12.5, 5, -2.5, 2.5);
314 meMap[
"Occupancy_for_Barrel"]->setAxisTitle(
"Wheel", 2);
319 meMap[
"Occupancy_for_Barrel"]->setBinLabel(
bin, binlabel.str(), 1);
322 binlabel << (
bin - 3);
323 meMap[
"Occupancy_for_Barrel"]->setBinLabel(
bin, binlabel.str(), 2);
References newFWLiteAna::bin, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), globalFolder_, phase1PixelTopology::layer, Skims_PA_cff::name, numberOfDisks_, numberOfInnerRings_, alignCSCRings::r, regionNames_, relativeConstraints::ring, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, and runGCPTkAlMap::title.
Referenced by bookHistograms().
◆ bookRollME()
Booking of MonitoringElement for one RPCDetId (= roll)
Name components common to current RPCDetId
Definition at line 7 of file RPCBookDetUnitME.cc.
37 tmpStr =
"Occupancy_" + nameRoll;
38 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, nstrips, 0.5, nstrips + 0.5);
40 tmpStr =
"BXDistribution_" + nameRoll;
41 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 7, -3.5, 3.5);
44 tmpStr =
"ClusterSize_" + nameRoll;
45 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 15, 0.5, 15.5);
47 tmpStr =
"Multiplicity_" + nameRoll;
48 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 30, 0.5, 30.5);
51 tmpStr =
"ClusterSize_" + nameRoll;
52 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 10, 0.5, 10.5);
54 tmpStr =
"Multiplicity_" + nameRoll;
55 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 15, 0.5, 15.5);
58 tmpStr =
"NumberOfClusters_" + nameRoll;
59 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 10, 0.5, 10.5);
References funct::abs(), dqm::implementation::IBooker::book1D(), RPCBookFolderStructure::folderStructure(), dqm-mbProfile::format, RPCDetId::layer(), RPCNameHelper::name(), RPCDetId::region(), RPCDetId::ring(), dqm::implementation::NavigatorBase::setCurrentFolder(), RPCDetId::station(), AlCaHLTBitMon_QueryRunRegistry::string, stripsInRoll(), subsystemFolder_, and useRollInfo_.
Referenced by bookHistograms().
◆ bookSectorRingME()
Booking of MonitoringElement at Sector/Ring level.
Definition at line 62 of file RPCBookDetUnitME.cc.
69 for (
int sector = 1; sector <= 12; sector++) {
72 if (sector == 9 || sector == 11)
73 meMap[meName] = ibooker.
book2D(meName, meName, 91, 0.5, 91.5, 15, 0.5, 15.5);
75 meMap[meName] = ibooker.
book2D(meName, meName, 91, 0.5, 91.5, 21, 0.5, 21.5);
77 meMap[meName] = ibooker.
book2D(meName, meName, 91, 0.5, 91.5, 17, 0.5, 17.5);
90 regionName =
"Endcap+";
99 auto me1 = ibooker.
book2D(meName1, meName1, 96, 0.5, 96.5, 18, 0.5, 18.5);
100 me1->setAxisTitle(
"strip", 1);
102 for (
int i = 1;
i <= 18;
i++) {
107 me1->setBinLabel(1,
"1", 1);
108 me1->setBinLabel(16,
"RollA", 1);
109 me1->setBinLabel(32,
"32", 1);
110 me1->setBinLabel(33,
"1", 1);
111 me1->setBinLabel(48,
"RollB", 1);
112 me1->setBinLabel(64,
"32", 1);
113 me1->setBinLabel(65,
"1", 1);
114 me1->setBinLabel(80,
"RollC", 1);
115 me1->setBinLabel(96,
"32", 1);
119 auto me2 = ibooker.
book2D(meName2, meName2, 96, 0.5, 96.5, 18, 18.5, 36.5);
120 me2->setAxisTitle(
"strip", 1);
122 for (
int i = 1;
i <= 18;
i++) {
127 me2->setBinLabel(1,
"1", 1);
128 me2->setBinLabel(16,
"RollA", 1);
129 me2->setBinLabel(32,
"32", 1);
130 me2->setBinLabel(33,
"1", 1);
131 me2->setBinLabel(48,
"RollB", 1);
132 me2->setBinLabel(64,
"32", 1);
133 me2->setBinLabel(65,
"1", 1);
134 me2->setBinLabel(80,
"RollC", 1);
135 me2->setBinLabel(96,
"32", 1);
137 meMap[meName1] =
me1;
138 meMap[meName2] =
me2;
References dqm::implementation::IBooker::book2D(), dqm-mbProfile::format, mps_fire::i, hlt_dqm_clientPB-live_cfg::me1, hlt_dqm_clientPB-live_cfg::me2, numberOfDisks_, numberOfInnerRings_, HLT_FULL_cff::region, relativeConstraints::ring, dqm::impl::MonitorElement::setAxisTitle(), RPCRollMapHisto::setBarrelRollAxis(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, makeMuonMisalignmentScenario::wheel, and HistogramManager_cfi::ylabel.
Referenced by bookHistograms().
◆ bookWheelDiskME()
Booking of MonitoringElemnt at Wheel/Disk level.
Definition at line 144 of file RPCBookDetUnitME.cc.
153 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 12, 0.5, 12.5);
154 for (
int i = 1;
i <= 12; ++
i) {
162 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 9, -4.5, 4.5);
176 tmpStr =
fmt::format(
"Occupancy_Ring_vs_Segment_Disk_{}", disk);
179 tmpStr =
fmt::format(
"BxDistribution_Disk_{}", disk);
180 meMap[tmpStr] = ibooker.
book1D(tmpStr, tmpStr, 9, -4.5, 4.5);
191 meMap[meName] = ibooker.
book1D(
199 meMap[meName]->setBinLabel(xbin,
label, 1);
References dqm::implementation::IBooker::book1D(), RPCRollMapHisto::bookBarrel(), RPCRollMapHisto::bookEndcap(), dqm-mbProfile::format, globalFolder_, mps_fire::i, label, phase1PixelTopology::layer, Skims_PA_cff::name, numberOfDisks_, numberOfInnerRings_, relativeConstraints::ring, dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, runGCPTkAlMap::title, and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
◆ performSourceOperation()
void RPCMonitorDigi::performSourceOperation |
( |
std::map< RPCDetId, std::vector< RPCRecHit > > & |
recHitMap, |
|
|
std::string |
recHittype |
|
) |
| |
|
private |
Definition at line 211 of file RPCMonitorDigi.cc.
213 edm::LogInfo(
"rpcmonitordigi") <<
"[RPCMonitorDigi]: Performing DQM source operations for ";
215 if (recHitMap.empty())
218 std::map<std::string, std::map<std::string, MonitorElement*> > meRollCollection;
219 std::map<std::string, MonitorElement*> meWheelDisk;
220 std::map<std::string, MonitorElement*> meRegion;
221 std::map<std::string, MonitorElement*> meSectorRing;
234 edm::LogWarning(
"rpcmonitordigi") <<
"[RPCMonitorDigi]: RecHit type not valid.";
238 int totalNumberOfRecHits[3] = {0, 0, 0};
241 for (
std::map<
RPCDetId, std::vector<RPCRecHit> >::const_iterator detIdIter = recHitMap.begin();
242 detIdIter != recHitMap.end();
244 RPCDetId detId = (*detIdIter).first;
254 int wheelOrDiskNumber;
257 int sector = detId.
sector();
260 int roll = detId.
roll();
262 wheelOrDiskType =
"Wheel";
263 wheelOrDiskNumber = (
int)detId.
ring();
267 if (detId.
layer() == 1) {
277 if (detId.
layer() == 1) {
279 if (
abs(wheelOrDiskNumber) == 2 && roll == 3) {
285 if (
abs(wheelOrDiskNumber) != 2 && roll == 3) {
303 wheelOrDiskType =
"Disk";
308 std::vector<RPCRecHit>
recHits = (*detIdIter).second;
309 const int numberOfRecHits =
recHits.size();
310 totalNumberOfRecHits[
region + 1] += numberOfRecHits;
315 std::map<std::string, MonitorElement*> meMap = meRollCollection[nameRoll];
319 for (std::vector<RPCRecHit>::const_iterator recHitIter =
recHits.begin(); recHitIter !=
recHits.end();
325 int clusterSize = (
int)
recHit.clusterSize();
326 numDigi += clusterSize;
327 int firstStrip =
recHit.firstClusterStrip();
328 int lastStrip = clusterSize + firstStrip - 1;
332 tmpName =
"Occupancy_" + nameRoll;
333 if (meMap[tmpName]) {
334 for (
int s = firstStrip;
s <= lastStrip;
s++) {
336 meMap[tmpName]->Fill(
s);
338 const int nstrips = meMap[tmpName]->getNbinsX() / totalRolls;
339 meMap[tmpName]->Fill(
s + nstrips * (roll - 1));
344 tmpName =
"BXDistribution_" + nameRoll;
346 meMap[tmpName]->Fill(
bx);
348 tmpName =
"ClusterSize_" + nameRoll;
350 meMap[tmpName]->Fill(clusterSize);
354 tmpName =
fmt::format(
"Occupancy_{}_{}_Sector_{}", wheelOrDiskType, wheelOrDiskNumber, sector);
355 if (meSectorRing[tmpName]) {
356 for (
int s = firstStrip;
s <= lastStrip;
s++) {
357 meSectorRing[tmpName]->Fill(
s,
nr);
361 tmpName =
fmt::format(
"Occupancy_{}_{}_Ring_{}", wheelOrDiskType, wheelOrDiskNumber,
ring);
362 if (geoServ.segment() > 0 && geoServ.segment() <= 18) {
363 tmpName +=
"_CH01-CH18";
364 }
else if (geoServ.segment() >= 19) {
365 tmpName +=
"_CH19-CH36";
368 if (meSectorRing[tmpName]) {
369 for (
int s = firstStrip;
s <= lastStrip;
s++) {
370 meSectorRing[tmpName]->Fill(
s + 32 * (detId.
roll() - 1), geoServ.segment());
376 tmpName =
fmt::format(
"1DOccupancy_Wheel_{}", wheelOrDiskNumber);
377 if (meWheelDisk[tmpName])
378 meWheelDisk[tmpName]->Fill(sector, clusterSize);
380 tmpName =
fmt::format(
"Occupancy_Roll_vs_Sector_{}_{}", wheelOrDiskType, wheelOrDiskNumber);
381 if (meWheelDisk[tmpName])
382 meWheelDisk[tmpName]->Fill(sector,
nr, clusterSize);
386 if ((meWheelDisk[tmpName])) {
387 if (wheelOrDiskNumber > 0) {
388 meWheelDisk[tmpName]->Fill(wheelOrDiskNumber +
numberOfDisks_, clusterSize);
390 meWheelDisk[tmpName]->Fill(wheelOrDiskNumber +
numberOfDisks_ + 1, clusterSize);
394 tmpName =
fmt::format(
"Occupancy_Ring_vs_Segment_{}_{}", wheelOrDiskType, wheelOrDiskNumber);
395 if (meWheelDisk[tmpName])
396 meWheelDisk[tmpName]->Fill(geoServ.segment(), (
ring - 1) * 3 - detId.
roll() + 1, clusterSize);
399 tmpName =
fmt::format(
"BxDistribution_{}_{}", wheelOrDiskType, wheelOrDiskNumber);
400 if (meWheelDisk[tmpName])
401 meWheelDisk[tmpName]->Fill(
bx);
403 tmpName =
fmt::format(
"ClusterSize_{}_{}_Layer{}", wheelOrDiskType, wheelOrDiskNumber,
layer);
404 if (meWheelDisk[tmpName])
405 meWheelDisk[tmpName]->Fill(clusterSize);
407 tmpName =
fmt::format(
"ClusterSize_{}_{}_Ring{}", wheelOrDiskType, wheelOrDiskNumber,
ring);
408 if (meWheelDisk[tmpName])
409 meWheelDisk[tmpName]->Fill(clusterSize);
413 if (meRegion[tmpName])
414 meRegion[tmpName]->Fill(clusterSize);
422 if (meRegion[tmpName])
423 meRegion[tmpName]->Fill(clusterSize);
427 tmpName =
"BXWithData_" + nameRoll;
429 meMap[tmpName]->Fill(bxSet.size());
431 tmpName =
"NumberOfClusters_" + nameRoll;
433 meMap[tmpName]->Fill(numberOfRecHits);
436 if (meRegion[tmpName])
437 meRegion[tmpName]->Fill(numDigi);
440 if (meRegion[
"Occupancy_for_Barrel"])
441 meRegion[
"Occupancy_for_Barrel"]->Fill(sector, wheelOrDiskNumber, numDigi);
447 if (meRegion[
"Occupancy_for_Endcap"]) {
448 meRegion[
"Occupancy_for_Endcap"]->Fill(xbin,
ring, numDigi);
452 tmpName =
"Multiplicity_" + nameRoll;
454 meMap[tmpName]->Fill(numDigi);
458 for (
int i = 0;
i < 3;
i++) {
460 if (meRegion[tmpName])
461 meRegion[tmpName]->Fill(totalNumberOfRecHits[
i]);
References funct::abs(), l1GtPatternGenerator_cfi::bx, rpcdqm::utils::detId2RollNr(), dqm-mbProfile::format, mps_fire::i, createfilelist::int, RPCDetId::layer(), phase1PixelTopology::layer, genParticles_cff::map, meMuonCollection, meNoiseCollection, muonFolder_, RPCNameHelper::name(), noiseFolder_, EgHLTOffHistBins_cfi::nr, numberOfDisks_, rpcPointValidation_cfi::recHit, FastTrackerRecHitMaskProducer_cfi::recHits, RPCDetId::region(), HLT_FULL_cff::region, regionMuonCollection, regionNames_, regionNoiseCollection, RPCDetId::ring(), relativeConstraints::ring, RPCDetId::roll(), alignCSCRings::s, RPCDetId::sector(), sectorRingMuonCollection, sectorRingNoiseCollection, RPCGeomServ::segment(), relativeConstraints::station, RPCDetId::station(), AlCaHLTBitMon_QueryRunRegistry::string, useRollInfo_, wheelDiskMuonCollection, and wheelDiskNoiseCollection.
Referenced by analyze().
◆ stripsInRoll()
◆ counter
int RPCMonitorDigi::counter |
|
private |
◆ globalFolder_
std::string RPCMonitorDigi::globalFolder_ |
|
private |
◆ meMuonCollection
std::map<std::string, std::map<std::string, MonitorElement *> > RPCMonitorDigi::meMuonCollection |
|
private |
◆ meNoiseCollection
std::map<std::string, std::map<std::string, MonitorElement *> > RPCMonitorDigi::meNoiseCollection |
|
private |
◆ muEtaCut_
float RPCMonitorDigi::muEtaCut_ |
|
private |
◆ muonFolder_
std::string RPCMonitorDigi::muonFolder_ |
|
private |
◆ muonLabel_
◆ muonRPCEvents_
◆ muPtCut_
float RPCMonitorDigi::muPtCut_ |
|
private |
◆ noiseFolder_
std::string RPCMonitorDigi::noiseFolder_ |
|
private |
◆ noiseRPCEvents_
◆ numberOfDisks_
int RPCMonitorDigi::numberOfDisks_ |
|
private |
◆ numberOfInnerRings_
int RPCMonitorDigi::numberOfInnerRings_ |
|
private |
◆ NumberOfMuon_
◆ NumberOfRecHitMuon_
◆ regionMuonCollection
std::map<std::string, MonitorElement *> RPCMonitorDigi::regionMuonCollection |
|
private |
◆ regionNames_
const std::array< std::string, 3 > RPCMonitorDigi::regionNames_ = {{"Endcap-", "Barrel", "Endcap+"}} |
|
staticprivate |
◆ regionNoiseCollection
std::map<std::string, MonitorElement *> RPCMonitorDigi::regionNoiseCollection |
|
private |
◆ rpcGeomToken_
◆ rpcRecHitLabel_
◆ scalersRawToDigiLabel_
◆ sectorRingMuonCollection
std::map<std::string, MonitorElement *> RPCMonitorDigi::sectorRingMuonCollection |
|
private |
◆ sectorRingNoiseCollection
std::map<std::string, MonitorElement *> RPCMonitorDigi::sectorRingNoiseCollection |
|
private |
◆ subsystemFolder_
std::string RPCMonitorDigi::subsystemFolder_ |
|
private |
◆ useMuonDigis_
bool RPCMonitorDigi::useMuonDigis_ |
|
private |
◆ useRollInfo_
bool RPCMonitorDigi::useRollInfo_ |
|
private |
◆ wheelDiskMuonCollection
std::map<std::string, MonitorElement *> RPCMonitorDigi::wheelDiskMuonCollection |
|
private |
◆ wheelDiskNoiseCollection
std::map<std::string, MonitorElement *> RPCMonitorDigi::wheelDiskNoiseCollection |
|
private |
static MonitorElement * bookBarrel(IBooker &booker, const int wheel, const std::string &prefix, const std::string &title, const bool useRollInfo)
static std::string chamberName(const RPCDetId &detId)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
MonitorElement * NumberOfRecHitMuon_
trackingRecHit_iterator recHitsBegin() const
Iterator to first hit on the track.
void performSourceOperation(std::map< RPCDetId, std::vector< RPCRecHit > > &, std::string)
MonitorElement * NumberOfMuon_
virtual void setCurrentFolder(std::string const &fullpath)
std::map< std::string, MonitorElement * > sectorRingNoiseCollection
const RPCRoll * roll(RPCDetId id) const
Return a roll given its id.
std::string subsystemFolder_
double pt() const final
transverse momentum
Log< level::Info, false > LogInfo
const std::vector< const RPCRoll * > & rolls() const
Return the Rolls.
Log< level::Warning, false > LogWarning
std::map< std::string, std::map< std::string, MonitorElement * > > meMuonCollection
void bookRollME(DQMStore::IBooker &, const RPCDetId &, const RPCGeometry *rpcGeo, const std::string &, std::map< std::string, MonitorElement * > &)
Booking of MonitoringElement for one RPCDetId (= roll)
static MonitorElement * bookEndcap(IBooker &booker, const int disk, const std::string &prefix, const std::string &title, const bool useRollInfo)
std::map< std::string, MonitorElement * > wheelDiskNoiseCollection
std::map< std::string, MonitorElement * > regionMuonCollection
edm::EDGetTokenT< reco::CandidateView > muonLabel_
trackingRecHit_iterator recHitsEnd() const
Iterator to last hit on the track.
virtual TrackRef outerTrack() const
reference to Track reconstructed in the muon detector only
static std::string rollName(const RPCDetId &detId)
static std::string folderStructure(const RPCDetId &detId)
edm::EDGetTokenT< DcsStatusCollection > scalersRawToDigiLabel_
constexpr std::array< uint8_t, layerIndexSize > layer
static const std::array< std::string, 3 > regionNames_
static std::string name(const RPCDetId &detId, const bool useRoll)
bool isGlobalMuon() const override
void bookWheelDiskME(DQMStore::IBooker &, const std::string &, std::map< std::string, MonitorElement * > &)
Booking of MonitoringElemnt at Wheel/Disk level.
double eta() const final
momentum pseudorapidity
int stripsInRoll(const RPCDetId &id, const RPCGeometry *rpcGeo) const
std::map< std::string, std::map< std::string, MonitorElement * > > meNoiseCollection
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * noiseRPCEvents_
void bookRegionME(DQMStore::IBooker &, const std::string &, std::map< std::string, MonitorElement * > &)
Booking of MonitoringElemnt at region (Barrel/Endcap) level.
int detId2RollNr(const RPCDetId &_id)
Log< level::Error, false > LogError
static void setBarrelRollAxis(MonitorElement *me, const int wheel, const int axis, const bool useRollInfo)
virtual TrackingRecHit * clone() const =0
std::map< std::string, MonitorElement * > sectorRingMuonCollection
edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcGeomToken_
std::string globalFolder_
std::map< std::string, MonitorElement * > regionNoiseCollection
void bookSectorRingME(DQMStore::IBooker &, const std::string &, std::map< std::string, MonitorElement * > &)
Booking of MonitoringElement at Sector/Ring level.
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
std::map< std::string, MonitorElement * > wheelDiskMuonCollection
Abs< T >::type abs(const T &t)
edm::EDGetTokenT< RPCRecHitCollection > rpcRecHitLabel_
RPCDetId rpcId() const
Return the rpcId.
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * muonRPCEvents_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())