Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoParticleFlow
PFRootEvent
interface
PFRootEventManagerColin.h
Go to the documentation of this file.
1
#ifndef Demo_PFRootEvent_PFRootEventManagerColin_h
2
#define Demo_PFRootEvent_PFRootEventManagerColin_h
3
4
#include "
RecoParticleFlow/PFRootEvent/interface/PFRootEventManager.h
"
5
6
class
NeutralEvent
{
7
public
:
8
NeutralEvent
() {
9
reset
();
10
}
11
12
virtual
void
reset
() {
13
eECAL
= -1;
14
eHCAL
= -1;
15
eNeutral
= -1;
16
etaECAL
= -10;
17
etaHCAL
= -10;
18
etaNeutral
= -10;
19
nECAL
= -1;
20
nHCAL
= -1;
21
rCode
= 0;
22
}
23
24
double
eECAL
;
25
double
eHCAL
;
26
double
eNeutral
;
27
double
etaECAL
;
28
double
etaHCAL
;
29
double
etaNeutral
;
30
int
nECAL
;
31
int
nHCAL
;
32
int
rCode
;
33
};
34
35
36
class
TauEvent
:
public
NeutralEvent
{
37
public
:
38
TauEvent
() :
39
NeutralEvent
() {
40
reset
();
41
}
42
43
void
reset
() {
44
NeutralEvent::reset
();
45
pTrack
= -1;
46
ptTrack
= -1;
47
etaTrack
= -10;
48
pHadron
= -1;
49
eEcalHadron
= -1;
50
chi2ECAL
= -1;
51
}
52
53
54
double
pTrack
;
55
double
ptTrack
;
56
double
etaTrack
;
57
double
pHadron
;
58
double
eEcalHadron
;
59
double
chi2ECAL
;
60
};
61
62
63
class
PFRootEventManagerColin
:
public
PFRootEventManager
{
64
65
public
:
66
PFRootEventManagerColin
(
const
char
*
file
);
67
68
~PFRootEventManagerColin
();
69
70
void
readSpecificOptions
(
const
char
* file);
71
72
bool
processEntry
(
int
entry
);
73
bool
processNeutral
();
74
bool
processHIGH_E_TAUS
();
75
76
77
void
write
();
78
79
80
enum
Mode
{
81
Neutral
=0,
82
HIGH_E_TAUS
=1
83
};
84
85
TTree *
outTreeMy_
;
86
NeutralEvent
*
neutralEvent_
;
87
TauEvent
*
tauEvent_
;
88
int
mode_
;
89
};
90
91
#endif
NeutralEvent::reset
virtual void reset()
Definition:
PFRootEventManagerColin.h:12
PFRootEventManager.h
PFRootEventManagerColin::Mode
Mode
Definition:
PFRootEventManagerColin.h:80
NeutralEvent::eNeutral
double eNeutral
Definition:
PFRootEventManagerColin.h:26
mergeVDriftHistosByStation.file
tuple file
Definition:
mergeVDriftHistosByStation.py:54
PFRootEventManagerColin::readSpecificOptions
void readSpecificOptions(const char *file)
Definition:
PFRootEventManagerColin.cc:39
NeutralEvent::nECAL
int nECAL
Definition:
PFRootEventManagerColin.h:30
NeutralEvent::etaNeutral
double etaNeutral
Definition:
PFRootEventManagerColin.h:29
TauEvent::TauEvent
TauEvent()
Definition:
PFRootEventManagerColin.h:38
NeutralEvent::NeutralEvent
NeutralEvent()
Definition:
PFRootEventManagerColin.h:8
PFRootEventManagerColin::write
void write()
Definition:
PFRootEventManagerColin.cc:366
PFRootEventManagerColin::tauEvent_
TauEvent * tauEvent_
Definition:
PFRootEventManagerColin.h:87
NeutralEvent::eHCAL
double eHCAL
Definition:
PFRootEventManagerColin.h:25
TauEvent::ptTrack
double ptTrack
Definition:
PFRootEventManagerColin.h:55
NeutralEvent
Definition:
PFRootEventManagerColin.h:6
PFRootEventManagerColin::PFRootEventManagerColin
PFRootEventManagerColin(const char *file)
Definition:
PFRootEventManagerColin.cc:11
NeutralEvent::etaHCAL
double etaHCAL
Definition:
PFRootEventManagerColin.h:28
NeutralEvent::etaECAL
double etaECAL
Definition:
PFRootEventManagerColin.h:27
TauEvent::reset
void reset()
Definition:
PFRootEventManagerColin.h:43
TauEvent::pTrack
double pTrack
Definition:
PFRootEventManagerColin.h:54
NeutralEvent::nHCAL
int nHCAL
Definition:
PFRootEventManagerColin.h:31
TauEvent::pHadron
double pHadron
Definition:
PFRootEventManagerColin.h:57
TauEvent::etaTrack
double etaTrack
Definition:
PFRootEventManagerColin.h:56
PFRootEventManagerColin::processHIGH_E_TAUS
bool processHIGH_E_TAUS()
Definition:
PFRootEventManagerColin.cc:192
PFRootEventManagerColin::~PFRootEventManagerColin
~PFRootEventManagerColin()
Definition:
PFRootEventManagerColin.cc:32
PFRootEventManagerColin::processEntry
bool processEntry(int entry)
process one entry (pass the TTree entry)
Definition:
PFRootEventManagerColin.cc:77
TauEvent::chi2ECAL
double chi2ECAL
Definition:
PFRootEventManagerColin.h:59
entry
std::pair< std::string, MonitorElement * > entry
Definition:
ME_MAP.h:8
PFRootEventManagerColin::Neutral
Definition:
PFRootEventManagerColin.h:81
NeutralEvent::eECAL
double eECAL
Definition:
PFRootEventManagerColin.h:24
PFRootEventManagerColin::neutralEvent_
NeutralEvent * neutralEvent_
Definition:
PFRootEventManagerColin.h:86
PFRootEventManagerColin::HIGH_E_TAUS
Definition:
PFRootEventManagerColin.h:82
PFRootEventManagerColin::mode_
int mode_
Definition:
PFRootEventManagerColin.h:88
PFRootEventManagerColin::outTreeMy_
TTree * outTreeMy_
Definition:
PFRootEventManagerColin.h:85
PFRootEventManagerColin
Definition:
PFRootEventManagerColin.h:63
TauEvent::eEcalHadron
double eEcalHadron
Definition:
PFRootEventManagerColin.h:58
PFRootEventManagerColin::processNeutral
bool processNeutral()
Definition:
PFRootEventManagerColin.cc:117
TauEvent
Definition:
PFRootEventManagerColin.h:36
PFRootEventManager
ROOT interface to particle flow package.
Definition:
PFRootEventManager.h:190
NeutralEvent::rCode
int rCode
Definition:
PFRootEventManagerColin.h:32
Generated for CMSSW Reference Manual by
1.8.5