test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
60 
61  virtual void beginJob() ;
62  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
63  virtual void endRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
64  virtual void endJob();
65  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
66 
67  private:
69 
70  void resetMEs(uint32_t idet);
71  void createMEs(DQMStore::IBooker &, edm::EventSetup const& eSetup);
72  void fillCondDBMEs(edm::EventSetup const& eSetup);
73 
74  struct ModMEs{
78 
85 
88 
89 
90  //MonitorElements for CondDB data display
94  };
95 
98  std::map<uint32_t, ModMEs> PedMEs;
101  bool analyzed;
103 
104  //The following to be put inside the parametersets
105  int16_t nEvUpdate_;
106  int16_t signalCutPeds_;
107  int16_t nEvTot_;
108  int16_t nEvInit_;
116  unsigned long long m_cacheID_;
117 
118  static const std::string RunMode1;
119  static const std::string RunMode2;
120  static const std::string RunMode3;
121 
122 };
123 
124 #endif
void fillCondDBMEs(edm::EventSetup const &eSetup)
edm::ESHandle< SiStripDetCabling > detcabling
static const std::string RunMode1
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiToken_
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
static const std::string RunMode3
SiStripMonitorPedestals(const edm::ParameterSet &)
ApvAnalysisFactory * apvFactory_
virtual 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:42