#include <RPCMonitorDigi.h>
Protected Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
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 &, RPCDetId &, const edm::EventSetup &, 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... | |
Protected Member Functions inherited from edm::stream::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Types | |
enum | detectorRegions { EM = 0, B = 1, EP = 2, ALL =3 } |
Private Member Functions | |
void | makeDcsInfo (const edm::Event &) |
void | performSourceOperation (std::map< RPCDetId, std::vector< RPCRecHit > > &, std::string) |
int | stripsInRoll (RPCDetId &, const edm::EventSetup &) |
Static Private Attributes | |
static const std::string | regionNames_ [3] = {"Endcap-", "Barrel", "Endcap+"} |
Geometry. More... | |
Data Format.
Definition at line 25 of file RPCMonitorDigi.h.
|
private |
Enumerator | |
---|---|
EM | |
B | |
EP | |
ALL |
Definition at line 46 of file RPCMonitorDigi.h.
|
explicit |
Definition at line 19 of file RPCMonitorDigi.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), globalFolder_, muEtaCut_, muonFolder_, muonLabel_, muPtCut_, noiseFolder_, RootFileName, rpcRecHitLabel_, saveRootFile, scalersRawToDigiLabel_, AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, useMuonDigis_, and useRollInfo_.
RPCMonitorDigi::~RPCMonitorDigi | ( | ) |
Definition at line 47 of file RPCMonitorDigi.cc.
|
protectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 124 of file RPCMonitorDigi.cc.
References TrackingRecHit::clone(), counter, dcs_, reco::LeafCandidate::eta(), MonitorElement::Fill(), i, reco::Muon::isGlobalMuon(), edm::HandleBase::isValid(), makeDcsInfo(), 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 useMuonDigis_.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 50 of file RPCMonitorDigi.cc.
References DQMStore::IBooker::book1D(), bookRegionME(), bookRollME(), bookSectorRingME(), bookWheelDiskME(), RPCGeomServ::chambername(), dcs_, edm::EventSetup::get(), meMuonCollection, meNoiseCollection, muonFolder_, muonRPCEvents_, RPCGeomServ::name(), noiseFolder_, noiseRPCEvents_, numberOfDisks_, numberOfInnerRings_, NumberOfMuon_, NumberOfRecHitMuon_, alignCSCRings::r, RPCDetId::region(), regionMuonCollection, regionNoiseCollection, RPCDetId::ring(), RPCChamber::rolls(), sectorRingMuonCollection, sectorRingNoiseCollection, DQMStore::IBooker::setCurrentFolder(), RPCDetId::station(), AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, useMuonDigis_, useRollInfo_, wheelDiskMuonCollection, and wheelDiskNoiseCollection.
|
protected |
Booking of MonitoringElemnt at region (Barrel/Endcap) level.
Definition at line 314 of file RPCBookDetUnitME.cc.
References newFWLiteAna::bin, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), globalFolder_, mergeVDriftHistosByStation::name, numberOfDisks_, numberOfInnerRings_, alignCSCRings::r, regionNames_, relativeConstraints::ring, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, and indexGen::title.
Referenced by bookHistograms().
|
protected |
Booking of MonitoringElement for one RPCDetId (= roll)
Name components common to current RPCDetId
Definition at line 9 of file RPCBookDetUnitME.cc.
References funct::abs(), DQMStore::IBooker::book1D(), rpcdqm::BX, RPCGeomServ::chambername(), rpcdqm::CLUSTERSIZE, RPCBookFolderStructure::folderStructure(), RPCDetId::layer(), rpcdqm::MULTIPLICITY, RPCGeomServ::name(), rpcdqm::OCCUPANCY, RPCDetId::region(), RPCDetId::ring(), DQMStore::IBooker::setCurrentFolder(), RPCDetId::station(), AlCaHLTBitMon_QueryRunRegistry::string, stripsInRoll(), subsystemFolder_, DQMStore::IBooker::tag(), and useRollInfo_.
Referenced by bookHistograms().
|
protected |
Booking of MonitoringElement at Sector/Ring level.
Definition at line 84 of file RPCBookDetUnitME.cc.
References DQMStore::IBooker::book2D(), i, rpcdqm::utils::labelYAxisRoll(), numberOfDisks_, numberOfInnerRings_, relativeConstraints::ring, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and subsystemFolder_.
Referenced by bookHistograms().
|
protected |
Booking of MonitoringElemnt at Wheel/Disk level.
Definition at line 200 of file RPCBookDetUnitME.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), globalFolder_, i, diffTwoXMLs::label, rpcdqm::utils::labelXAxisSector(), rpcdqm::utils::labelXAxisSegment(), rpcdqm::utils::labelYAxisRing(), rpcdqm::utils::labelYAxisRoll(), mergeVDriftHistosByStation::name, numberOfDisks_, numberOfInnerRings_, relativeConstraints::ring, DQMStore::IBooker::setCurrentFolder(), subsystemFolder_, and indexGen::title.
Referenced by bookHistograms().
|
private |
Definition at line 494 of file RPCMonitorDigi.cc.
References dcs_, edm::Event::getByToken(), edm::HandleBase::isValid(), mathSSE::return(), DcsStatus::RPC, and scalersRawToDigiLabel_.
Referenced by analyze().
|
private |
Definition at line 222 of file RPCMonitorDigi.cc.
References funct::abs(), RPCRecHit::BunchX(), RPCGeomServ::chambername(), RPCRecHit::clusterSize(), rpcdqm::utils::detId2RollNr(), HcalObjRepresent::Fill(), RPCRecHit::firstClusterStrip(), i, RPCDetId::layer(), python.multivaluedict::map(), meMuonCollection, meNoiseCollection, muonFolder_, RPCGeomServ::name(), noiseFolder_, numberOfDisks_, RPCDetId::region(), regionMuonCollection, regionNames_, regionNoiseCollection, relativeConstraints::ring, RPCDetId::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().
|
private |
Definition at line 299 of file RPCBookDetUnitME.cc.
References edm::EventSetup::get(), and RPCRoll::nstrips().
Referenced by bookRollME().
|
private |
Definition at line 57 of file RPCMonitorDigi.h.
Referenced by counter.Counters::__getitem__(), and analyze().
|
private |
Definition at line 59 of file RPCMonitorDigi.h.
Referenced by analyze(), bookHistograms(), and makeDcsInfo().
|
private |
Definition at line 81 of file RPCMonitorDigi.h.
Referenced by bookRegionME(), bookWheelDiskME(), and RPCMonitorDigi().
|
private |
Definition at line 71 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), and performSourceOperation().
|
private |
Definition at line 76 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), and performSourceOperation().
|
private |
Definition at line 60 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 55 of file RPCMonitorDigi.h.
Referenced by analyze(), bookHistograms(), performSourceOperation(), and RPCMonitorDigi().
|
private |
Definition at line 87 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 63 of file RPCMonitorDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 60 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 56 of file RPCMonitorDigi.h.
Referenced by analyze(), bookHistograms(), performSourceOperation(), and RPCMonitorDigi().
|
private |
Definition at line 62 of file RPCMonitorDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 68 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), bookRegionME(), bookSectorRingME(), bookWheelDiskME(), and performSourceOperation().
|
private |
Definition at line 68 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), bookRegionME(), bookSectorRingME(), and bookWheelDiskME().
|
private |
Definition at line 66 of file RPCMonitorDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 65 of file RPCMonitorDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 73 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), and performSourceOperation().
|
staticprivate |
Geometry.
Definition at line 54 of file RPCMonitorDigi.h.
Referenced by bookRegionME(), and performSourceOperation().
|
private |
Definition at line 78 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), and performSourceOperation().
|
private |
Definition at line 85 of file RPCMonitorDigi.h.
Referenced by RPCMonitorDigi().
|
private |
Definition at line 88 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 84 of file RPCMonitorDigi.h.
Referenced by RPCMonitorDigi().
|
private |
Definition at line 89 of file RPCMonitorDigi.h.
Referenced by makeDcsInfo(), and RPCMonitorDigi().
|
private |
Definition at line 74 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), and performSourceOperation().
|
private |
Definition at line 79 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), and performSourceOperation().
|
private |
Definition at line 82 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), bookRegionME(), bookRollME(), bookSectorRingME(), bookWheelDiskME(), and RPCMonitorDigi().
|
private |
Definition at line 48 of file RPCMonitorDigi.h.
Referenced by analyze(), bookHistograms(), and RPCMonitorDigi().
|
private |
Definition at line 61 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), bookRollME(), performSourceOperation(), and RPCMonitorDigi().
|
private |
Definition at line 72 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), and performSourceOperation().
|
private |
Definition at line 77 of file RPCMonitorDigi.h.
Referenced by bookHistograms(), and performSourceOperation().