Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
43
public
:
44
HcalAutoPedestalValidator
(
edm::ParameterSet
const
& ps);
45
46
~HcalAutoPedestalValidator
();
47
48
void
analyze
(
const
edm::Event
& ev,
const
edm::EventSetup
& es);
49
50
private
:
51
std::string
outfile
;
52
double
epsilon
;
53
// vecDetId getMissingDetIds(std::vector<HcalPedestals> &);
54
};
55
#endif
HcalGainWidthsRcd.h
HcalGeometry.h
Event.h
MakerMacros.h
EventSetup.h
HcalAutoPedestalValidator::epsilon
double epsilon
Definition:
HcalAutoPedestalValidator.h:52
HcalAutoPedestalValidator
Definition:
HcalAutoPedestalValidator.h:41
HcalPedestals.h
ParameterSet.h
HcalGenericDetId.h
HcalAutoPedestalValidator::~HcalAutoPedestalValidator
~HcalAutoPedestalValidator()
Definition:
HcalAutoPedestalValidator.cc:9
HcalElectronicsMapRcd.h
HcalAutoPedestalValidator::analyze
void analyze(const edm::Event &ev, const edm::EventSetup &es)
Definition:
HcalAutoPedestalValidator.cc:13
HcalPedestalWidthsRcd.h
HcalAutoPedestalValidator::outfile
std::string outfile
Definition:
HcalAutoPedestalValidator.h:51
HcalPedestalWidths.h
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
HcalElectronicsMap.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
HcalGainWidths.h
HcalAutoPedestalValidator::HcalAutoPedestalValidator
HcalAutoPedestalValidator(edm::ParameterSet const &ps)
Definition:
HcalAutoPedestalValidator.cc:3
HcalGainsRcd.h
HcalGains.h
HcalDbASCIIIO.h
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:50
DetId.h
HcalPedestalsRcd.h
Generated for CMSSW Reference Manual by
1.8.5