CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
GEMOfflineMonitor Class Reference

#include <GEMOfflineMonitor.h>

Inheritance diagram for GEMOfflineMonitor:
GEMOfflineDQMBase DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

 GEMOfflineMonitor (const edm::ParameterSet &)
 
 ~GEMOfflineMonitor () override
 
- Public Member Functions inherited from GEMOfflineDQMBase
template<typename T >
bool checkRefs (const std::vector< T * > &)
 
void fillME (MEMap &me_map, const GEMDetId &key, const float x)
 
void fillME (MEMap &me_map, const GEMDetId &key, const float x, const float y)
 
 GEMOfflineDQMBase (const edm::ParameterSet &)
 
int getDetOccXBin (const GEMDetId &, const edm::ESHandle< GEMGeometry > &)
 
int getDetOccXBin (const int, const int, const int)
 
GEMDetId getKey (const GEMDetId &)
 
int getMaxVFAT (const int)
 
int getNumEtaPartitions (const GEMStation *)
 
GEMDetId getReStEtKey (const GEMDetId &)
 
GEMDetId getReStKey (const GEMDetId &)
 
GEMDetId getReStKey (const int, const int)
 
GEMDetId getReStLaChKey (const GEMDetId &)
 
GEMDetId getReStLaKey (const GEMDetId &)
 
int getVFATNumber (const int, const int, const int)
 
int getVFATNumberByStrip (const int, const int, const int)
 
void setDetLabelsEta (MonitorElement *, const GEMStation *)
 
void setDetLabelsVFAT (MonitorElement *, const GEMStation *)
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &)
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 

Protected Member Functions

void analyze (const edm::Event &event, const edm::EventSetup &eventSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Member Functions

void bookDigiOccupancy (DQMStore::IBooker &, const edm::ESHandle< GEMGeometry > &)
 
void bookHitOccupancy (DQMStore::IBooker &, const edm::ESHandle< GEMGeometry > &)
 
void doDigiOccupancy (const edm::ESHandle< GEMGeometry > &, const edm::Handle< GEMDigiCollection > &)
 
void doHitOccupancy (const edm::ESHandle< GEMGeometry > &, const edm::Handle< GEMRecHitCollection > &)
 

Private Attributes

edm::EDGetTokenT< GEMDigiCollectiondigi_token_
 
bool do_digi_occupancy_
 
bool do_hit_occupancy_
 
const edm::ESGetToken< GEMGeometry, MuonGeometryRecordgemToken_
 
MEMap me_digi_det_
 
MEMap me_hit_det_
 
edm::EDGetTokenT< GEMRecHitCollectionrechit_token_
 

Additional Inherited Members

- Public Types inherited from GEMOfflineDQMBase
using MEMap = std::map< GEMDetId, dqm::impl::MonitorElement * >
 
- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Public Attributes inherited from GEMOfflineDQMBase
std::string log_category_
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 13 of file GEMOfflineMonitor.h.

Constructor & Destructor Documentation

◆ GEMOfflineMonitor()

GEMOfflineMonitor::GEMOfflineMonitor ( const edm::ParameterSet pset)
explicit

Definition at line 7 of file GEMOfflineMonitor.cc.

8  : GEMOfflineDQMBase(pset), gemToken_(esConsumes<GEMGeometry, MuonGeometryRecord>()) {
9  digi_token_ = consumes<GEMDigiCollection>(pset.getParameter<edm::InputTag>("digiTag"));
10  rechit_token_ = consumes<GEMRecHitCollection>(pset.getParameter<edm::InputTag>("recHitTag"));
11  do_digi_occupancy_ = pset.getUntrackedParameter<bool>("doDigiOccupancy");
12  do_hit_occupancy_ = pset.getUntrackedParameter<bool>("doHitOccupancy");
13  log_category_ = pset.getUntrackedParameter<std::string>("logCategory");
14 }

References digi_token_, do_digi_occupancy_, do_hit_occupancy_, GEMOfflineDQMBase::log_category_, muonDTDigis_cfi::pset, rechit_token_, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~GEMOfflineMonitor()

GEMOfflineMonitor::~GEMOfflineMonitor ( )
override

Definition at line 16 of file GEMOfflineMonitor.cc.

16 {}

Member Function Documentation

◆ analyze()

void GEMOfflineMonitor::analyze ( const edm::Event event,
const edm::EventSetup eventSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 117 of file GEMOfflineMonitor.cc.

117  {
118  edm::Handle<GEMDigiCollection> digi_collection;
119  if (do_digi_occupancy_) {
120  event.getByToken(digi_token_, digi_collection);
121  if (not digi_collection.isValid()) {
122  edm::LogError(log_category_) << "GEMDigiCollection is invalid!" << std::endl;
123  return;
124  }
125  }
126 
127  edm::Handle<GEMRecHitCollection> rechit_collection;
128  if (do_hit_occupancy_) {
129  event.getByToken(rechit_token_, rechit_collection);
130  if (not rechit_collection.isValid()) {
131  edm::LogError(log_category_) << "GEMRecHitCollection is invalid" << std::endl;
132  return;
133  }
134  }
135 
137  gem = setup.getHandle(gemToken_);
138 
139  if (not gem.isValid()) {
140  edm::LogError(log_category_) << "GEMGeometry is invalid" << std::endl;
141  return;
142  }
143 
144  if (do_digi_occupancy_)
145  doDigiOccupancy(gem, digi_collection);
146 
147  if (do_hit_occupancy_)
148  doHitOccupancy(gem, rechit_collection);
149 }

References digi_token_, do_digi_occupancy_, do_hit_occupancy_, doDigiOccupancy(), doHitOccupancy(), mixOne_premix_on_sim_cfi::gem, gemToken_, edm::HandleBase::isValid(), GEMOfflineDQMBase::log_category_, rechit_token_, and singleTopDQM_cfi::setup.

◆ bookDigiOccupancy()

void GEMOfflineMonitor::bookDigiOccupancy ( DQMStore::IBooker ibooker,
const edm::ESHandle< GEMGeometry > &  gem 
)
private

Definition at line 44 of file GEMOfflineMonitor.cc.

44  {
45  ibooker.setCurrentFolder("GEM/GEMOfflineMonitor/DigiOccupancy");
46 
47  for (const GEMStation* station : gem->stations()) {
48  const int region_id = station->region();
49  const int station_id = station->station();
50  const GEMDetId&& key = getReStKey(region_id, station_id);
51  const auto&& name_suffix = GEMUtils::getSuffixName(region_id, station_id);
52  const auto&& title_suffix = GEMUtils::getSuffixTitle(region_id, station_id);
53 
54  const auto&& superchambers = station->superChambers();
55  if (not checkRefs(superchambers)) {
56  edm::LogError(log_category_) << "failed to get a valid vector of GEMSuperChamber ptrs" << std::endl;
57  return;
58  }
59 
60  // per station
61  const int num_superchambers = superchambers.size();
62  const int num_chambers = num_superchambers * superchambers.front()->nChambers();
63  // the numer of VFATs per GEMEtaPartition
64  const int max_vfat = getMaxVFAT(station->station());
65  // the number of eta partitions per GEMChamber
66  const int num_etas = getNumEtaPartitions(station);
67  // the number of VFATs per GEMChamber
68  const int num_vfat = num_etas * max_vfat;
69 
70  me_digi_det_[key] = ibooker.book2D("digi_det" + name_suffix,
71  "Digi Occupancy" + title_suffix,
72  num_chambers,
73  0.5,
74  num_chambers + 0.5,
75  num_vfat,
76  0.5,
77  num_vfat + 0.5);
79  } // station
80 }

References dqm::implementation::IBooker::book2D(), GEMOfflineDQMBase::checkRefs(), GEMOfflineDQMBase::getMaxVFAT(), GEMOfflineDQMBase::getNumEtaPartitions(), GEMOfflineDQMBase::getReStKey(), GEMUtils::getSuffixName(), GEMUtils::getSuffixTitle(), crabWrapper::key, GEMOfflineDQMBase::log_category_, me_digi_det_, dqm::implementation::NavigatorBase::setCurrentFolder(), GEMOfflineDQMBase::setDetLabelsVFAT(), and relativeConstraints::station.

Referenced by bookHistograms().

◆ bookHistograms()

void GEMOfflineMonitor::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  run,
edm::EventSetup const &  setup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 28 of file GEMOfflineMonitor.cc.

28  {
30  gem = setup.getHandle(gemToken_);
31 
32  if (not gem.isValid()) {
33  edm::LogError(log_category_) << "GEMGeometry is invalid" << std::endl;
34  return;
35  }
36 
38  bookDigiOccupancy(ibooker, gem);
39 
41  bookHitOccupancy(ibooker, gem);
42 }

References bookDigiOccupancy(), bookHitOccupancy(), do_digi_occupancy_, do_hit_occupancy_, mixOne_premix_on_sim_cfi::gem, gemToken_, GEMOfflineDQMBase::log_category_, and singleTopDQM_cfi::setup.

◆ bookHitOccupancy()

void GEMOfflineMonitor::bookHitOccupancy ( DQMStore::IBooker ibooker,
const edm::ESHandle< GEMGeometry > &  gem 
)
private

Definition at line 82 of file GEMOfflineMonitor.cc.

82  {
83  ibooker.setCurrentFolder("GEM/GEMOfflineMonitor/HitOccupancy");
84 
85  for (const GEMStation* station : gem->stations()) {
86  const int region_id = station->region();
87  const int station_id = station->station();
88 
89  const GEMDetId&& key = getReStKey(region_id, station_id);
90  const auto&& name_suffix = GEMUtils::getSuffixName(region_id, station_id);
91  const auto&& title_suffix = GEMUtils::getSuffixTitle(region_id, station_id);
92 
93  const auto&& superchambers = station->superChambers();
94  if (not checkRefs(superchambers)) {
95  edm::LogError(log_category_) << "failed to get a valid vector of GEMSuperChamber ptrs" << std::endl;
96  return;
97  }
98 
99  // per station
100  const int num_superchambers = superchambers.size();
101  const int num_chambers = num_superchambers * superchambers.front()->nChambers();
102  // the number of eta partitions per GEMChamber
103  const int num_etas = getNumEtaPartitions(station);
104 
105  me_hit_det_[key] = ibooker.book2D("hit_det" + name_suffix,
106  "Hit Occupancy" + title_suffix,
107  num_chambers,
108  0.5,
109  num_chambers + 0.5,
110  num_etas,
111  0.5,
112  num_etas + 0.5);
114  } // station
115 }

References dqm::implementation::IBooker::book2D(), GEMOfflineDQMBase::checkRefs(), GEMOfflineDQMBase::getNumEtaPartitions(), GEMOfflineDQMBase::getReStKey(), GEMUtils::getSuffixName(), GEMUtils::getSuffixTitle(), crabWrapper::key, GEMOfflineDQMBase::log_category_, me_hit_det_, dqm::implementation::NavigatorBase::setCurrentFolder(), GEMOfflineDQMBase::setDetLabelsEta(), and relativeConstraints::station.

Referenced by bookHistograms().

◆ doDigiOccupancy()

void GEMOfflineMonitor::doDigiOccupancy ( const edm::ESHandle< GEMGeometry > &  gem,
const edm::Handle< GEMDigiCollection > &  digi_collection 
)
private

Definition at line 151 of file GEMOfflineMonitor.cc.

152  {
153  for (auto range_iter = digi_collection->begin(); range_iter != digi_collection->end(); range_iter++) {
154  const GEMDetId& gem_id = (*range_iter).first;
155  const GEMDigiCollection::Range& range = (*range_iter).second;
156 
157  const GEMDetId&& rs_key = getReStKey(gem_id);
158  for (auto digi = range.first; digi != range.second; ++digi) {
159  const int chamber_bin = getDetOccXBin(gem_id, gem);
160  const int vfat_number = getVFATNumberByStrip(gem_id.station(), gem_id.roll(), digi->strip());
161 
162  fillME(me_digi_det_, rs_key, chamber_bin, vfat_number);
163  } // digi
164  } // range
165 }

References chamber_bin(), GEMOfflineDQMBase::fillME(), GEMOfflineDQMBase::getDetOccXBin(), GEMOfflineDQMBase::getReStKey(), GEMOfflineDQMBase::getVFATNumberByStrip(), me_digi_det_, FastTimerService_cff::range, GEMDetId::roll(), and GEMDetId::station().

Referenced by analyze().

◆ doHitOccupancy()

void GEMOfflineMonitor::doHitOccupancy ( const edm::ESHandle< GEMGeometry > &  gem,
const edm::Handle< GEMRecHitCollection > &  rechit_collection 
)
private

Definition at line 167 of file GEMOfflineMonitor.cc.

168  {
169  for (auto hit = rechit_collection->begin(); hit != rechit_collection->end(); hit++) {
170  const GEMDetId&& gem_id = hit->gemId();
171  const GEMDetId&& rs_key = getReStKey(gem_id);
172  const int chamber_bin = getDetOccXBin(gem_id, gem);
173  fillME(me_hit_det_, rs_key, chamber_bin, gem_id.roll());
174  }
175 }

References chamber_bin(), GEMOfflineDQMBase::fillME(), GEMOfflineDQMBase::getDetOccXBin(), GEMOfflineDQMBase::getReStKey(), me_hit_det_, and GEMDetId::roll().

Referenced by analyze().

◆ fillDescriptions()

void GEMOfflineMonitor::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 18 of file GEMOfflineMonitor.cc.

18  {
20  desc.add<edm::InputTag>("digiTag", edm::InputTag("muonGEMDigis"));
21  desc.add<edm::InputTag>("recHitTag", edm::InputTag("gemRecHits"));
22  desc.addUntracked<std::string>("logCategory", "GEMOfflineMonitor");
23  desc.addUntracked<bool>("doDigiOccupancy", true);
24  desc.addUntracked<bool>("doHitOccupancy", true);
25  descriptions.add("gemOfflineMonitorDefault", desc);
26 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

Member Data Documentation

◆ digi_token_

edm::EDGetTokenT<GEMDigiCollection> GEMOfflineMonitor::digi_token_
private

Definition at line 30 of file GEMOfflineMonitor.h.

Referenced by analyze(), and GEMOfflineMonitor().

◆ do_digi_occupancy_

bool GEMOfflineMonitor::do_digi_occupancy_
private

Definition at line 35 of file GEMOfflineMonitor.h.

Referenced by analyze(), bookHistograms(), and GEMOfflineMonitor().

◆ do_hit_occupancy_

bool GEMOfflineMonitor::do_hit_occupancy_
private

Definition at line 36 of file GEMOfflineMonitor.h.

Referenced by analyze(), bookHistograms(), and GEMOfflineMonitor().

◆ gemToken_

const edm::ESGetToken<GEMGeometry, MuonGeometryRecord> GEMOfflineMonitor::gemToken_
private

Definition at line 33 of file GEMOfflineMonitor.h.

Referenced by analyze(), and bookHistograms().

◆ me_digi_det_

MEMap GEMOfflineMonitor::me_digi_det_
private

Definition at line 38 of file GEMOfflineMonitor.h.

Referenced by bookDigiOccupancy(), and doDigiOccupancy().

◆ me_hit_det_

MEMap GEMOfflineMonitor::me_hit_det_
private

Definition at line 39 of file GEMOfflineMonitor.h.

Referenced by bookHitOccupancy(), and doHitOccupancy().

◆ rechit_token_

edm::EDGetTokenT<GEMRecHitCollection> GEMOfflineMonitor::rechit_token_
private

Definition at line 31 of file GEMOfflineMonitor.h.

Referenced by analyze(), and GEMOfflineMonitor().

FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
GEMOfflineMonitor::me_digi_det_
MEMap me_digi_det_
Definition: GEMOfflineMonitor.h:38
GEMOfflineMonitor::do_hit_occupancy_
bool do_hit_occupancy_
Definition: GEMOfflineMonitor.h:36
relativeConstraints.station
station
Definition: relativeConstraints.py:67
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
GEMOfflineMonitor::do_digi_occupancy_
bool do_digi_occupancy_
Definition: GEMOfflineMonitor.h:35
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
GEMOfflineMonitor::doDigiOccupancy
void doDigiOccupancy(const edm::ESHandle< GEMGeometry > &, const edm::Handle< GEMDigiCollection > &)
Definition: GEMOfflineMonitor.cc:151
GEMOfflineDQMBase::getVFATNumberByStrip
int getVFATNumberByStrip(const int, const int, const int)
Definition: GEMOfflineDQMBase.h:60
GEMOfflineDQMBase::GEMOfflineDQMBase
GEMOfflineDQMBase(const edm::ParameterSet &)
Definition: GEMOfflineDQMBase.cc:4
edm::Handle< GEMDigiCollection >
GEMOfflineDQMBase::getMaxVFAT
int getMaxVFAT(const int)
Definition: GEMOfflineDQMBase.h:44
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
GEMUtils::getSuffixName
TString getSuffixName(Int_t region_id)
Definition: GEMValidationUtils.cc:5
GEMOfflineDQMBase::log_category_
std::string log_category_
Definition: GEMOfflineDQMBase.h:41
GEMOfflineDQMBase::setDetLabelsEta
void setDetLabelsEta(MonitorElement *, const GEMStation *)
Definition: GEMOfflineDQMBase.cc:49
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
GEMOfflineDQMBase::getNumEtaPartitions
int getNumEtaPartitions(const GEMStation *)
Definition: GEMOfflineDQMBase.cc:70
GEMStation
Definition: GEMStation.h:19
edm::ESHandle< GEMGeometry >
GEMOfflineMonitor::gemToken_
const edm::ESGetToken< GEMGeometry, MuonGeometryRecord > gemToken_
Definition: GEMOfflineMonitor.h:33
GEMOfflineDQMBase::checkRefs
bool checkRefs(const std::vector< T * > &)
Definition: GEMOfflineDQMBase.h:70
GEMDetId::roll
constexpr int roll() const
Definition: GEMDetId.h:194
GEMDetId
Definition: GEMDetId.h:18
GEMOfflineDQMBase::setDetLabelsVFAT
void setDetLabelsVFAT(MonitorElement *, const GEMStation *)
Definition: GEMOfflineDQMBase.cc:14
GEMOfflineMonitor::rechit_token_
edm::EDGetTokenT< GEMRecHitCollection > rechit_token_
Definition: GEMOfflineMonitor.h:31
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
gem
Definition: AMC13Event.h:6
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
GEMOfflineMonitor::digi_token_
edm::EDGetTokenT< GEMDigiCollection > digi_token_
Definition: GEMOfflineMonitor.h:30
GEMOfflineMonitor::bookHitOccupancy
void bookHitOccupancy(DQMStore::IBooker &, const edm::ESHandle< GEMGeometry > &)
Definition: GEMOfflineMonitor.cc:82
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
GEMOfflineDQMBase::getReStKey
GEMDetId getReStKey(const int, const int)
Definition: GEMOfflineDQMBase.h:78
GEMOfflineDQMBase::fillME
void fillME(MEMap &me_map, const GEMDetId &key, const float x)
Definition: GEMOfflineDQMBase.cc:86
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
GEMUtils::getSuffixTitle
TString getSuffixTitle(Int_t region_id)
Definition: GEMValidationUtils.cc:34
chamber_bin
int chamber_bin(int station, int ring, int chamber)
Definition: L1TStage2EMTF.cc:468
MuonDigiCollection::Range
std::pair< const_iterator, const_iterator > Range
Definition: MuonDigiCollection.h:95
GEMOfflineMonitor::bookDigiOccupancy
void bookDigiOccupancy(DQMStore::IBooker &, const edm::ESHandle< GEMGeometry > &)
Definition: GEMOfflineMonitor.cc:44
GEMDetId::station
constexpr int station() const
Definition: GEMDetId.h:179
mixOne_premix_on_sim_cfi.gem
gem
Definition: mixOne_premix_on_sim_cfi.py:194
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
crabWrapper.key
key
Definition: crabWrapper.py:19
edm::InputTag
Definition: InputTag.h:15
hit
Definition: SiStripHitEffFromCalibTree.cc:88
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
GEMOfflineMonitor::me_hit_det_
MEMap me_hit_det_
Definition: GEMOfflineMonitor.h:39
GEMOfflineMonitor::doHitOccupancy
void doHitOccupancy(const edm::ESHandle< GEMGeometry > &, const edm::Handle< GEMRecHitCollection > &)
Definition: GEMOfflineMonitor.cc:167
GEMOfflineDQMBase::getDetOccXBin
int getDetOccXBin(const int, const int, const int)
Definition: GEMOfflineDQMBase.h:65