#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 | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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+"} |
Data Format. More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 20 of file RPCMonitorDigi.h.
|
private |
Enumerator | |
---|---|
EM | |
B | |
EP | |
ALL |
Definition at line 54 of file RPCMonitorDigi.h.
|
explicit |
Definition at line 22 of file RPCMonitorDigi.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), globalFolder_, muEtaCut_, muonFolder_, muonLabel_, muPtCut_, noiseFolder_, numberOfDisks_, numberOfInnerRings_, RootFileName, rpcRecHitLabel_, saveRootFile, subsystemFolder_, useMuonDigis_, and useRollInfo_.
RPCMonitorDigi::~RPCMonitorDigi | ( | ) |
Definition at line 46 of file RPCMonitorDigi.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 146 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_, cmsCodeRules.cppFunctionSkipper::operator, csvReporter::r, regionMuonCollection, regionNoiseCollection, DQMStore::removeElement(), RPCChamber::rolls(), sectorRingMuonCollection, sectorRingNoiseCollection, DQMStore::setCurrentFolder(), 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 DQMStore::book1D(), dbe, DQMStore::get(), MonitorElement::getName(), globalFolder_, mergeVDriftHistosByStation::name, NULL, numberOfInnerRings_, csvReporter::r, regionNames_, DQMStore::removeElement(), relativeConstraints::ring, DQMStore::setCurrentFolder(), 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 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(), 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(), 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, 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 138 of file RPCMonitorDigi.cc.
References dbe, RootFileName, DQMStore::save(), and saveRootFile.
|
virtual |
|
private |
Definition at line 514 of file RPCMonitorDigi.cc.
References dcs_, edm::Event::getByLabel(), edm::HandleBase::isValid(), mathSSE::return(), and DcsStatus::RPC.
Referenced by analyze().
|
private |
Definition at line 242 of file RPCMonitorDigi.cc.
References 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(), asciidump::s, RPCDetId::sector(), sectorRingMuonCollection, sectorRingNoiseCollection, RPCGeomServ::segment(), relativeConstraints::station, RPCDetId::station(), 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 65 of file RPCMonitorDigi.h.
Referenced by analyze().
|
private |
DQM store.
Definition at line 68 of file RPCMonitorDigi.h.
Referenced by beginRun(), bookRegionME(), bookRollME(), bookSectorRingME(), bookWheelDiskME(), and endJob().
|
private |
Definition at line 69 of file RPCMonitorDigi.h.
Referenced by analyze(), beginRun(), and makeDcsInfo().
|
private |
Definition at line 91 of file RPCMonitorDigi.h.
Referenced by bookRegionME(), bookWheelDiskME(), and RPCMonitorDigi().
|
private |
Definition at line 81 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
private |
Definition at line 86 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
private |
Definition at line 70 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 63 of file RPCMonitorDigi.h.
Referenced by analyze(), beginRun(), performSourceOperation(), and RPCMonitorDigi().
|
private |
Definition at line 98 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 73 of file RPCMonitorDigi.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 70 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 64 of file RPCMonitorDigi.h.
Referenced by analyze(), beginRun(), performSourceOperation(), and RPCMonitorDigi().
|
private |
Definition at line 72 of file RPCMonitorDigi.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 78 of file RPCMonitorDigi.h.
Referenced by bookSectorRingME(), bookWheelDiskME(), and RPCMonitorDigi().
|
private |
Definition at line 78 of file RPCMonitorDigi.h.
Referenced by bookRegionME(), bookSectorRingME(), bookWheelDiskME(), and RPCMonitorDigi().
|
private |
Definition at line 76 of file RPCMonitorDigi.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 75 of file RPCMonitorDigi.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 83 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
staticprivate |
Data Format.
Geometry
Definition at line 62 of file RPCMonitorDigi.h.
Referenced by bookRegionME(), and performSourceOperation().
|
private |
Definition at line 88 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
private |
Definition at line 95 of file RPCMonitorDigi.h.
Referenced by endJob(), and RPCMonitorDigi().
|
private |
Definition at line 97 of file RPCMonitorDigi.h.
Referenced by analyze(), and RPCMonitorDigi().
|
private |
Definition at line 94 of file RPCMonitorDigi.h.
Referenced by endJob(), 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 92 of file RPCMonitorDigi.h.
Referenced by beginRun(), bookRegionME(), bookRollME(), bookSectorRingME(), bookWheelDiskME(), and RPCMonitorDigi().
|
private |
Definition at line 56 of file RPCMonitorDigi.h.
Referenced by analyze(), beginRun(), and RPCMonitorDigi().
|
private |
Definition at line 71 of file RPCMonitorDigi.h.
Referenced by beginRun(), bookRollME(), performSourceOperation(), and RPCMonitorDigi().
|
private |
Definition at line 82 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().
|
private |
Definition at line 87 of file RPCMonitorDigi.h.
Referenced by beginRun(), and performSourceOperation().