CondTools
Hcal
interface
HcalAutoPedestalValidator.h
Go to the documentation of this file.
1
#ifndef HcalAutoPedestalValidator_h
2
#define HcalAutoPedestalValidator_h
3
4
// S.Won
5
// Code to check pedestals to compare to previous pedestals
6
7
#include <string>
8
#include <iostream>
9
#include <fstream>
10
#include <sstream>
11
#include <map>
12
#include <vector>
13
#include <algorithm>
14
15
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
FWCore/Framework/interface/MakerMacros.h
"
18
19
#include "
FWCore/Framework/interface/EventSetup.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
22
#include "
CondFormats/HcalObjects/interface/HcalPedestals.h
"
23
#include "
CondFormats/HcalObjects/interface/HcalPedestalWidths.h
"
24
#include "
CondFormats/HcalObjects/interface/HcalGains.h
"
25
#include "
CondFormats/HcalObjects/interface/HcalGainWidths.h
"
26
#include "
CondFormats/HcalObjects/interface/HcalElectronicsMap.h
"
27
28
#include "
DataFormats/HcalDetId/interface/HcalGenericDetId.h
"
29
#include "
DataFormats/DetId/interface/DetId.h
"
30
31
#include "
CondFormats/DataRecord/interface/HcalPedestalsRcd.h
"
32
#include "
CondFormats/DataRecord/interface/HcalPedestalWidthsRcd.h
"
33
#include "
CondFormats/DataRecord/interface/HcalGainsRcd.h
"
34
#include "
CondFormats/DataRecord/interface/HcalGainWidthsRcd.h
"
35
#include "
CondFormats/DataRecord/interface/HcalElectronicsMapRcd.h
"
36
37
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
38
#include "
Geometry/HcalTowerAlgo/interface/HcalGeometry.h
"
39
40
class
HcalAutoPedestalValidator
:
public
edm::one::EDAnalyzer
<> {
41
public
:
42
HcalAutoPedestalValidator
(
edm::ParameterSet
const
& ps);
43
44
~HcalAutoPedestalValidator
()
override
;
45
46
void
analyze
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& es)
override
;
47
48
private
:
49
std::string
outfile
;
50
double
epsilon
;
51
edm::ESGetToken<HcalPedestals, HcalPedestalsRcd>
m_tok1
;
52
edm::ESGetToken<HcalPedestals, HcalPedestalsRcd>
m_tok2
;
53
// vecDetId getMissingDetIds(std::vector<HcalPedestals> &);
54
};
55
#endif
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
HcalGainWidthsRcd.h
HcalGeometry.h
Event.h
EventSetup.h
HcalAutoPedestalValidator::epsilon
double epsilon
Definition:
HcalAutoPedestalValidator.h:50
HcalAutoPedestalValidator::m_tok2
edm::ESGetToken< HcalPedestals, HcalPedestalsRcd > m_tok2
Definition:
HcalAutoPedestalValidator.h:52
HcalAutoPedestalValidator
Definition:
HcalAutoPedestalValidator.h:40
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalPedestals.h
ParameterSet.h
HcalGenericDetId.h
edm::ESGetToken< HcalPedestals, HcalPedestalsRcd >
HcalElectronicsMapRcd.h
HcalPedestalWidthsRcd.h
HcalAutoPedestalValidator::outfile
std::string outfile
Definition:
HcalAutoPedestalValidator.h:49
HcalPedestalWidths.h
HcalAutoPedestalValidator::analyze
void analyze(const edm::Event &ev, const edm::EventSetup &es) override
Definition:
HcalAutoPedestalValidator.cc:12
edm::EventSetup
Definition:
EventSetup.h:56
HcalElectronicsMap.h
HcalAutoPedestalValidator::m_tok1
edm::ESGetToken< HcalPedestals, HcalPedestalsRcd > m_tok1
Definition:
HcalAutoPedestalValidator.h:51
HcalGainWidths.h
HcalAutoPedestalValidator::HcalAutoPedestalValidator
HcalAutoPedestalValidator(edm::ParameterSet const &ps)
Definition:
HcalAutoPedestalValidator.cc:3
EDAnalyzer.h
HcalGainsRcd.h
HcalGains.h
HcalAutoPedestalValidator::~HcalAutoPedestalValidator
~HcalAutoPedestalValidator() override
Definition:
HcalAutoPedestalValidator.cc:10
HcalDbASCIIIO.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
MakerMacros.h
DetId.h
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
HcalPedestalsRcd.h
Generated for CMSSW Reference Manual by
1.8.14