CMS 3D CMS Logo

L1TDiffHarvesting.h
Go to the documentation of this file.
1 #ifndef DQMOFFLINE_L1TRIGGER_L1TDIFFHARVESTING_H
2 #define DQMOFFLINE_L1TRIGGER_L1TDIFFHARVESTING_H
3 
7 
11 
12 #include <string>
13 #include <vector>
14 
15 namespace dqmoffline {
16 namespace l1t {
17 
19 
20 public:
22  virtual ~L1TDiffHarvesting();
23 
24 protected:
25 
26  virtual void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override;
27  virtual void dqmEndLuminosityBlock(DQMStore::IGetter &igetter, edm::LuminosityBlock const& lumiBlock,
28  edm::EventSetup const& c);
29 
30 private:
32  public:
33  L1TDiffPlotHandler(const edm::ParameterSet & ps, std::string plotName);
34  L1TDiffPlotHandler(const L1TDiffPlotHandler &handler); // needed for vector collection
35 
36  void computeDiff(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
37 
42 
47 
48  void loadHistograms(DQMStore::IGetter &igetter);
49  bool isValid() const;
50  void bookDiff(DQMStore::IBooker &ibooker);
51 
52  };
53 
54  typedef std::vector<L1TDiffPlotHandler> L1TDiffPlotHandlers;
55 
56  L1TDiffPlotHandlers plotHandlers_;
57 };
58 
59 } // l1t
60 } // dqmoffline
61 
62 #endif
virtual void dqmEndLuminosityBlock(DQMStore::IGetter &igetter, edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
L1TDiffPlotHandler(const edm::ParameterSet &ps, std::string plotName)
virtual void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
L1TDiffHarvesting(const edm::ParameterSet &ps)
delete x;
Definition: CaloConfig.h:22
void computeDiff(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
std::vector< L1TDiffPlotHandler > L1TDiffPlotHandlers