#include <GEMBaseValidation.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &e, const edm::EventSetup &)=0 |
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) |
virtual | ~GEMBaseValidation () |
Public Member Functions inherited from DQMEDAnalyzer | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) final |
virtual void | beginStream (edm::StreamID id) final |
virtual void | bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0 |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
DQMEDAnalyzer (void) | |
virtual void | endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
virtual void | endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
uint32_t | streamId () const |
Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
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 |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Protected Attributes | |
int | nBinXY_ |
std::vector< double > | nBinZR_ |
std::vector< double > | RangeZR_ |
Private Attributes | |
bool | detailPlot_ |
edm::EDGetToken | InputTagToken_ |
std::vector< std::string > | layerLabel |
unsigned int | npart |
unsigned int | nregion |
unsigned int | nstation |
unsigned int | nstationForLabel |
std::vector< std::string > | regionLabel |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
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) |
Definition at line 18 of file GEMBaseValidation.h.
|
explicit |
Definition at line 8 of file GEMBaseValidation.cc.
References edm::ParameterSet::getUntrackedParameter().
|
virtual |
Definition at line 88 of file GEMBaseValidation.cc.
|
pure virtual |
Implemented in GEMStripDigiValidation, GEMHitsValidation, GEMRecHitsValidation, GEMCoPadDigiValidation, and GEMPadDigiValidation.
MonitorElement * GEMBaseValidation::BookHistXY | ( | DQMStore::IBooker & | ibooker, |
const char * | name, | ||
const char * | label, | ||
unsigned int | region_num, | ||
unsigned int | station_num, | ||
unsigned int | layer_num = 99 |
||
) |
Definition at line 162 of file GEMBaseValidation.cc.
References DQMStore::IBooker::book2D(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by GEMCoPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), GEMHitsValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().
MonitorElement * GEMBaseValidation::BookHistZR | ( | DQMStore::IBooker & | ibooker, |
const char * | name, | ||
const char * | label, | ||
unsigned int | region_num, | ||
unsigned int | station_num, | ||
unsigned int | layer_num = 99 |
||
) |
Definition at line 132 of file GEMBaseValidation.cc.
References DQMStore::IBooker::book2D(), createfilelist::int, LogDebug, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, Phase2TrackerMonitorDigi_cff::ymax, and Phase2TrackerMonitorDigi_cff::ymin.
Referenced by GEMCoPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), GEMHitsValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().
MonitorElement * GEMBaseValidation::getDCEta | ( | DQMStore::IBooker & | ibooker, |
const GEMStation * | station, | ||
TString | title, | ||
TString | histname | ||
) |
Definition at line 107 of file GEMBaseValidation.cc.
References DQMStore::IBooker::book2D(), training_settings::idx, diffTwoXMLs::label, LogDebug, GEMStation::region(), GEMStation::rings(), GEMStation::station(), and GEMStation::superChambers().
Referenced by GEMCoPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), GEMHitsValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().
MonitorElement * GEMBaseValidation::getSimpleZR | ( | DQMStore::IBooker & | ibooker, |
TString | title, | ||
TString | histname | ||
) |
Definition at line 91 of file GEMBaseValidation.cc.
References DQMStore::IBooker::book2D(), and mps_fire::i.
Referenced by GEMCoPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), GEMHitsValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().
string GEMBaseValidation::getStationLabel | ( | int | i | ) |
Definition at line 73 of file GEMBaseValidation.cc.
References gather_cfg::cout.
Referenced by GEMHitsValidation::analyze(), and GEMHitsValidation::bookHistograms().
string GEMBaseValidation::getSuffixName | ( | int | region, |
int | station, | ||
int | layer | ||
) |
Definition at line 41 of file GEMBaseValidation.cc.
References gather_cfg::cout, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by GEMCoPadDigiValidation::analyze(), GEMPadDigiValidation::analyze(), GEMHitsValidation::analyze(), GEMStripDigiValidation::analyze(), GEMRecHitsValidation::BookHist1D(), GEMHitsValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), GEMCoPadDigiValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().
string GEMBaseValidation::getSuffixName | ( | int | region, |
int | station | ||
) |
Definition at line 46 of file GEMBaseValidation.cc.
References gather_cfg::cout, and AlCaHLTBitMon_QueryRunRegistry::string.
string GEMBaseValidation::getSuffixName | ( | int | region | ) |
Definition at line 51 of file GEMBaseValidation.cc.
References gather_cfg::cout, and AlCaHLTBitMon_QueryRunRegistry::string.
string GEMBaseValidation::getSuffixTitle | ( | int | region, |
int | station, | ||
int | layer | ||
) |
Definition at line 57 of file GEMBaseValidation.cc.
References gather_cfg::cout, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by GEMRecHitsValidation::BookHist1D(), GEMCoPadDigiValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), GEMHitsValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().
string GEMBaseValidation::getSuffixTitle | ( | int | region, |
int | station | ||
) |
Definition at line 62 of file GEMBaseValidation.cc.
References gather_cfg::cout, and AlCaHLTBitMon_QueryRunRegistry::string.
string GEMBaseValidation::getSuffixTitle | ( | int | region | ) |
Definition at line 67 of file GEMBaseValidation.cc.
References gather_cfg::cout, and AlCaHLTBitMon_QueryRunRegistry::string.
const GEMGeometry * GEMBaseValidation::initGeometry | ( | const edm::EventSetup & | ) |
Definition at line 22 of file GEMBaseValidation.cc.
References MillePedeFileConverter_cfg::e, edm::EventSetup::get(), and GEMGeometry::regions().
Referenced by GEMHitsValidation::analyze(), GEMRecHitsValidation::analyze(), GEMCoPadDigiValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), GEMHitsValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().
|
inline |
Definition at line 43 of file GEMBaseValidation.h.
References npart.
Referenced by GEMHitsValidation::bookHistograms().
|
inline |
Definition at line 40 of file GEMBaseValidation.h.
References nregion.
Referenced by GEMHitsValidation::bookHistograms(), and GEMRecHitsValidation::bookHistograms().
|
inline |
Definition at line 41 of file GEMBaseValidation.h.
References nstation.
Referenced by GEMCoPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), GEMHitsValidation::bookHistograms(), and GEMPadDigiValidation::bookHistograms().
|
inline |
|
inline |
|
private |
Definition at line 56 of file GEMBaseValidation.h.
|
private |
Definition at line 54 of file GEMBaseValidation.h.
|
private |
Definition at line 53 of file GEMBaseValidation.h.
|
protected |
Definition at line 47 of file GEMBaseValidation.h.
|
protected |
Definition at line 48 of file GEMBaseValidation.h.
|
private |
Definition at line 55 of file GEMBaseValidation.h.
Referenced by nPart().
|
private |
Definition at line 55 of file GEMBaseValidation.h.
Referenced by nRegion().
|
private |
Definition at line 55 of file GEMBaseValidation.h.
Referenced by nStation().
|
private |
Definition at line 55 of file GEMBaseValidation.h.
Referenced by nStationForLabel(), and setNStationForLabel().
|
protected |
Definition at line 49 of file GEMBaseValidation.h.
|
private |
Definition at line 52 of file GEMBaseValidation.h.