#include <GEMCoPadDigiValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
GEMCoPadDigiValidation (const edm::ParameterSet &) | |
~GEMCoPadDigiValidation () override | |
Public Member Functions inherited from GEMBaseValidation | |
MonitorElement * | BookHistXY (DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int station_num, unsigned int layer_num=99) |
MonitorElement * | BookHistZR (DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int station_num, unsigned int layer_num=99) |
GEMBaseValidation (const edm::ParameterSet &ps) | |
MonitorElement * | getDCEta (DQMStore::IBooker &, const GEMStation *, TString, TString) |
MonitorElement * | getSimpleZR (DQMStore::IBooker &, TString, TString) |
std::string | getStationLabel (int i) |
std::string | getSuffixName (int region, int station, int layer) |
std::string | getSuffixName (int region, int station) |
std::string | getSuffixName (int region) |
std::string | getSuffixTitle (int region, int station, int layer) |
std::string | getSuffixTitle (int region, int station) |
std::string | getSuffixTitle (int region) |
const GEMGeometry * | initGeometry (const edm::EventSetup &) |
unsigned int | nPart () |
unsigned int | nRegion () |
unsigned int | nStation () |
unsigned int | nStationForLabel () |
void | setNStationForLabel (unsigned int number) |
~GEMBaseValidation () override | |
Public Member Functions inherited from DQMEDAnalyzer | |
void | accumulate (edm::Event const &ev, edm::EventSetup const &es) final |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override |
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
DQMEDAnalyzer () | |
DQMEDAnalyzer (DQMEDAnalyzer const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer &&)=delete | |
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final |
void | endRun (edm::Run const &run, edm::EventSetup const &setup) override |
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) override |
~DQMEDAnalyzer () override=default | |
Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns > | |
EDProducer ()=default | |
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
SerialTaskQueue * | globalRunsQueue () final |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
bool | wantsGlobalLuminosityBlocks () const final |
bool | wantsGlobalRuns () const final |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
bool | wantsStreamLuminosityBlocks () const |
bool | wantsStreamRuns () const |
~EDProducerBase () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
~ProducerBase () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
bool | detailPlot_ |
edm::EDGetToken | InputTagToken_ |
int | maxBXGEM_ |
int | minBXGEM_ |
int | nBinXY_ |
std::unordered_map< UInt_t, MonitorElement * > | theCoPad_dcEta |
std::unordered_map< UInt_t, MonitorElement * > | theCoPad_simple_zr |
MonitorElement * | theCSCCoPad [2][3] |
MonitorElement * | theCSCCoPad_bx [2][3] |
MonitorElement * | theCSCCoPad_phipad [2][3] |
MonitorElement * | theCSCCoPad_xy [2][3] |
std::unordered_map< UInt_t, MonitorElement * > | theCSCCoPad_xy_ch |
MonitorElement * | theCSCCoPad_zr [2][3] |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Protected Attributes inherited from GEMBaseValidation | |
int | nBinXY_ |
std::vector< double > | nBinZR_ |
std::vector< double > | RangeZR_ |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 8 of file GEMCoPadDigiValidation.h.
|
explicit |
Definition at line 4 of file GEMCoPadDigiValidation.cc.
References detailPlot_, edm::ParameterSet::getParameter(), InputTagToken_, maxBXGEM_, and minBXGEM_.
|
override |
Definition at line 85 of file GEMCoPadDigiValidation.cc.
|
overridevirtual |
Implements GEMBaseValidation.
Definition at line 91 of file GEMCoPadDigiValidation.cc.
References GEMEtaPartition::centreOfPad(), GEMSuperChamber::chamber(), relativeConstraints::chamber, detailPlot_, GEMChamber::etaPartition(), MonitorElement::Fill(), edm::EventSetup::get(), GEMBaseValidation::getSuffixName(), GEMGeometry::idToDet(), InputTagToken_, edm::HandleBase::isValid(), LogDebug, maxBXGEM_, minBXGEM_, GEMEtaPartition::npads(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GEMDetId::region(), reco::return(), relativeConstraints::ring, AlCaHLTBitMon_QueryRunRegistry::string, GEMGeometry::superChamber(), GeomDet::surface(), theCoPad_dcEta, theCoPad_simple_zr, theCSCCoPad, theCSCCoPad_bx, theCSCCoPad_phipad, theCSCCoPad_xy, theCSCCoPad_xy_ch, theCSCCoPad_zr, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 11 of file GEMCoPadDigiValidation.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), GEMBaseValidation::BookHistXY(), GEMBaseValidation::BookHistZR(), detailPlot_, GEMBaseValidation::getDCEta(), GEMBaseValidation::getSimpleZR(), GEMBaseValidation::getSuffixName(), GEMBaseValidation::getSuffixTitle(), GEMBaseValidation::initGeometry(), LogDebug, Pi, PI, GEMGeometry::regions(), reco::return(), DQMStore::IBooker::setCurrentFolder(), relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, theCoPad_dcEta, theCoPad_simple_zr, theCSCCoPad, theCSCCoPad_bx, theCSCCoPad_phipad, theCSCCoPad_xy, theCSCCoPad_xy_ch, and theCSCCoPad_zr.
|
private |
Definition at line 31 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), bookHistograms(), and GEMCoPadDigiValidation().
|
private |
Definition at line 29 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and GEMCoPadDigiValidation().
|
private |
Definition at line 28 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and GEMCoPadDigiValidation().
|
private |
Definition at line 28 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and GEMCoPadDigiValidation().
|
private |
Definition at line 30 of file GEMCoPadDigiValidation.h.
|
private |
Definition at line 26 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 27 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 19 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 20 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 18 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 17 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 22 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 21 of file GEMCoPadDigiValidation.h.
Referenced by analyze(), and bookHistograms().