CMS 3D CMS Logo

SiStripMonitorPedestals.h
Go to the documentation of this file.
1 #ifndef SiStripMonitorPedestals_SiStripMonitorPedestals_h
2 #define SiStripMonitorPedestals_SiStripMonitorPedestals_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripMonitorPedestals
6 // Class : SiStripMonitorPedestals
7 //
16 //
17 // Original Author: gennai, dutta
18 // Created: Sat Feb 4 20:49:51 CET 2006
19 //
20 
21 // system include files
22 #include <memory>
23 
24 // user include files
31 
33 
34 
35 // data formats
40 
41 // cabling
44 
46 
47 #include "boost/cstdint.hpp"
48 #include <iomanip>
49 #include <string>
50 
51 class ApvAnalysisFactory;
52 class MonitorElement;
53 class DQMStore;
54 class SiStripDetCabling;
55 
57  public:
59  ~SiStripMonitorPedestals() override;
60 
61  void analyze(const edm::Event&, const edm::EventSetup&) override;
62  void endRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
63  void endJob() override;
64  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
65 
66  private:
68 
69  void resetMEs(uint32_t idet);
70  void createMEs(DQMStore::IBooker &, edm::EventSetup const& eSetup);
71  void fillCondDBMEs(edm::EventSetup const& eSetup);
72 
73  struct ModMEs{
77 
84 
87 
88 
89  //MonitorElements for CondDB data display
93  };
94 
97  std::map<uint32_t, ModMEs> PedMEs;
100  bool analyzed;
102 
103  //The following to be put inside the parametersets
104  int16_t nEvUpdate_;
105  int16_t signalCutPeds_;
106  int16_t nEvTot_;
107  int16_t nEvInit_;
115  unsigned long long m_cacheID_;
116 
117  static const std::string RunMode1;
118  static const std::string RunMode2;
119  static const std::string RunMode3;
120 
121 };
122 
123 #endif
void fillCondDBMEs(edm::EventSetup const &eSetup)
edm::ESHandle< SiStripDetCabling > detcabling
static const std::string RunMode1
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
static const std::string RunMode3
SiStripMonitorPedestals(const edm::ParameterSet &)
ApvAnalysisFactory * apvFactory_
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
static const std::string RunMode2
void createMEs(DQMStore::IBooker &, edm::EventSetup const &eSetup)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::map< uint32_t, ModMEs > PedMEs
Definition: Run.h:43