#include <GEMHitsValidation.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 |
GEMHitsValidation (const edm::ParameterSet &) | |
~GEMHitsValidation () | |
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 () | |
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 & | itemsToGetFromEvent () 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) |
Private Attributes | |
bool | detailPlot_ |
MonitorElement * | gem_sh_eloss [2][3][2] |
MonitorElement * | gem_sh_elossMu [2][3][2] |
std::unordered_map< UInt_t, MonitorElement * > | gem_sh_simple_elossMu |
std::unordered_map< UInt_t, MonitorElement * > | gem_sh_simple_tofMu |
MonitorElement * | gem_sh_tof [2][3][2] |
MonitorElement * | gem_sh_tofMu [2][3][2] |
MonitorElement * | gem_sh_xy [2][3][2] |
std::unordered_map< UInt_t, MonitorElement * > | gem_sh_xy_st_ch |
MonitorElement * | gem_sh_zr [2][3][2] |
std::unordered_map< UInt_t, MonitorElement * > | Hit_dcEta |
std::unordered_map< UInt_t, MonitorElement * > | Hit_simple_zr |
edm::EDGetToken | InputTagToken_ |
int | nBinXY_ |
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 GEMHitsValidation.h.
|
explicit |
Definition at line 7 of file GEMHitsValidation.cc.
References detailPlot_, edm::ParameterSet::getParameter(), and InputTagToken_.
GEMHitsValidation::~GEMHitsValidation | ( | ) |
Definition at line 144 of file GEMHitsValidation.cc.
|
overridevirtual |
Implements GEMBaseValidation.
Definition at line 148 of file GEMHitsValidation.cc.
References funct::abs(), gather_cfg::cout, detailPlot_, MonitorElement::Fill(), gem_sh_eloss, gem_sh_elossMu, gem_sh_simple_elossMu, gem_sh_simple_tofMu, gem_sh_tof, gem_sh_tofMu, gem_sh_xy, gem_sh_xy_st_ch, gem_sh_zr, edm::Event::getByToken(), GEMBaseValidation::getStationLabel(), GEMBaseValidation::getSuffixName(), Hit_dcEta, Hit_simple_zr, GEMGeometry::idToDet(), GEMBaseValidation::initGeometry(), InputTagToken_, edm::HandleBase::isValid(), LogDebug, HLT_FULL_cff::particleType, PV3DBase< T, PVType, FrameType >::perp(), HLT_FULL_cff::region, reco::return(), relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, spr::timeOfFlight(), and GeomDet::toGlobal().
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 14 of file GEMHitsValidation.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), GEMBaseValidation::BookHistXY(), GEMBaseValidation::BookHistZR(), gather_cfg::cout, detailPlot_, gem_sh_eloss, gem_sh_elossMu, gem_sh_simple_elossMu, gem_sh_simple_tofMu, gem_sh_tof, gem_sh_tofMu, gem_sh_xy, gem_sh_xy_st_ch, gem_sh_zr, GEMBaseValidation::getDCEta(), GEMBaseValidation::getSimpleZR(), GEMBaseValidation::getStationLabel(), GEMBaseValidation::getSuffixName(), GEMBaseValidation::getSuffixTitle(), Hit_dcEta, Hit_simple_zr, GEMBaseValidation::initGeometry(), LogDebug, nBinXY_, GEMBaseValidation::nPart(), GEMBaseValidation::nRegion(), GEMBaseValidation::nStation(), HLT_FULL_cff::region, GEMGeometry::regions(), reco::return(), relativeConstraints::ring, DQMStore::IBooker::setCurrentFolder(), relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
|
private |
Definition at line 37 of file GEMHitsValidation.h.
Referenced by analyze(), bookHistograms(), and GEMHitsValidation().
|
private |
Definition at line 23 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 24 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 32 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 31 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 21 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 22 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 19 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 26 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 20 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 29 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 30 of file GEMHitsValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 35 of file GEMHitsValidation.h.
Referenced by analyze(), and GEMHitsValidation().
|
private |
Definition at line 36 of file GEMHitsValidation.h.
Referenced by bookHistograms().