CMS 3D CMS Logo

EcalPedestalHistory.h
Go to the documentation of this file.
1 #ifndef ECALPEDESTALHISTORY_H
2 #define ECALPEDESTALHISTORY_H
3 
11 //
12 // $Id: EcalPedestalHistory.h,v 0.0 2016/04/28 $
13 //
14 
15 // system include files
16 #include <memory>
17 
18 // user include files
25 
28 
30 
34 
36 
37 #include <string>
38 #include "TH1.h"
39 #include "TGraph.h"
40 #include "TH2.h"
41 #include<fstream>
42 #include<map>
43 
45  public:
46  explicit EcalPedestalHistory( const edm::ParameterSet& );
48  virtual void analyze( const edm::Event&, const edm::EventSetup& );
49  virtual void beginRun(edm::Run const &, edm::EventSetup const &);
50  virtual void beginJob();
51  virtual void endJob();
53 
54  enum { kChannels = 75848, kEBChannels = 61200, kEEChannels = 14648};
55  enum { kGains = 3, kFirstGainId = 1};
56  private:
58  unsigned int cnt_evt_;
59  std::string ECALType_; // EB or EE
60  std::string runType_; // Pedes or Other
61  unsigned int startevent_;
62  std::vector<int> maskedChannels_;
63  std::vector<int> maskedEEChannels_;
64  unsigned int m_firstRun ;
65  unsigned int m_lastRun ;
73 };
74 #endif
std::vector< int > maskedChannels_
EcalPedestalHistory(const edm::ParameterSet &)
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< int > maskedEEChannels_
Definition: Run.h:42
EcalCondDBInterface * econn