CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelDQMRocLevelAnalyzer.h
Go to the documentation of this file.
1 #ifndef ROC__Analyzer_h
2 #define ROC__Analyzer_h
3 
4 // -*- C++ -*-
5 //
6 // Package: SiPixelDQMRocLevelAnalyzer
7 // Class: SiPixelDQMRocLevelAnalyzer
8 //
16 //
17 // Original Author: Lukas Wehrli
18 // Created: Thu Sep 30 14:03:02 CEST 2008
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 
26 // user include files
29 
32 
38 #include <string>
39 #include "TH1D.h"
40 #include "TFile.h"
41 #include <cmath>
42 //
43 // class decleration
44 //
45 
47  public:
50 
51 
52  private:
53  virtual void beginJob();
54  virtual void analyze(const edm::Event&, const edm::EventSetup&);
55  virtual void endJob() ;
56 
57  //
59  void RocSumOneModule(int maxr, int maxc, MonitorElement* const &me, std::vector<double> &vecCN, std::vector<double> &vecMean, std::vector<double> &vecSD, int &chipNumber);
60  void FillRocLevelHistos(TH1F *hrocdep, TH1F *hdist, std::vector<double> &vecx, std::vector<double> &vecy);
61 
62 
63 
64  // ----------member data ---------------------------
68 
69  std::vector<MonitorElement*> mes;
71 
72  std::vector<double> vbpixCN;
73  std::vector<double> vbpixM;
74  std::vector<double> vbpixSD;
75  std::vector<double> vfpixCN;
76  std::vector<double> vfpixM;
77  std::vector<double> vfpixSD;
78 
79  //barrel
80  TH1F * bhPixelAlive;
82  TH1F * bhThresholdMean;
84  TH1F * bhThresholdRMS;
86  TH1F * bhNoiseMean;
88  TH1F * bhNoiseRMS;
89  TH1F * bhNoiseRMS_dist;
90  TH1F * bhGainMean;
91  TH1F * bhGainMean_dist;
92  TH1F * bhGainRMS;
93  TH1F * bhGainRMS_dist;
94  TH1F * bhPedestalMean;
96  TH1F * bhPedestalRMS;
98  //endcap
99  TH1F * ehPixelAlive;
103  TH1F * ehThresholdRMS;
105  TH1F * ehNoiseMean;
107  TH1F * ehNoiseRMS;
109  TH1F * ehGainMean;
111  TH1F * ehGainRMS;
112  TH1F * ehGainRMS_dist;
113  TH1F * ehPedestalMean;
115  TH1F * ehPedestalRMS;
117 
118 };
119 
120 
121 #endif
void FillRocLevelHistos(TH1F *hrocdep, TH1F *hdist, std::vector< double > &vecx, std::vector< double > &vecy)
std::vector< MonitorElement * > mes
void RocSumOneModule(int maxr, int maxc, MonitorElement *const &me, std::vector< double > &vecCN, std::vector< double > &vecMean, std::vector< double > &vecSD, int &chipNumber)
SiPixelDQMRocLevelAnalyzer(const edm::ParameterSet &)
void RocSummary(std::string tagname)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
edm::Service< TFileService > fs_