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/ESHandle.h
"
18
#include "
FWCore/Framework/interface/MakerMacros.h
"
19
20
#include "
FWCore/Framework/interface/EventSetup.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
23
#include "
CondFormats/HcalObjects/interface/HcalPedestals.h
"
24
#include "
CondFormats/HcalObjects/interface/HcalPedestalWidths.h
"
25
#include "
CondFormats/HcalObjects/interface/HcalGains.h
"
26
#include "
CondFormats/HcalObjects/interface/HcalGainWidths.h
"
27
#include "
CondFormats/HcalObjects/interface/HcalElectronicsMap.h
"
28
29
#include "
DataFormats/HcalDetId/interface/HcalGenericDetId.h
"
30
#include "
DataFormats/DetId/interface/DetId.h
"
31
32
#include "
CondFormats/DataRecord/interface/HcalPedestalsRcd.h
"
33
#include "
CondFormats/DataRecord/interface/HcalPedestalWidthsRcd.h
"
34
#include "
CondFormats/DataRecord/interface/HcalGainsRcd.h
"
35
#include "
CondFormats/DataRecord/interface/HcalGainWidthsRcd.h
"
36
#include "
CondFormats/DataRecord/interface/HcalElectronicsMapRcd.h
"
37
38
#include "
CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h
"
39
#include "
Geometry/HcalTowerAlgo/interface/HcalGeometry.h
"
40
41
class
HcalAutoPedestalValidator
:
public
edm::EDAnalyzer
{
42
public
:
43
HcalAutoPedestalValidator
(
edm::ParameterSet
const
& ps);
44
45
~HcalAutoPedestalValidator
()
override
;
46
47
void
analyze
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& es)
override
;
48
49
private
:
50
std::string
outfile
;
51
double
epsilon
;
52
// vecDetId getMissingDetIds(std::vector<HcalPedestals> &);
53
};
54
#endif
HcalAutoPedestalValidator::outfile
std::string outfile
Definition:
HcalAutoPedestalValidator.h:50
HcalElectronicsMap.h
ESHandle.h
HcalElectronicsMapRcd.h
HcalAutoPedestalValidator
Definition:
HcalAutoPedestalValidator.h:41
HcalGenericDetId.h
HcalPedestals.h
EDAnalyzer.h
HcalAutoPedestalValidator::analyze
void analyze(const edm::Event &ev, const edm::EventSetup &es) override
Definition:
HcalAutoPedestalValidator.cc:10
HcalGeometry.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
HcalGainWidthsRcd.h
HcalAutoPedestalValidator::~HcalAutoPedestalValidator
~HcalAutoPedestalValidator() override
Definition:
HcalAutoPedestalValidator.cc:8
MakerMacros.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalPedestalsRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
HcalAutoPedestalValidator::HcalAutoPedestalValidator
HcalAutoPedestalValidator(edm::ParameterSet const &ps)
Definition:
HcalAutoPedestalValidator.cc:3
edm::EventSetup
Definition:
EventSetup.h:57
HcalGains.h
HcalPedestalWidths.h
HcalAutoPedestalValidator::epsilon
double epsilon
Definition:
HcalAutoPedestalValidator.h:51
HcalGainsRcd.h
HcalGainWidths.h
HcalDbASCIIIO.h
DetId.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
EventSetup.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
HcalPedestalWidthsRcd.h
Generated for CMSSW Reference Manual by
1.8.16