CMS 3D CMS Logo

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
34 
35  // hcaldqm::Containers
36  std::map<HcalElectronicsId, MonitorElement*> _cADC;
37  std::map<HcalElectronicsId, MonitorElement*> _cADC_vs_TS;
38  std::map<HcalElectronicsId, MonitorElement*> _cTDC;
39  std::map<HcalElectronicsId, MonitorElement*> _cTDCTime;
40 
41  std::vector<HcalElectronicsId> _fcd_eids;
42  std::vector<FCDChannel> _channels;
45 };
46 
47 #endif
std::map< HcalElectronicsId, MonitorElement * > _cADC
Definition: FCDTask.h:36
FCDTask(edm::ParameterSet const &)
Definition: FCDTask.cc:9
std::vector< HcalElectronicsId > _fcd_eids
Definition: FCDTask.h:41
~FCDTask() override
Definition: FCDTask.h:24
std::map< HcalElectronicsId, MonitorElement * > _cTDCTime
Definition: FCDTask.h:39
edm::InputTag _tagQIE10
Definition: FCDTask.h:32
std::vector< FCDChannel > _channels
Definition: FCDTask.h:42
std::map< HcalElectronicsId, MonitorElement * > _cADC_vs_TS
Definition: FCDTask.h:37
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
Definition: FCDTask.h:33
HcalElectronicsMap const * _emap
Definition: FCDTask.h:43
std::map< HcalElectronicsId, MonitorElement * > _cTDC
Definition: FCDTask.h:38
Definition: Run.h:45
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: FCDTask.h:44
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:25