CMS 3D CMS Logo

GEMDigiSource.h
Go to the documentation of this file.
1 #ifndef DQM_GEM_INTERFACE_GEMDigiSource_h
2 #define DQM_GEM_INTERFACE_GEMDigiSource_h
3 
12 
17 
19 
23 
25 
27 
28 #include <string>
29 
30 //----------------------------------------------------------------------------------------------------
31 
32 class GEMDigiSource : public GEMDQMBase {
33 public:
34  explicit GEMDigiSource(const edm::ParameterSet& cfg);
35  ~GEMDigiSource() override{};
36  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
37 
38 protected:
39  void LoadROMap(edm::EventSetup const& iSetup);
40 
41  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override{};
42  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
43  void analyze(edm::Event const& e, edm::EventSetup const& eSetup) override;
44 
45 private:
46  int ProcessWithMEMap2WithEta(BookingHelper& bh, ME3IdsKey key) override;
47  int ProcessWithMEMap2(BookingHelper& bh, ME2IdsKey key) override;
48  int ProcessWithMEMap3(BookingHelper& bh, ME3IdsKey key) override;
49  int ProcessWithMEMap3WithChamber(BookingHelper& bh, ME4IdsKey key) override;
50 
51  const static int nNumBitDigiOcc_ = 16384;
52 
54 
56 
58 
59  std::map<ME4IdsKey, Int_t> mapChamberType_;
60  std::map<ME3IdsKey, Int_t> mapStripToVFAT_;
61 
69 
71 
73 
74  Int_t nBXMin_, nBXMax_;
75  Float_t fRadiusMin_;
76  Float_t fRadiusMax_;
77 };
78 
79 #endif // DQM_GEM_INTERFACE_GEMDigiSource_h
int ProcessWithMEMap2WithEta(BookingHelper &bh, ME3IdsKey key) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MEMapInfT< MEMap4Ids, ME4IdsKey > MEMap4Inf
Definition: GEMDQMBase.h:481
MEMap3Inf mapTotalDigiPerEvtLayer_
Definition: GEMDigiSource.h:66
MEMapInfT< MEMap3Ids, ME3IdsKey > MEMap3Inf
Definition: GEMDQMBase.h:480
int ProcessWithMEMap2(BookingHelper &bh, ME2IdsKey key) override
std::tuple< Int_t, Int_t, Int_t, Int_t > ME4IdsKey
Float_t fRadiusMax_
Definition: GEMDigiSource.h:76
MEMap3Inf mapDigiOcc_ieta_
Definition: GEMDigiSource.h:64
MEMap4Inf mapDigiOccPerCh_
Definition: GEMDigiSource.h:70
MEMap3Inf mapDigiOcc_phi_
Definition: GEMDigiSource.h:65
edm::EDGetTokenT< LumiScalersCollection > lumiScalers_
Definition: GEMDigiSource.h:57
std::string strFolderMain_
Definition: GEMDigiSource.h:72
edm::EDGetToken tagDigi_
Definition: GEMDigiSource.h:55
MEMap3Inf mapTotalDigiPerEvtIEta_
Definition: GEMDigiSource.h:67
MEMap3Inf mapTotalDigi_layer_
Definition: GEMDigiSource.h:62
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MEMap2Inf mapBX_
Definition: GEMDigiSource.h:68
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: GEMDigiSource.h:41
const edm::ESGetToken< GEMChMap, GEMChMapRcd > gemChMapToken_
Definition: GEMDigiSource.h:53
static const int nNumBitDigiOcc_
Definition: GEMDigiSource.h:51
~GEMDigiSource() override
Definition: GEMDigiSource.h:35
GEMDigiSource(const edm::ParameterSet &cfg)
Definition: GEMDigiSource.cc:6
int ProcessWithMEMap3WithChamber(BookingHelper &bh, ME4IdsKey key) override
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
void LoadROMap(edm::EventSetup const &iSetup)
std::map< ME4IdsKey, Int_t > mapChamberType_
Definition: GEMDigiSource.h:59
std::tuple< Int_t, Int_t > ME2IdsKey
Float_t fRadiusMin_
Definition: GEMDigiSource.h:75
std::tuple< Int_t, Int_t, Int_t > ME3IdsKey
Definition: Run.h:45
MEMap3Inf mapDigiWheel_layer_
Definition: GEMDigiSource.h:63
int ProcessWithMEMap3(BookingHelper &bh, ME3IdsKey key) override
std::map< ME3IdsKey, Int_t > mapStripToVFAT_
Definition: GEMDigiSource.h:60