#include <RPCEfficiency.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
void | bookDetUnitSeg (RPCDetId &detId, int nstrips, std::string folder, std::map< std::string, MonitorElement * > &) |
virtual void | endJob () |
virtual void | endRun (const edm::Run &r, const edm::EventSetup &iSetup) |
RPCEfficiency (const edm::ParameterSet &) | |
~RPCEfficiency () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
std::vector< std::map < RPCDetId, int > > | counter |
edm::InputTag | cscSegments |
DQMStore * | dbe |
bool | debug |
edm::InputTag | dt4DSegments |
int | dupli |
std::string | EffRootFileName |
bool | EffSaveRootFile |
std::string | folderPath |
bool | inclcsc |
bool | incldt |
bool | incldtMB4 |
bool | inves |
double | MaxD |
double | MaxDrb4 |
std::map< int, std::map < std::string, MonitorElement * > > | meCollection |
double | MinCosAng |
double | rangestrips |
double | rangestripsRB4 |
std::string | rollseff |
edm::InputTag | RPCRecHitLabel_ |
std::vector< int > | totalcounter |
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) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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) |
Class for RPC Monitoring using RPCDigi and DT and CSC Segments.
Definition at line 107 of file RPCEfficiency.h.
|
explicit |
Definition at line 37 of file RPCEfficiency.cc.
References gather_cfg::cout, cscSegments, dbe, debug, dt4DSegments, dupli, EffRootFileName, EffSaveRootFile, folderPath, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hGlobalResClu1La, hGlobalResClu1R2A, hGlobalResClu1R2B, hGlobalResClu1R2C, hGlobalResClu1R3A, hGlobalResClu1R3B, hGlobalResClu1R3C, hGlobalResClu2La, hGlobalResClu2R2A, hGlobalResClu2R2B, hGlobalResClu2R2C, hGlobalResClu2R3A, hGlobalResClu2R3B, hGlobalResClu2R3C, hGlobalResClu3La, hGlobalResClu3R2A, hGlobalResClu3R2B, hGlobalResClu3R2C, hGlobalResClu3R3A, hGlobalResClu3R3B, hGlobalResClu3R3C, inclcsc, incldt, incldtMB4, MaxD, MaxDrb4, MinCosAng, cppFunctionSkipper::operator, rangestrips, rangestripsRB4, RPCRecHitLabel_, MonitorElement::setBinLabel(), statistics, and AlCaHLTBitMon_QueryRunRegistry::string.
RPCEfficiency::~RPCEfficiency | ( | ) |
Definition at line 262 of file RPCEfficiency.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 264 of file RPCEfficiency.cc.
References CSCDetId::chamber(), gather_cfg::cout, cscSegments, debug, distsector_tmp(), dt4DSegments, dupli, CSCDetId::endcap(), MonitorElement::Fill(), edm::EventSetup::get(), edm::Event::getByLabel(), hGlobalResClu1La, hGlobalResClu1R2A, hGlobalResClu1R2B, hGlobalResClu1R2C, hGlobalResClu1R3A, hGlobalResClu1R3B, hGlobalResClu1R3C, hGlobalResClu2La, hGlobalResClu2R2A, hGlobalResClu2R2B, hGlobalResClu2R2C, hGlobalResClu2R3A, hGlobalResClu2R3B, hGlobalResClu2R3C, hGlobalResClu3La, hGlobalResClu3R2A, hGlobalResClu3R2B, hGlobalResClu3R2C, hGlobalResClu3R3A, hGlobalResClu3R3B, hGlobalResClu3R3C, RPCRoll::id(), CSCChamber::id(), inclcsc, incldt, incldtMB4, edm::HandleBase::isValid(), RPCDetId::layer(), MaxD, MaxDrb4, meCollection, MinCosAng, RPCGeomServ::name(), RPCRoll::nstrips(), rangestrips, DetId::rawId(), RPCDetId::ring(), CSCDetId::ring(), RPCDetId::roll(), rollstoreCSC, rollstoreDT, RPCRecHitLabel_, DTChamberId::sector(), mathSSE::sqrt(), DTChamberId::station(), CSCDetId::station(), RPCDetId::station(), statistics, AlCaHLTBitMon_QueryRunRegistry::string, RPCRoll::strip(), GeomDet::surface(), GeomDet::toGlobal(), GeomDet::toLocal(), RPCRoll::topology(), DTChamberId::wheel(), X, PV3DBase< T, PVType, FrameType >::x(), SiStripMonitorClusterAlca_cfi::xmax, SiStripMonitorClusterAlca_cfi::xmin, PV3DBase< T, PVType, FrameType >::y(), Gflash::Z, and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 162 of file RPCEfficiency.cc.
References bookDetUnitSeg(), gather_cfg::cout, debug, folderPath, edm::EventSetup::get(), inclcsc, incldt, incldtMB4, meCollection, alignCSCRings::r, DetId::rawId(), RPCDetId::region(), relativeConstraints::ring, RPCDetId::ring(), RPCChamber::rolls(), rollstoreCSC, rollstoreDT, RPCDetId::sector(), RPCGeomServ::segment(), relativeConstraints::station, and RPCDetId::station().
void RPCEfficiency::bookDetUnitSeg | ( | RPCDetId & | detId, |
int | nstrips, | ||
std::string | folder, | ||
std::map< std::string, MonitorElement * > & | meMap | ||
) |
Definition at line 13 of file RPCEfficiencyBook.cc.
References DQMStore::book1D(), dbe, DetId::rawId(), RPCDetId::region(), and DQMStore::setCurrentFolder().
Referenced by beginRun().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 907 of file RPCEfficiency.cc.
References dbe.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 900 of file RPCEfficiency.cc.
References dbe, EffRootFileName, EffSaveRootFile, and DQMStore::save().
|
private |
Definition at line 158 of file RPCEfficiency.h.
|
private |
Definition at line 175 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
|
private |
Definition at line 187 of file RPCEfficiency.h.
Referenced by bookDetUnitSeg(), endJob(), endRun(), and RPCEfficiency().
|
private |
Definition at line 164 of file RPCEfficiency.h.
Referenced by analyze(), beginRun(), pkg.AbstractPkg::generate(), pkg.AbstractPkg::get_kwds(), RPCEfficiency(), and pkg.AbstractPkg::write().
|
private |
Definition at line 176 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
|
private |
Definition at line 172 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
|
private |
Definition at line 186 of file RPCEfficiency.h.
Referenced by endRun(), and RPCEfficiency().
|
private |
Definition at line 185 of file RPCEfficiency.h.
Referenced by endRun(), and RPCEfficiency().
|
private |
Definition at line 179 of file RPCEfficiency.h.
Referenced by beginRun(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu1La[6] |
Definition at line 131 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu1R2A |
Definition at line 141 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu1R2B |
Definition at line 140 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu1R2C |
Definition at line 139 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu1R3A |
Definition at line 138 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu1R3B |
Definition at line 137 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu1R3C |
Definition at line 136 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu2La[6] |
Definition at line 132 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu2R2A |
Definition at line 148 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu2R2B |
Definition at line 147 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu2R2C |
Definition at line 146 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu2R3A |
Definition at line 145 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu2R3B |
Definition at line 144 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu2R3C |
Definition at line 143 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu3La[6] |
Definition at line 133 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu3R2A |
Definition at line 155 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu3R2B |
Definition at line 154 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu3R2C |
Definition at line 153 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu3R3A |
Definition at line 152 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu3R3B |
Definition at line 151 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::hGlobalResClu3R3C |
Definition at line 150 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
|
private |
Definition at line 163 of file RPCEfficiency.h.
Referenced by analyze(), beginRun(), and RPCEfficiency().
|
private |
Definition at line 161 of file RPCEfficiency.h.
Referenced by analyze(), beginRun(), and RPCEfficiency().
|
private |
Definition at line 162 of file RPCEfficiency.h.
Referenced by analyze(), beginRun(), and RPCEfficiency().
|
private |
Definition at line 166 of file RPCEfficiency.h.
|
private |
Definition at line 170 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
|
private |
Definition at line 171 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
|
private |
Definition at line 183 of file RPCEfficiency.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 169 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
|
private |
Definition at line 167 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
|
private |
Definition at line 168 of file RPCEfficiency.h.
Referenced by RPCEfficiency().
|
private |
Definition at line 181 of file RPCEfficiency.h.
std::map<CSCStationIndex,std::set<RPCDetId> > RPCEfficiency::rollstoreCSC |
Definition at line 118 of file RPCEfficiency.h.
Referenced by analyze(), and beginRun().
std::map<DTStationIndex,std::set<RPCDetId> > RPCEfficiency::rollstoreDT |
Definition at line 117 of file RPCEfficiency.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 177 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
MonitorElement* RPCEfficiency::statistics |
Definition at line 124 of file RPCEfficiency.h.
Referenced by analyze(), and RPCEfficiency().
|
private |
Definition at line 159 of file RPCEfficiency.h.