Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondTools
Hcal
interface
HcalPedestalWidthsCheck.h
Go to the documentation of this file.
1
#ifndef HcalPedestalWidthsCheck_h
2
#define HcalPedestalWidthsCheck_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
HcalPedestalWidthsCheck
:
public
edm::EDAnalyzer
44
{
45
public
:
46
HcalPedestalWidthsCheck
(
edm::ParameterSet
const
& ps);
47
48
~HcalPedestalWidthsCheck
();
49
50
void
analyze
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& es);
51
52
private
:
53
std::string
outfile
;
54
std::string
dumprefs
;
55
std::string
dumpupdate
;
56
bool
checkemapflag
;
57
bool
validateflag
;
58
double
epsilon
;
59
// vecDetId getMissingDetIds(std::vector<HcalPedestalWidths> &);
60
61
62
};
63
#endif
HcalPedestalWidthsCheck::validateflag
bool validateflag
Definition:
HcalPedestalWidthsCheck.h:57
HcalPedestalWidthsCheck::checkemapflag
bool checkemapflag
Definition:
HcalPedestalWidthsCheck.h:56
HcalPedestalWidthsCheck::analyze
void analyze(const edm::Event &ev, const edm::EventSetup &es)
Definition:
HcalPedestalWidthsCheck.cc:17
HcalGainWidthsRcd.h
HcalGeometry.h
Event.h
MakerMacros.h
EventSetup.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:90
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HcalPedestalWidthsCheck::epsilon
double epsilon
Definition:
HcalPedestalWidthsCheck.h:58
HcalPedestals.h
ParameterSet.h
HcalGenericDetId.h
HcalPedestalWidthsCheck::outfile
std::string outfile
Definition:
HcalPedestalWidthsCheck.h:53
HcalElectronicsMapRcd.h
HcalPedestalWidthsRcd.h
HcalPedestalWidths.h
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
HcalElectronicsMap.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
HcalGainWidths.h
HcalPedestalWidthsCheck::HcalPedestalWidthsCheck
HcalPedestalWidthsCheck(edm::ParameterSet const &ps)
Definition:
HcalPedestalWidthsCheck.cc:3
HcalPedestalWidthsCheck
Definition:
HcalPedestalWidthsCheck.h:43
HcalGainsRcd.h
HcalGains.h
HcalDbASCIIIO.h
edm::ParameterSet
Definition:
ParameterSet.h:35
HcalPedestalWidthsCheck::dumpupdate
std::string dumpupdate
Definition:
HcalPedestalWidthsCheck.h:55
edm::Event
Definition:
Event.h:59
DetId.h
HcalPedestalWidthsCheck::~HcalPedestalWidthsCheck
~HcalPedestalWidthsCheck()
Definition:
HcalPedestalWidthsCheck.cc:13
HcalPedestalsRcd.h
HcalPedestalWidthsCheck::dumprefs
std::string dumprefs
Definition:
HcalPedestalWidthsCheck.h:54
Generated for CMSSW Reference Manual by
1.8.5