#include <GEMRecHitsValidation.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &) override |
MonitorElement * | BookHist1D (DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int station_num, unsigned int layer_num, const unsigned int Nbin, const Float_t xMin, const Float_t xMax) |
MonitorElement * | BookHist1D (DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, const unsigned int Nbin, const Float_t xMin, const Float_t xMax) |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
GEMRecHitsValidation (const edm::ParameterSet &) | |
~GEMRecHitsValidation () | |
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) |
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 | 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 () | |
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 |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
bool | detailPlot_ |
MonitorElement * | gem_cls [2][3][2] |
MonitorElement * | gem_cls_tot |
MonitorElement * | gem_pullX [2][3][2] |
MonitorElement * | gem_pullY [2][3][2] |
MonitorElement * | gem_region_pullX [2] |
MonitorElement * | gem_region_pullY [2] |
MonitorElement * | gem_rh_xy [2][3][2] |
MonitorElement * | gem_rh_zr [2][3][2] |
edm::EDGetToken | InputTagToken_ |
edm::EDGetToken | InputTagToken_RH |
int | nBinXY_ |
std::unordered_map< UInt_t, MonitorElement * > | recHits_dcEta |
std::unordered_map< UInt_t, MonitorElement * > | recHits_simple_zr |
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) |
Protected Attributes inherited from GEMBaseValidation | |
int | nBinXY_ |
std::vector< double > | nBinZR_ |
std::vector< double > | RangeZR_ |
Definition at line 9 of file GEMRecHitsValidation.h.
|
explicit |
Definition at line 9 of file GEMRecHitsValidation.cc.
References detailPlot_, edm::ParameterSet::getParameter(), InputTagToken_, and InputTagToken_RH.
GEMRecHitsValidation::~GEMRecHitsValidation | ( | ) |
Definition at line 93 of file GEMRecHitsValidation.cc.
|
overridevirtual |
Implements GEMBaseValidation.
Definition at line 96 of file GEMRecHitsValidation.cc.
References funct::abs(), gather_cfg::cout, detailPlot_, GEMGeometry::etaPartition(), MonitorElement::Fill(), spr::find(), gem_cls, gem_cls_tot, gem_pullX, gem_pullY, gem_region_pullX, gem_region_pullY, gem_rh_xy, gem_rh_zr, gemRecHits_cfi::gemRecHits, edm::Event::getByToken(), i, GEMGeometry::idToDet(), GEMBaseValidation::initGeometry(), InputTagToken_, InputTagToken_RH, edm::HandleBase::isValid(), LogDebug, HLT_25ns10e33_v2_cff::particleType, PV3DBase< T, PVType, FrameType >::perp(), recHits_dcEta, recHits_simple_zr, GEMDetId::region(), HLT_25ns10e33_v2_cff::region, reco::return(), relativeConstraints::station, GeomDet::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
MonitorElement * GEMRecHitsValidation::BookHist1D | ( | DQMStore::IBooker & | ibooker, |
const char * | name, | ||
const char * | label, | ||
unsigned int | region_num, | ||
unsigned int | station_num, | ||
unsigned int | layer_num, | ||
const unsigned int | Nbin, | ||
const Float_t | xMin, | ||
const Float_t | xMax | ||
) |
Definition at line 16 of file GEMRecHitsValidation.cc.
References DQMStore::IBooker::book1D(), GEMBaseValidation::getSuffixName(), GEMBaseValidation::getSuffixTitle(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by bookHistograms().
MonitorElement * GEMRecHitsValidation::BookHist1D | ( | DQMStore::IBooker & | ibooker, |
const char * | name, | ||
const char * | label, | ||
unsigned int | region_num, | ||
const unsigned int | Nbin, | ||
const Float_t | xMin, | ||
const Float_t | xMax | ||
) |
Definition at line 22 of file GEMRecHitsValidation.cc.
References DQMStore::IBooker::book1D(), GEMBaseValidation::getSuffixName(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 28 of file GEMRecHitsValidation.cc.
References DQMStore::IBooker::book1D(), BookHist1D(), GEMBaseValidation::BookHistXY(), GEMBaseValidation::BookHistZR(), detailPlot_, gem_cls, gem_cls_tot, gem_pullX, gem_pullY, gem_region_pullX, gem_region_pullY, gem_rh_xy, gem_rh_zr, GEMBaseValidation::getDCEta(), GEMBaseValidation::getSimpleZR(), GEMBaseValidation::getSuffixName(), GEMBaseValidation::getSuffixTitle(), customizeTrackingMonitorSeedNumber::idx, GEMBaseValidation::initGeometry(), diffTwoXMLs::label, LogDebug, GEMBaseValidation::nRegion(), GEMBaseValidation::nStation(), recHits_dcEta, recHits_simple_zr, HLT_25ns10e33_v2_cff::region, GEMGeometry::regions(), reco::return(), DQMStore::IBooker::setCurrentFolder(), and relativeConstraints::station.
|
private |
Definition at line 38 of file GEMRecHitsValidation.h.
Referenced by analyze(), bookHistograms(), and GEMRecHitsValidation().
|
private |
Definition at line 24 of file GEMRecHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 30 of file GEMRecHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 25 of file GEMRecHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 26 of file GEMRecHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 33 of file GEMRecHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 34 of file GEMRecHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 22 of file GEMRecHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 23 of file GEMRecHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 36 of file GEMRecHitsValidation.h.
Referenced by analyze(), and GEMRecHitsValidation().
|
private |
Definition at line 36 of file GEMRecHitsValidation.h.
Referenced by analyze(), and GEMRecHitsValidation().
|
private |
Definition at line 37 of file GEMRecHitsValidation.h.
|
private |
Definition at line 31 of file GEMRecHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 32 of file GEMRecHitsValidation.h.
Referenced by analyze(), and bookHistograms().