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 
45 
46 #include "boost/cstdint.hpp"
47 #include <iomanip>
48 #include <string>
49 
50 class ApvAnalysisFactory;
51 class MonitorElement;
52 class DQMStore;
53 class SiStripDetCabling;
54 
56  public:
59 
60  virtual void beginJob() ;
61  virtual void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
62  virtual void analyze(const edm::Event&, const edm::EventSetup&);
63  virtual void endRun(edm::Run const& run, edm::EventSetup const& eSetup);
64  virtual void endJob() ;
65 
66 
67  private:
69 
70  void resetMEs(uint32_t idet);
71  void createMEs(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
virtual void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
void fillCondDBMEs(edm::EventSetup const &eSetup)
edm::ESHandle< SiStripDetCabling > detcabling
void createMEs(edm::EventSetup const &eSetup)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
virtual void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
static const std::string RunMode1
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiToken_
static const std::string RunMode3
SiStripMonitorPedestals(const edm::ParameterSet &)
ApvAnalysisFactory * apvFactory_
static const std::string RunMode2
std::map< uint32_t, ModMEs > PedMEs
Definition: Run.h:41