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 
36 
45 
47 
49 
50  Int_t nCLSMax_;
51  Float_t fRadiusMin_;
52  Float_t fRadiusMax_;
53 
54  std::unordered_map<UInt_t, MonitorElement*> recHitME_;
55  std::unordered_map<UInt_t, MonitorElement*> VFAT_vs_ClusterSize_;
56  std::unordered_map<UInt_t, MonitorElement*> DigisFired_vs_eta_;
57  std::unordered_map<UInt_t, MonitorElement*> rh_vs_eta_;
58  std::unordered_map<UInt_t, MonitorElement*> recGlobalPos;
59 };
60 
61 #endif // DQM_GEM_INTERFACE_GEMRecHitSource_h
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
int ProcessWithMEMap3WithChamber(BookingHelper &bh, ME4IdsKey key) override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
MEMapInfT< MEMap3Ids, ME3IdsKey > MEMap3Inf
Definition: GEMDQMBase.h:480
std::tuple< Int_t, Int_t, Int_t, Int_t > ME4IdsKey
int ProcessWithMEMap3(BookingHelper &bh, ME3IdsKey key) override
GEMRecHitSource(const edm::ParameterSet &cfg)
MEMap3Inf mapRecHitOcc_ieta_
int nNumDivideEtaPartitionInRPhi_
std::unordered_map< UInt_t, MonitorElement * > DigisFired_vs_eta_
~GEMRecHitSource() override
MEMap3Inf mapCLSOver5_
MEMap3Inf mapRecHitXY_layer_
MEMap3Inf mapTotalRecHitPerEvtIEta_
edm::EDGetToken tagRecHit_
std::unordered_map< UInt_t, MonitorElement * > recGlobalPos
MEMap3Inf mapRecHitOcc_phi_
std::string strFolderMain_
MEMap4Inf mapCLSPerCh_
MEMap3Inf mapCLSAverage_
std::unordered_map< UInt_t, MonitorElement * > rh_vs_eta_
MEMap3Inf mapCLSRecHit_ieta_
MEMap3Inf mapTotalRecHitPerEvtLayer_
int ProcessWithMEMap2AbsReWithEta(BookingHelper &bh, ME3IdsKey key) override
std::unordered_map< UInt_t, MonitorElement * > VFAT_vs_ClusterSize_
std::tuple< Int_t, Int_t, Int_t > ME3IdsKey
int ProcessWithMEMap2WithEta(BookingHelper &bh, ME3IdsKey key) override
std::unordered_map< UInt_t, MonitorElement * > recHitME_
Definition: Run.h:45