CMS 3D CMS Logo

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 // system include files
23 #include <memory>
24 
25 // user include files
28 
31 
36 #include <string>
37 #include "TH1D.h"
38 #include "TFile.h"
39 #include <cmath>
40 //
41 // class decleration
42 //
43 
45 public:
49  ~SiPixelDQMRocLevelAnalyzer() override;
50 
51 private:
52  void beginJob() override;
53  void analyze(const edm::Event &, const edm::EventSetup &) override;
54  void endJob() override;
55 
56  //
58  void RocSumOneModule(int maxr,
59  int maxc,
60  MonitorElement *const &me,
61  std::vector<double> &vecCN,
62  std::vector<double> &vecMean,
63  std::vector<double> &vecSD,
64  int &chipNumber);
65  void FillRocLevelHistos(TH1F *hrocdep, TH1F *hdist, std::vector<double> &vecx, std::vector<double> &vecy);
66 
67  // ----------member data ---------------------------
71 
72  std::vector<MonitorElement *> mes;
74 
75  std::vector<double> vbpixCN;
76  std::vector<double> vbpixM;
77  std::vector<double> vbpixSD;
78  std::vector<double> vfpixCN;
79  std::vector<double> vfpixM;
80  std::vector<double> vfpixSD;
81 
82  //barrel
83  TH1F *bhPixelAlive;
89  TH1F *bhNoiseMean;
91  TH1F *bhNoiseRMS;
93  TH1F *bhGainMean;
95  TH1F *bhGainRMS;
101  //endcap
108  TH1F *ehNoiseMean;
110  TH1F *ehNoiseRMS;
112  TH1F *ehGainMean;
114  TH1F *ehGainRMS;
120 };
121 
122 #endif
SiPixelDQMRocLevelAnalyzer::beginJob
void beginJob() override
Definition: SiPixelDQMRocLevelAnalyzer.cc:23
SiPixelDQMRocLevelAnalyzer::bhPedestalRMS_dist
TH1F * bhPedestalRMS_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:100
SiPixelDQMRocLevelAnalyzer::bhGainRMS_dist
TH1F * bhGainRMS_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:96
SiPixelDQMRocLevelAnalyzer::FillRocLevelHistos
void FillRocLevelHistos(TH1F *hrocdep, TH1F *hdist, std::vector< double > &vecx, std::vector< double > &vecy)
Definition: SiPixelDQMRocLevelAnalyzer.cc:520
SiPixelDQMRocLevelAnalyzer::ehNoiseRMS
TH1F * ehNoiseRMS
Definition: SiPixelDQMRocLevelAnalyzer.h:110
SiPixelDQMRocLevelAnalyzer::bhNoiseMean_dist
TH1F * bhNoiseMean_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:90
SiPixelDQMRocLevelAnalyzer::ehThresholdMean_dist
TH1F * ehThresholdMean_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:105
SiPixelDQMRocLevelAnalyzer::bhPixelAlive_dist
TH1F * bhPixelAlive_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:84
SiPixelDQMRocLevelAnalyzer::ehPedestalRMS_dist
TH1F * ehPedestalRMS_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:119
SiPixelDQMRocLevelAnalyzer::vbpixM
std::vector< double > vbpixM
Definition: SiPixelDQMRocLevelAnalyzer.h:76
SiPixelDQMRocLevelAnalyzer::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: SiPixelDQMRocLevelAnalyzer.h:47
SiPixelDQMRocLevelAnalyzer::bhPedestalMean_dist
TH1F * bhPedestalMean_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:98
SiPixelDQMRocLevelAnalyzer::bhNoiseMean
TH1F * bhNoiseMean
Definition: SiPixelDQMRocLevelAnalyzer.h:89
DQMStore.h
SiPixelDQMRocLevelAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiPixelDQMRocLevelAnalyzer.cc:8
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
SiPixelDQMRocLevelAnalyzer::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: SiPixelDQMRocLevelAnalyzer.h:46
SiPixelDQMRocLevelAnalyzer::bhNoiseRMS_dist
TH1F * bhNoiseRMS_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:92
SiPixelDQMRocLevelAnalyzer::ehGainRMS
TH1F * ehGainRMS
Definition: SiPixelDQMRocLevelAnalyzer.h:114
SiPixelDQMRocLevelAnalyzer::bhGainRMS
TH1F * bhGainRMS
Definition: SiPixelDQMRocLevelAnalyzer.h:95
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
SiPixelDQMRocLevelAnalyzer::ehPedestalMean_dist
TH1F * ehPedestalMean_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:117
MakerMacros.h
SiPixelDQMRocLevelAnalyzer::bhThresholdRMS
TH1F * bhThresholdRMS
Definition: SiPixelDQMRocLevelAnalyzer.h:87
SiPixelDQMRocLevelAnalyzer::RocSummary
void RocSummary(std::string tagname)
Definition: SiPixelDQMRocLevelAnalyzer.cc:336
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiPixelDQMRocLevelAnalyzer::ehNoiseMean_dist
TH1F * ehNoiseMean_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:109
SiPixelDQMRocLevelAnalyzer::bhGainMean_dist
TH1F * bhGainMean_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:94
SiPixelDQMRocLevelAnalyzer::bhNoiseRMS
TH1F * bhNoiseRMS
Definition: SiPixelDQMRocLevelAnalyzer.h:91
SiPixelDQMRocLevelAnalyzer::conf_
edm::ParameterSet conf_
Definition: SiPixelDQMRocLevelAnalyzer.h:68
Service.h
SiPixelDQMRocLevelAnalyzer::fs_
edm::Service< TFileService > fs_
Definition: SiPixelDQMRocLevelAnalyzer.h:70
SiPixelDQMRocLevelAnalyzer::bhThresholdMean
TH1F * bhThresholdMean
Definition: SiPixelDQMRocLevelAnalyzer.h:85
SiPixelDQMRocLevelAnalyzer::SiPixelDQMRocLevelAnalyzer
SiPixelDQMRocLevelAnalyzer(const edm::ParameterSet &)
Definition: SiPixelDQMRocLevelAnalyzer.cc:3
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelDQMRocLevelAnalyzer::ehGainMean
TH1F * ehGainMean
Definition: SiPixelDQMRocLevelAnalyzer.h:112
TFileService.h
SiPixelDQMRocLevelAnalyzer::fRS
bool fRS
Definition: SiPixelDQMRocLevelAnalyzer.h:73
SiPixelDQMRocLevelAnalyzer::dbe
DQMStore * dbe
Definition: SiPixelDQMRocLevelAnalyzer.h:69
SiPixelDQMRocLevelAnalyzer::vfpixCN
std::vector< double > vfpixCN
Definition: SiPixelDQMRocLevelAnalyzer.h:78
edm::ParameterSet
Definition: ParameterSet.h:36
SiPixelDQMRocLevelAnalyzer::bPixelAlive
bool bPixelAlive
Definition: SiPixelDQMRocLevelAnalyzer.h:73
SiPixelDQMRocLevelAnalyzer::bRS
bool bRS
Definition: SiPixelDQMRocLevelAnalyzer.h:73
Event.h
edm::Service< TFileService >
SiPixelDQMRocLevelAnalyzer::bhPedestalRMS
TH1F * bhPedestalRMS
Definition: SiPixelDQMRocLevelAnalyzer.h:99
SiPixelDQMRocLevelAnalyzer::ehGainMean_dist
TH1F * ehGainMean_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:113
SiPixelDQMRocLevelAnalyzer::vbpixSD
std::vector< double > vbpixSD
Definition: SiPixelDQMRocLevelAnalyzer.h:77
SiPixelDQMRocLevelAnalyzer::vfpixSD
std::vector< double > vfpixSD
Definition: SiPixelDQMRocLevelAnalyzer.h:80
SiPixelDQMRocLevelAnalyzer::bhThresholdRMS_dist
TH1F * bhThresholdRMS_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:88
edm::EventSetup
Definition: EventSetup.h:57
SiPixelDQMRocLevelAnalyzer::ehNoiseRMS_dist
TH1F * ehNoiseRMS_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:111
createPayload.tagname
tagname
Definition: createPayload.py:183
SiPixelDQMRocLevelAnalyzer::ehPixelAlive
TH1F * ehPixelAlive
Definition: SiPixelDQMRocLevelAnalyzer.h:102
SiPixelDQMRocLevelAnalyzer::vfpixM
std::vector< double > vfpixM
Definition: SiPixelDQMRocLevelAnalyzer.h:79
SiPixelDQMRocLevelAnalyzer::ehThresholdMean
TH1F * ehThresholdMean
Definition: SiPixelDQMRocLevelAnalyzer.h:104
SiPixelDQMRocLevelAnalyzer::ehNoiseMean
TH1F * ehNoiseMean
Definition: SiPixelDQMRocLevelAnalyzer.h:108
SiPixelDQMRocLevelAnalyzer
Definition: SiPixelDQMRocLevelAnalyzer.h:44
SiPixelDQMRocLevelAnalyzer::bhGainMean
TH1F * bhGainMean
Definition: SiPixelDQMRocLevelAnalyzer.h:93
Frameworkfwd.h
SiPixelDQMRocLevelAnalyzer::vbpixCN
std::vector< double > vbpixCN
Definition: SiPixelDQMRocLevelAnalyzer.h:75
SiPixelDQMRocLevelAnalyzer::ehPedestalRMS
TH1F * ehPedestalRMS
Definition: SiPixelDQMRocLevelAnalyzer.h:118
SiPixelDQMRocLevelAnalyzer::ehGainRMS_dist
TH1F * ehGainRMS_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:115
SiPixelDQMRocLevelAnalyzer::endJob
void endJob() override
Definition: SiPixelDQMRocLevelAnalyzer.cc:334
SiPixelDQMRocLevelAnalyzer::RocSumOneModule
void RocSumOneModule(int maxr, int maxc, MonitorElement *const &me, std::vector< double > &vecCN, std::vector< double > &vecMean, std::vector< double > &vecSD, int &chipNumber)
Definition: SiPixelDQMRocLevelAnalyzer.cc:466
SiPixelDQMRocLevelAnalyzer::bhPixelAlive
TH1F * bhPixelAlive
Definition: SiPixelDQMRocLevelAnalyzer.h:83
ParameterSet.h
SiPixelDQMRocLevelAnalyzer::ehPedestalMean
TH1F * ehPedestalMean
Definition: SiPixelDQMRocLevelAnalyzer.h:116
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
edm::Event
Definition: Event.h:73
SiPixelDQMRocLevelAnalyzer::ehThresholdRMS
TH1F * ehThresholdRMS
Definition: SiPixelDQMRocLevelAnalyzer.h:106
SiPixelDQMRocLevelAnalyzer::ehPixelAlive_dist
TH1F * ehPixelAlive_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:103
SiPixelDQMRocLevelAnalyzer::~SiPixelDQMRocLevelAnalyzer
~SiPixelDQMRocLevelAnalyzer() override
Definition: SiPixelDQMRocLevelAnalyzer.cc:5
SiPixelDQMRocLevelAnalyzer::bhPedestalMean
TH1F * bhPedestalMean
Definition: SiPixelDQMRocLevelAnalyzer.h:97
SiPixelDQMRocLevelAnalyzer::ehThresholdRMS_dist
TH1F * ehThresholdRMS_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:107
SiPixelDQMRocLevelAnalyzer::mes
std::vector< MonitorElement * > mes
Definition: SiPixelDQMRocLevelAnalyzer.h:72
SiPixelDQMRocLevelAnalyzer::bhThresholdMean_dist
TH1F * bhThresholdMean_dist
Definition: SiPixelDQMRocLevelAnalyzer.h:86