CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FCDTask.h
Go to the documentation of this file.
1 #ifndef FCDTask_h
2 #define FCDTask_h
3 
4 /*
5  * file: FCDTask.h
6  * Author: Quan Wang
7  * Description:
8  * Task for ZDC Read out
9  */
10 
12 
13 class FCDTask : public DQMEDAnalyzer {
14 public:
15  struct FCDChannel {
16  int crate;
17  int slot;
18  int fiber;
20  };
21 
22 public:
23  FCDTask(edm::ParameterSet const&);
24  ~FCDTask() override {}
25 
26  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
27 
28 protected:
29  void analyze(edm::Event const&, edm::EventSetup const&) override;
30 
31  // tags
35 
36  // hcaldqm::Containers
37  std::map<HcalElectronicsId, MonitorElement*> _cADC;
38  std::map<HcalElectronicsId, MonitorElement*> _cADC_vs_TS;
39  std::map<HcalElectronicsId, MonitorElement*> _cTDC;
40  std::map<HcalElectronicsId, MonitorElement*> _cTDCTime;
41 
42  std::vector<HcalElectronicsId> _fcd_eids;
43  std::vector<FCDChannel> _channels;
46 };
47 
48 #endif
std::map< HcalElectronicsId, MonitorElement * > _cADC
Definition: FCDTask.h:37
FCDTask(edm::ParameterSet const &)
Definition: FCDTask.cc:9
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: FCDTask.h:34
std::vector< HcalElectronicsId > _fcd_eids
Definition: FCDTask.h:42
~FCDTask() override
Definition: FCDTask.h:24
std::map< HcalElectronicsId, MonitorElement * > _cTDCTime
Definition: FCDTask.h:40
edm::InputTag _tagQIE10
Definition: FCDTask.h:32
std::vector< FCDChannel > _channels
Definition: FCDTask.h:43
std::map< HcalElectronicsId, MonitorElement * > _cADC_vs_TS
Definition: FCDTask.h:38
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
Definition: FCDTask.h:33
HcalElectronicsMap const * _emap
Definition: FCDTask.h:44
std::map< HcalElectronicsId, MonitorElement * > _cTDC
Definition: FCDTask.h:39
Definition: Run.h:45
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: FCDTask.h:45
void analyze(edm::Event const &, edm::EventSetup const &) override
Definition: FCDTask.cc:72
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: FCDTask.cc:26