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 ProcessWithMEMap4(BookingHelper& bh, ME4IdsKey key) override;
50  int ProcessWithMEMap5WithChamber(BookingHelper& bh, ME5IdsKey key) override;
51 
52  const static int nNumBitDigiOcc_ = 16384;
53 
55 
57 
59 
60  std::map<ME4IdsKey, Int_t> mapChamberType_;
61  std::map<ME3IdsKey, Int_t> mapStripToVFAT_;
62 
64 
71 
73 
75 
76  Bool_t useDBEMap_;
77 
78  Int_t nBXMin_, nBXMax_;
79  Float_t fRadiusMin_;
80  Float_t fRadiusMax_;
81 };
82 
83 #endif // DQM_GEM_INTERFACE_GEMDigiSource_h
MEMap4Inf mapTotalDigi_layer_
Definition: GEMDigiSource.h:65
int ProcessWithMEMap2WithEta(BookingHelper &bh, ME3IdsKey key) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
int ProcessWithMEMap5WithChamber(BookingHelper &bh, ME5IdsKey key) override
std::tuple< Int_t, Int_t, Int_t, Int_t, Int_t > ME5IdsKey
MEMapInfT< MEMap3Ids, ME3IdsKey > MEMap3Inf
Definition: GEMDQMBase.h:474
int ProcessWithMEMap2(BookingHelper &bh, ME2IdsKey key) override
std::tuple< Int_t, Int_t, Int_t, Int_t > ME4IdsKey
Float_t fRadiusMax_
Definition: GEMDigiSource.h:80
edm::EDGetTokenT< LumiScalersCollection > lumiScalers_
Definition: GEMDigiSource.h:58
std::string strFolderMain_
Definition: GEMDigiSource.h:74
edm::EDGetToken tagDigi_
Definition: GEMDigiSource.h:56
MEMap3Inf mapTotalDigiPerEvtIEta_
Definition: GEMDigiSource.h:69
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MEMap2Inf mapBX_
Definition: GEMDigiSource.h:70
int ProcessWithMEMap4(BookingHelper &bh, ME4IdsKey key) override
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: GEMDigiSource.h:41
MEMap4Inf mapTotalDigiPerEvtLayer_
Definition: GEMDigiSource.h:68
const edm::ESGetToken< GEMChMap, GEMChMapRcd > gemChMapToken_
Definition: GEMDigiSource.h:54
static const int nNumBitDigiOcc_
Definition: GEMDigiSource.h:52
~GEMDigiSource() override
Definition: GEMDigiSource.h:35
GEMDigiSource(const edm::ParameterSet &cfg)
Definition: GEMDigiSource.cc:6
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:60
MEMap4Inf mapDigiOcc_phi_
Definition: GEMDigiSource.h:67
MEMap4Inf mapDigiOcc_ieta_
Definition: GEMDigiSource.h:66
MEMapInfT< MEMap5Ids, ME5IdsKey > MEMap5Inf
Definition: GEMDQMBase.h:476
MEMap5Inf mapDigiOccPerCh_
Definition: GEMDigiSource.h:72
std::tuple< Int_t, Int_t > ME2IdsKey
Float_t fRadiusMin_
Definition: GEMDigiSource.h:79
std::tuple< Int_t, Int_t, Int_t > ME3IdsKey
Bool_t useDBEMap_
Definition: GEMDigiSource.h:76
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:61