CMS 3D CMS Logo

GEMRecHitSource.h
Go to the documentation of this file.
1 #ifndef DQM_GEM_INTERFACE_GEMRecHitSource_h
2 #define DQM_GEM_INTERFACE_GEMRecHitSource_h
3 
5 
9 
10 #include <string>
11 
12 //----------------------------------------------------------------------------------------------------
13 
14 class GEMRecHitSource : public GEMDQMBase {
15 public:
16  explicit GEMRecHitSource(const edm::ParameterSet& cfg);
17  ~GEMRecHitSource() override{};
18  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
19 
20 protected:
21  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override{};
22  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
23  void analyze(edm::Event const& e, edm::EventSetup const& eSetup) override;
24 
25 private:
26  int ProcessWithMEMap2WithEta(BookingHelper& bh, ME3IdsKey key) override;
27  int ProcessWithMEMap2AbsReWithEta(BookingHelper& bh, ME3IdsKey key) override;
28  int ProcessWithMEMap3(BookingHelper& bh, ME3IdsKey key) override;
29  int ProcessWithMEMap3WithChamber(BookingHelper& bh, ME4IdsKey key) override;
30 
32 
35 
45 
47 
48  Int_t nCLSMax_;
49  Float_t fRadiusMin_;
50  Float_t fRadiusMax_;
51 
52  std::unordered_map<UInt_t, MonitorElement*> recHitME_;
53  std::unordered_map<UInt_t, MonitorElement*> VFAT_vs_ClusterSize_;
54  std::unordered_map<UInt_t, MonitorElement*> DigisFired_vs_eta_;
55  std::unordered_map<UInt_t, MonitorElement*> rh_vs_eta_;
56  std::unordered_map<UInt_t, MonitorElement*> recGlobalPos;
57 
58  Bool_t bModeRelVal_;
59 };
60 
61 #endif // DQM_GEM_INTERFACE_GEMRecHitSource_h
GEMRecHitSource::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: GEMRecHitSource.cc:27
GEMRecHitSource::mapTotalRecHitPerEvtLayer_
MEMap3Inf mapTotalRecHitPerEvtLayer_
Definition: GEMRecHitSource.h:40
GEMRecHitSource::mapCLSRecHit_ieta_
MEMap3Inf mapCLSRecHit_ieta_
Definition: GEMRecHitSource.h:42
GEMRecHitSource::ProcessWithMEMap3WithChamber
int ProcessWithMEMap3WithChamber(BookingHelper &bh, ME4IdsKey key) override
Definition: GEMRecHitSource.cc:144
GEMRecHit.h
GEMRecHitSource::DigisFired_vs_eta_
std::unordered_map< UInt_t, MonitorElement * > DigisFired_vs_eta_
Definition: GEMRecHitSource.h:54
GEMRecHitSource::recHitME_
std::unordered_map< UInt_t, MonitorElement * > recHitME_
Definition: GEMRecHitSource.h:52
GEMRecHitSource::mapTotalRecHit_layer_
MEMap3Inf mapTotalRecHit_layer_
Definition: GEMRecHitSource.h:36
edm::Run
Definition: Run.h:45
ME4IdsKey
std::tuple< Int_t, Int_t, Int_t, Int_t > ME4IdsKey
Definition: GEMValidationUtils.h:20
GEMRecHitSource::mapRecHitWheel_layer_
MEMap3Inf mapRecHitWheel_layer_
Definition: GEMRecHitSource.h:37
GEMRecHitSource::mapRecHitOcc_ieta_
MEMap3Inf mapRecHitOcc_ieta_
Definition: GEMRecHitSource.h:38
GEMRecHitSource::GEMRecHitSource
GEMRecHitSource(const edm::ParameterSet &cfg)
Definition: GEMRecHitSource.cc:6
GEMRecHitSource::nClusterSizeBinNum_
int nClusterSizeBinNum_
Definition: GEMRecHitSource.h:34
GEMRecHitSource::VFAT_vs_ClusterSize_
std::unordered_map< UInt_t, MonitorElement * > VFAT_vs_ClusterSize_
Definition: GEMRecHitSource.h:53
GEMRecHitSource::tagRecHit_
edm::EDGetToken tagRecHit_
Definition: GEMRecHitSource.h:31
GEMRecHitSource::~GEMRecHitSource
~GEMRecHitSource() override
Definition: GEMRecHitSource.h:17
GEMDQMBase.h
GEMRecHitSource::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: GEMRecHitSource.cc:14
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
GEMRecHitSource::mapRecHitOcc_phi_
MEMap3Inf mapRecHitOcc_phi_
Definition: GEMRecHitSource.h:39
edm::ParameterSet
Definition: ParameterSet.h:47
GEMDQMBase::MEMap4Inf
MEMapInfT< MEMap4Ids, ME4IdsKey > MEMap4Inf
Definition: GEMDQMBase.h:420
GEMRecHitSource::analyze
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
Definition: GEMRecHitSource.cc:155
GEMRecHitSource::nIdxFirstDigi_
int nIdxFirstDigi_
Definition: GEMRecHitSource.h:33
GEMRecHitSource::mapTotalRecHitPerEvtIEta_
MEMap3Inf mapTotalRecHitPerEvtIEta_
Definition: GEMRecHitSource.h:41
GEMRecHitCollection.h
edm::EventSetup
Definition: EventSetup.h:58
edm::EDGetToken
Definition: EDGetToken.h:35
GEMDQMBase::MEMapInfT
Definition: GEMDQMBase.h:101
GEMRecHitSource::mapCLSOver5_
MEMap3Inf mapCLSOver5_
Definition: GEMRecHitSource.h:44
looper.cfg
cfg
Definition: looper.py:296
GEMRecHitSource::ProcessWithMEMap3
int ProcessWithMEMap3(BookingHelper &bh, ME3IdsKey key) override
Definition: GEMRecHitSource.cc:110
GEMRecHitSource::fRadiusMin_
Float_t fRadiusMin_
Definition: GEMRecHitSource.h:49
GEMRecHitSource::bModeRelVal_
Bool_t bModeRelVal_
Definition: GEMRecHitSource.h:58
GEMRecHitSource::fRadiusMax_
Float_t fRadiusMax_
Definition: GEMRecHitSource.h:50
GEMRecHitSource
Definition: GEMRecHitSource.h:14
GEMRecHitSource::ProcessWithMEMap2AbsReWithEta
int ProcessWithMEMap2AbsReWithEta(BookingHelper &bh, ME3IdsKey key) override
Definition: GEMRecHitSource.cc:104
GEMRecHitSource::dqmBeginRun
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: GEMRecHitSource.h:21
ME3IdsKey
std::tuple< Int_t, Int_t, Int_t > ME3IdsKey
Definition: GEMValidationUtils.h:19
GEMDQMBase
Definition: GEMDQMBase.h:29
GEMDigiCollection.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
GEMRecHitSource::ProcessWithMEMap2WithEta
int ProcessWithMEMap2WithEta(BookingHelper &bh, ME3IdsKey key) override
Definition: GEMRecHitSource.cc:98
GEMRecHitSource::mapCLSAverage_
MEMap3Inf mapCLSAverage_
Definition: GEMRecHitSource.h:43
GEMRecHitSource::recGlobalPos
std::unordered_map< UInt_t, MonitorElement * > recGlobalPos
Definition: GEMRecHitSource.h:56
GEMRecHitSource::nCLSMax_
Int_t nCLSMax_
Definition: GEMRecHitSource.h:48
edm::Event
Definition: Event.h:73
crabWrapper.key
key
Definition: crabWrapper.py:19
GEMRecHitSource::mapCLSPerCh_
MEMap4Inf mapCLSPerCh_
Definition: GEMRecHitSource.h:46
GEMRecHitSource::rh_vs_eta_
std::unordered_map< UInt_t, MonitorElement * > rh_vs_eta_
Definition: GEMRecHitSource.h:55
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37