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/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::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
HcalAutoPedestalValidator::outfile
std::string outfile
Definition:
HcalAutoPedestalValidator.h:49
HcalElectronicsMap.h
HcalElectronicsMapRcd.h
HcalAutoPedestalValidator
Definition:
HcalAutoPedestalValidator.h:40
HcalGenericDetId.h
HcalPedestals.h
EDAnalyzer.h
HcalAutoPedestalValidator::analyze
void analyze(const edm::Event &ev, const edm::EventSetup &es) override
Definition:
HcalAutoPedestalValidator.cc:12
HcalGeometry.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
HcalGainWidthsRcd.h
HcalAutoPedestalValidator::~HcalAutoPedestalValidator
~HcalAutoPedestalValidator() override
Definition:
HcalAutoPedestalValidator.cc:10
MakerMacros.h
HcalAutoPedestalValidator::m_tok1
edm::ESGetToken< HcalPedestals, HcalPedestalsRcd > m_tok1
Definition:
HcalAutoPedestalValidator.h:51
HcalPedestalsRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:47
HcalAutoPedestalValidator::m_tok2
edm::ESGetToken< HcalPedestals, HcalPedestalsRcd > m_tok2
Definition:
HcalAutoPedestalValidator.h:52
Event.h
HcalAutoPedestalValidator::HcalAutoPedestalValidator
HcalAutoPedestalValidator(edm::ParameterSet const &ps)
Definition:
HcalAutoPedestalValidator.cc:3
edm::EventSetup
Definition:
EventSetup.h:58
HcalGains.h
HcalPedestalWidths.h
edm::ESGetToken< HcalPedestals, HcalPedestalsRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalAutoPedestalValidator::epsilon
double epsilon
Definition:
HcalAutoPedestalValidator.h:50
HcalGainsRcd.h
HcalGainWidths.h
HcalDbASCIIIO.h
DetId.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:97
EventSetup.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
HcalPedestalWidthsRcd.h
Generated for CMSSW Reference Manual by
1.8.16