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