#include <RPCMonitorDigi.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
void | bookRegionME (const std::string &, std::map< std::string, MonitorElement * > &) |
Booking of MonitoringElemnt at region (Barrel/Endcap) level. More... | |
void | bookRollME (RPCDetId &, const edm::EventSetup &, const std::string &, std::map< std::string, MonitorElement * > &) |
Booking of MonitoringElement for one RPCDetId (= roll) More... | |
void | bookSectorRingME (const std::string &, std::map< std::string, MonitorElement * > &) |
Booking of MonitoringElement at Sector/Ring level. More... | |
void | bookWheelDiskME (const std::string &, std::map< std::string, MonitorElement * > &) |
Booking of MonitoringElemnt at Wheel/Disk level. More... | |
virtual void | endJob (void) |
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
RPCMonitorDigi (const edm::ParameterSet &) | |
~RPCMonitorDigi () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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... | |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Data Format.
Definition at line 23 of file RPCMonitorDigi.h.
|
private |
Enumerator | |
---|---|
EM | |
B | |
EP | |
ALL |
Definition at line 57 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_, numberOfDisks_, numberOfInnerRings_, RootFileName, rpcRecHitLabel_, saveRootFile, scalersRawToDigiLabel_, AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, useMuonDigis_, and useRollInfo_.
RPCMonitorDigi::~RPCMonitorDigi | ( | ) |
Definition at line 46 of file RPCMonitorDigi.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 134 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_.
|
virtual |
|
virtual |
get hold of back-end interface
Reimplemented from edm::EDAnalyzer.
Definition at line 49 of file RPCMonitorDigi.cc.
References DQMStore::book1D(), bookRegionME(), bookRollME(), bookSectorRingME(), bookWheelDiskME(), RPCGeomServ::chambername(), dbe, dcs_, edm::EventSetup::get(), DQMStore::get(), MonitorElement::getName(), meMuonCollection, meNoiseCollection, muonFolder_, muonRPCEvents_, RPCGeomServ::name(), noiseFolder_, noiseRPCEvents_, NumberOfMuon_, NumberOfRecHitMuon_, cppFunctionSkipper::operator, alignCSCRings::r, regionMuonCollection, regionNoiseCollection, DQMStore::removeElement(), RPCChamber::rolls(), sectorRingMuonCollection, sectorRingNoiseCollection, DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, useMuonDigis_, useRollInfo_, wheelDiskMuonCollection, and wheelDiskNoiseCollection.
void RPCMonitorDigi::bookRegionME | ( | const std::string & | recHitType, |
std::map< std::string, MonitorElement * > & | meMap | ||
) |
Booking of MonitoringElemnt at region (Barrel/Endcap) level.
Definition at line 319 of file RPCBookDetUnitME.cc.
References newFWLiteAna::bin, DQMStore::book1D(), dbe, DQMStore::get(), MonitorElement::getName(), globalFolder_, mergeVDriftHistosByStation::name, NULL, numberOfInnerRings_, alignCSCRings::r, regionNames_, DQMStore::removeElement(), relativeConstraints::ring, DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, and indexGen::title.
Referenced by beginRun().
void RPCMonitorDigi::bookRollME | ( | RPCDetId & | detId, |
const edm::EventSetup & | iSetup, | ||
const std::string & | recHitType, | ||
std::map< std::string, MonitorElement * > & | meMap | ||
) |
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::book1D(), RPCGeomServ::chambername(), rpcdqm::CLUSTERSIZE, dbe, RPCBookFolderStructure::folderStructure(), RPCDetId::layer(), rpcdqm::MULTIPLICITY, RPCGeomServ::name(), rpcdqm::OCCUPANCY, RPCDetId::region(), RPCDetId::ring(), DQMStore::setCurrentFolder(), RPCDetId::station(), AlCaHLTBitMon_QueryRunRegistry::string, stripsInRoll(), subsystemFolder_, DQMStore::tag(), and useRollInfo_.
Referenced by beginRun().
void RPCMonitorDigi::bookSectorRingME | ( | const std::string & | recHitType, |
std::map< std::string, MonitorElement * > & | meMap | ||
) |
Booking of MonitoringElement at Sector/Ring level.
Definition at line 89 of file RPCBookDetUnitME.cc.
References DQMStore::book2D(), dbe, i, rpcdqm::utils::labelYAxisRoll(), numberOfDisks_, numberOfInnerRings_, relativeConstraints::ring, MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and subsystemFolder_.
Referenced by beginRun().
void RPCMonitorDigi::bookWheelDiskME | ( | const std::string & | recHitType, |
std::map< std::string, MonitorElement * > & | meMap | ||
) |
Booking of MonitoringElemnt at Wheel/Disk level.
Definition at line 205 of file RPCBookDetUnitME.cc.
References DQMStore::book1D(), DQMStore::book2D(), dbe, globalFolder_, i, diffTwoXMLs::label, rpcdqm::utils::labelXAxisSector(), rpcdqm::utils::labelXAxisSegment(), rpcdqm::utils::labelYAxisRing(), rpcdqm::utils::labelYAxisRoll(), mergeVDriftHistosByStation::name, numberOfDisks_, numberOfInnerRings_, relativeConstraints::ring, MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), subsystemFolder_, and indexGen::title.
Referenced by beginRun().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 126 of file RPCMonitorDigi.cc.
References dbe, RootFileName, DQMStore::save(), and saveRootFile.
|
virtual |
|
private |
Definition at line 504 of file RPCMonitorDigi.cc.
References dcs_, edm::Event::getByToken(), edm::HandleBase::isValid(), reco::return(), DcsStatus::RPC, and scalersRawToDigiLabel_.
Referenced by analyze().
|
private |
Definition at line 232 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_, 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 304 of file RPCBookDetUnitME.cc.
References edm::EventSetup::get(), and RPCRoll::nstrips().
Referenced by bookRollME().
|
private |
Definition at line 68 of file RPCMonitorDigi.h.
Referenced by analyze().
|
private |
DQM store.
Definition at line 71 of file RPCMonitorDigi.h.
Referenced by beginRun(), bookRegionME(), bookRollME(), bookSectorRingME(), bookWheelDiskME(), and endJob().
|
private |
Definition at line 72 of file RPCMonitorDigi.h.
Referenced by analyze(), beginRun(), and makeDcsInfo().
|
private |
Definition at line 94 of file RPCMonitorDigi.h.
Referenced by bookRegionME(), bookWheelDiskME(), and RPCMonitorDigi().
|
private |
Definition at line 84 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
private |
Definition at line 89 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
private |
Definition at line 73 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 66 of file RPCMonitorDigi.h.
Referenced by analyze(), beginRun(), performSourceOperation(), and RPCMonitorDigi().
|
private |
Definition at line 100 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 76 of file RPCMonitorDigi.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 73 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 67 of file RPCMonitorDigi.h.
Referenced by analyze(), beginRun(), performSourceOperation(), and RPCMonitorDigi().
|
private |
Definition at line 75 of file RPCMonitorDigi.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 81 of file RPCMonitorDigi.h.
Referenced by bookSectorRingME(), bookWheelDiskME(), and RPCMonitorDigi().
|
private |
Definition at line 81 of file RPCMonitorDigi.h.
Referenced by bookRegionME(), bookSectorRingME(), bookWheelDiskME(), and RPCMonitorDigi().
|
private |
Definition at line 79 of file RPCMonitorDigi.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 78 of file RPCMonitorDigi.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 86 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
staticprivate |
Geometry.
Definition at line 65 of file RPCMonitorDigi.h.
Referenced by bookRegionME(), and performSourceOperation().
|
private |
Definition at line 91 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
private |
Definition at line 98 of file RPCMonitorDigi.h.
Referenced by endJob(), and RPCMonitorDigi().
|
private |
Definition at line 101 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 97 of file RPCMonitorDigi.h.
Referenced by endJob(), and RPCMonitorDigi().
|
private |
Definition at line 102 of file RPCMonitorDigi.h.
Referenced by makeDcsInfo(), and RPCMonitorDigi().
|
private |
Definition at line 87 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
private |
Definition at line 92 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
private |
Definition at line 95 of file RPCMonitorDigi.h.
Referenced by beginRun(), bookRegionME(), bookRollME(), bookSectorRingME(), bookWheelDiskME(), and RPCMonitorDigi().
|
private |
Definition at line 59 of file RPCMonitorDigi.h.
Referenced by analyze(), beginRun(), and RPCMonitorDigi().
|
private |
Definition at line 74 of file RPCMonitorDigi.h.
Referenced by beginRun(), bookRollME(), performSourceOperation(), and RPCMonitorDigi().
|
private |
Definition at line 85 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
private |
Definition at line 90 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().