Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
DQM
SiStripMonitorSummary
plugins
SiStripPlotGain.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: SiStripPlotGain
4
// Class: SiStripPlotGain
5
//
14
//
15
// Original Author: Domenico GIORDANO
16
// Created: Mon Aug 10 10:42:04 CEST 2009
17
//
18
//
19
20
// system include files
21
#include <memory>
22
23
// user include files
24
#include "
CondFormats/SiStripObjects/interface/SiStripApvGain.h
"
25
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
26
#include "
FWCore/Framework/interface/ESHandle.h
"
27
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
28
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
29
30
#include "
FWCore/Framework/interface/Event.h
"
31
#include "
FWCore/Framework/interface/MakerMacros.h
"
32
33
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
34
35
#include "
CalibTracker/Records/interface/SiStripDependentRecords.h
"
36
#include "
CalibTracker/SiStripCommon/interface/SiStripDetInfoFileReader.h
"
37
#include "
CommonTools/TrackerMap/interface/TrackerMap.h
"
38
39
#include "TFile.h"
40
#include "TH1F.h"
41
#include "TH2F.h"
42
43
//
44
// class decleration
45
//
46
class
TrackerTopology
;
47
48
class
SiStripPlotGain
:
public
edm::EDAnalyzer
{
49
public
:
50
explicit
SiStripPlotGain
(
const
edm::ParameterSet
&);
51
~SiStripPlotGain
()
override
;
52
53
private
:
54
void
beginRun
(
const
edm::Run
&
run
,
const
edm::EventSetup
&es)
override
;
55
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
{};
56
void
endJob
()
override
;
57
58
void
DoAnalysis
(
const
edm::EventSetup
&es,
const
SiStripApvGain
&);
59
void
getHistos
(
const
uint32_t &detid,
const
TrackerTopology
*tTopo, std::vector<TH1F *> &
histos
);
60
TH1F *
getHisto
(
const
long
unsigned
int
&
index
);
61
62
unsigned
long
long
getCache
(
const
edm::EventSetup
&eSetup) {
63
return
eSetup.
get
<
SiStripApvGainRcd
>().cacheIdentifier();
64
}
65
66
// ----------member data ---------------------------
67
68
SiStripDetInfoFileReader
*
fr
;
69
70
edm::ESHandle<SiStripApvGain>
Handle_
;
71
72
TFile *
file
;
73
std::vector<TH1F *>
vTH1
;
74
75
TrackerMap
*
tkmap
;
76
77
unsigned
long
long
cacheID
;
78
};
SiStripDependentRecords.h
MessageLogger.h
ESHandle.h
SiStripPlotGain
Definition:
SiStripPlotGain.h:48
SiStripPlotGain::getHistos
void getHistos(const uint32_t &detid, const TrackerTopology *tTopo, std::vector< TH1F * > &histos)
Definition:
SiStripPlotGain.cc:61
edm::Run
Definition:
Run.h:45
TrackerTopology
Definition:
TrackerTopology.h:16
EDAnalyzer.h
SiStripDetInfoFileReader
Definition:
SiStripDetInfoFileReader.h:30
SiStripPlotGain::endJob
void endJob() override
Definition:
SiStripPlotGain.cc:101
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
MakerMacros.h
edm::EventSetup::get
T get() const
Definition:
EventSetup.h:73
edm::ESHandle< SiStripApvGain >
SiStripDetInfoFileReader.h
SiStripPlotGain::~SiStripPlotGain
~SiStripPlotGain() override
Definition:
SiStripPlotGain.cc:13
TrackerMap
Definition:
TrackerMap.h:76
SiStripApvGain.h
SiStripPlotGain::tkmap
TrackerMap * tkmap
Definition:
SiStripPlotGain.h:75
SiStripPlotGain::Handle_
edm::ESHandle< SiStripApvGain > Handle_
Definition:
SiStripPlotGain.h:70
edm::ParameterSet
Definition:
ParameterSet.h:36
SiStripPlotGain::getCache
unsigned long long getCache(const edm::EventSetup &eSetup)
Definition:
SiStripPlotGain.h:62
Event.h
SiStripPlotGain::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition:
SiStripPlotGain.cc:17
SiStripPlotGain::getHisto
TH1F * getHisto(const long unsigned int &index)
Definition:
SiStripPlotGain.cc:87
SiStripPlotGain::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
SiStripPlotGain.h:55
edm::EventSetup
Definition:
EventSetup.h:57
SiStripPlotGain::fr
SiStripDetInfoFileReader * fr
Definition:
SiStripPlotGain.h:68
SiStripPlotGain::DoAnalysis
void DoAnalysis(const edm::EventSetup &es, const SiStripApvGain &)
Definition:
SiStripPlotGain.cc:28
TrackerMap.h
SiStripApvGainRcd
Definition:
SiStripCondDataRecords.h:8
combine.histos
histos
Definition:
combine.py:4
SiStripPlotGain::file
TFile * file
Definition:
SiStripPlotGain.h:72
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
Frameworkfwd.h
SiStripPlotGain::cacheID
unsigned long long cacheID
Definition:
SiStripPlotGain.h:77
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
SiStripPlotGain::SiStripPlotGain
SiStripPlotGain(const edm::ParameterSet &)
Definition:
SiStripPlotGain.cc:7
ParameterSet.h
SiStripPlotGain::vTH1
std::vector< TH1F * > vTH1
Definition:
SiStripPlotGain.h:73
edm::Event
Definition:
Event.h:73
SiStripApvGain
Definition:
SiStripApvGain.h:25
Generated for CMSSW Reference Manual by
1.8.16