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 // $Id: SiStripMonitorPedestals.h,v 1.15 2008/03/04 14:41:51 dutta Exp $
20 //
21 
22 // system include files
23 #include <memory>
24 
25 // 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:
68 
69  void resetMEs(uint32_t idet);
70  void createMEs();
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_;
113  std::string runTypeFlag_;
114  std::string outPutFileName;
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
virtual void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
void fillCondDBMEs(edm::EventSetup const &eSetup)
edm::ESHandle< SiStripDetCabling > detcabling
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
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:31