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
SimG4Core
GFlash
TB
TreeProducerCalibSimul.h
Go to the documentation of this file.
1
#ifndef TREEPRODUCERCALIBSIMUL_H
2
#define TREEPRODUCERCALIBSIMUL_H
3
4
// system include files
5
#include <memory>
6
7
// framework
8
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
9
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
10
#include "
FWCore/Framework/interface/Event.h
"
11
#include "
FWCore/Framework/interface/EventSetup.h
"
12
#include "
FWCore/Framework/interface/MakerMacros.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
#include "
FWCore/Framework/interface/ESHandle.h
"
15
16
// for reconstruction
17
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
18
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
19
#include "
DataFormats/EcalRecHit/interface/EcalUncalibratedRecHit.h
"
20
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
21
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBHodoscopeRecInfo.h
"
22
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBTDCRecInfo.h
"
23
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBEventHeader.h
"
24
25
// geometry
26
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
27
#include "
Geometry/CaloGeometry/interface/CaloCellGeometry.h
"
28
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
29
30
// my include files
31
#include "
SimG4Core/GFlash/TB/TreeMatrixCalib.h
"
32
33
34
// root includes
35
#include "TROOT.h"
36
#include "TSystem.h"
37
#include "TFile.h"
38
#include "TTree.h"
39
#include "TF1.h"
40
#include "TH1.h"
41
#include "TH2.h"
42
#include "TGraph.h"
43
#include "TStyle.h"
44
#include "TCanvas.h"
45
#include "
TSelector.h
"
46
#include "TApplication.h"
47
48
// c++ includes
49
#include <string>
50
#include <stdio.h>
51
#include <sstream>
52
#include <iostream>
53
#include <unistd.h>
54
#include <fstream>
55
#include <math.h>
56
#include <stdexcept>
57
58
59
class
TreeProducerCalibSimul
:
public
edm::EDAnalyzer
{
60
public
:
61
explicit
TreeProducerCalibSimul
(
const
edm::ParameterSet
&);
62
~TreeProducerCalibSimul
();
63
64
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
65
virtual
void
beginJob
();
66
virtual
void
endJob
();
67
private
:
68
69
70
std::string
rootfile_
;
71
std::string
txtfile_
;
72
std::string
EBRecHitCollection_
;
73
std::string
RecHitProducer_
;
74
std::string
hodoRecInfoCollection_
;
75
std::string
hodoRecInfoProducer_
;
76
std::string
tdcRecInfoCollection_
;
77
std::string
tdcRecInfoProducer_
;
78
std::string
eventHeaderCollection_
;
79
std::string
eventHeaderProducer_
;
80
double
posCluster_
;
81
82
TreeMatrixCalib
*
myTree
;
83
84
int
xtalInBeam
;
85
int
tot_events
;
86
int
tot_events_ok
;
87
int
noHits
;
88
int
noHodo
;
89
int
noTdc
;
90
int
noHeader
;
91
};
92
93
94
95
#endif
TreeProducerCalibSimul::tot_events_ok
int tot_events_ok
Definition:
TreeProducerCalibSimul.h:86
TreeProducerCalibSimul::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TreeProducerCalibSimul.cc:95
TreeProducerCalibSimul::hodoRecInfoCollection_
std::string hodoRecInfoCollection_
Definition:
TreeProducerCalibSimul.h:74
TreeProducerCalibSimul::eventHeaderCollection_
std::string eventHeaderCollection_
Definition:
TreeProducerCalibSimul.h:78
ESHandle.h
TreeProducerCalibSimul::eventHeaderProducer_
std::string eventHeaderProducer_
Definition:
TreeProducerCalibSimul.h:79
TreeProducerCalibSimul::tdcRecInfoCollection_
std::string tdcRecInfoCollection_
Definition:
TreeProducerCalibSimul.h:76
EBDetId.h
TreeProducerCalibSimul::EBRecHitCollection_
std::string EBRecHitCollection_
Definition:
TreeProducerCalibSimul.h:72
TreeProducerCalibSimul::rootfile_
std::string rootfile_
Definition:
TreeProducerCalibSimul.h:70
EDAnalyzer.h
EcalRecHitCollections.h
TreeProducerCalibSimul::txtfile_
std::string txtfile_
Definition:
TreeProducerCalibSimul.h:71
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
MakerMacros.h
TreeMatrixCalib
Definition:
TreeMatrixCalib.h:15
TreeProducerCalibSimul::TreeProducerCalibSimul
TreeProducerCalibSimul(const edm::ParameterSet &)
Definition:
TreeProducerCalibSimul.cc:8
TreeProducerCalibSimul::noHits
int noHits
Definition:
TreeProducerCalibSimul.h:87
TreeProducerCalibSimul::myTree
TreeMatrixCalib * myTree
Definition:
TreeProducerCalibSimul.h:82
EcalDigiCollections.h
EcalUncalibratedRecHit.h
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition:
ParameterSet.h:47
TreeProducerCalibSimul::hodoRecInfoProducer_
std::string hodoRecInfoProducer_
Definition:
TreeProducerCalibSimul.h:75
EcalTBHodoscopeRecInfo.h
Event.h
TreeProducerCalibSimul::xtalInBeam
int xtalInBeam
Definition:
TreeProducerCalibSimul.h:84
TreeProducerCalibSimul::tdcRecInfoProducer_
std::string tdcRecInfoProducer_
Definition:
TreeProducerCalibSimul.h:77
TreeProducerCalibSimul::RecHitProducer_
std::string RecHitProducer_
Definition:
TreeProducerCalibSimul.h:73
edm::EventSetup
Definition:
EventSetup.h:58
TreeProducerCalibSimul
Definition:
TreeProducerCalibSimul.h:59
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CaloCellGeometry.h
EcalTBTDCRecInfo.h
TreeProducerCalibSimul::beginJob
virtual void beginJob()
Definition:
TreeProducerCalibSimul.cc:52
TreeProducerCalibSimul::~TreeProducerCalibSimul
~TreeProducerCalibSimul()
Definition:
TreeProducerCalibSimul.cc:39
Frameworkfwd.h
EcalTBEventHeader.h
CaloGeometry.h
EventSetup.h
TreeMatrixCalib.h
TreeProducerCalibSimul::posCluster_
double posCluster_
Definition:
TreeProducerCalibSimul.h:80
TreeProducerCalibSimul::noTdc
int noTdc
Definition:
TreeProducerCalibSimul.h:89
TreeProducerCalibSimul::endJob
virtual void endJob()
Definition:
TreeProducerCalibSimul.cc:74
ParameterSet.h
TreeProducerCalibSimul::noHodo
int noHodo
Definition:
TreeProducerCalibSimul.h:88
edm::Event
Definition:
Event.h:73
TreeProducerCalibSimul::noHeader
int noHeader
Definition:
TreeProducerCalibSimul.h:90
TSelector.h
TreeProducerCalibSimul::tot_events
int tot_events
Definition:
TreeProducerCalibSimul.h:85
Generated for CMSSW Reference Manual by
1.8.16