|
void | analyze (const edm::Event &e, const edm::EventSetup &) override |
|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
| GEMCheckGeometry (const edm::ParameterSet &gc) |
|
| ~GEMCheckGeometry () override |
|
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 |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInLumis () const final |
|
bool | hasAbilityToProduceInRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
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 |
|
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) |
|
|
typedef EDProducerBase | ModuleType |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
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) |
|
edm::EDPutTokenT< DQMToken > | lumiToken_ |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Definition at line 13 of file GEMCheckGeometry.h.
Implements DQMEDAnalyzer.
Definition at line 23 of file GEMCheckGeometry.cc.
References DQMStore::IBooker::book2D(), detailPlot_, MillePedeFileConverter_cfg::e, edm::EventSetup::get(), cond::hash, triggerObjects_cff::id, StripTopology::localPosition(), LogDebug, dataset::name, phi, GEMGeometry::regions(), reco::return(), relativeConstraints::ring, MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), relativeConstraints::station, digitizers_cfi::strip, theStdPlots, fftjetcommon_cfi::title, and ecaldqm::topology().
34 edm::LogError(
"MuonGEMGeometry") <<
"+++ Error : GEM geometry is unavailable on event loop. +++\n";
39 LogDebug(
"GEMCheckGeometry")<<
"ibooker set current folder\n";
41 for(
auto region : GEMGeometry_->
regions()) {
42 TString
title = TString::Format(
"Geometry's phi distribution on Region %d ; #phi(degree); ;",region->region());
43 TString
name = TString::Format(
"geo_phi_r%d",region->region());
44 auto temp_me = ibooker.
book2D(name.Data(), title.Data(), 360000, -180., 180, 12,1,13);
46 temp_me->setBinLabel(2,
"St1,La1_odd",2);
47 temp_me->setBinLabel(3,
"St1,La2_even",2);
48 temp_me->setBinLabel(4,
"St1,La2_odd",2);
49 temp_me->setBinLabel(5,
"St2,La1_even",2);
50 temp_me->setBinLabel(6,
"St2,La1_odd",2);
51 temp_me->setBinLabel(7,
"St2,La2_even",2);
52 temp_me->setBinLabel(8,
"St2,La2_odd",2);
57 for(
auto region : GEMGeometry_->
regions())
58 for (
auto station : region->stations())
60 for (
auto sch :
ring->superChambers())
61 for (
auto ch : sch->chambers())
62 for (
auto roll : ch->etaPartitions()) {
75 double phi = roll->toGlobal(lEdge).phi().degrees();
78 int region_idx =
id.region();
79 int station_idx =
id.station();
80 int chamber_idx =
id.chamber();
81 int layer_idx =
id.layer();
83 int value = (station_idx-1)*4+(layer_idx-1)*2+(chamber_idx%2)+1;
85 if ( region_idx ==1 ) {
86 UInt_t
hash = TString(
"geo_phi_r1").Hash();
90 UInt_t hash = TString(
"geo_phi_r-1").Hash();
std::map< UInt_t, MonitorElement * > theStdPlots
CaloTopology const * topology(0)
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
Container::value_type value_type
const std::vector< const GEMRegion * > & regions() const
Return a vector of all GEM regions.
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
return(e1-e2)*(e1-e2)+dp *dp