L1Trigger
L1TNtuples
interface
L1AnalysisGTDataFormat.h
Go to the documentation of this file.
1
#ifndef __L1Analysis_L1AnalysisGTDataFormat_H__
2
#define __L1Analysis_L1AnalysisGTDataFormat_H__
3
4
//-------------------------------------------------------------------------------
5
// Created 15/04/2010 - E. Conte, A.C. Le Bihan
6
//
7
//
8
// Original code : L1Trigger/L1TNtuples/L1NtupleProducer
9
//-------------------------------------------------------------------------------
10
#include <vector>
11
// #include <inttypes.h>
12
#include <TROOT.h>
13
14
namespace
L1Analysis
{
15
struct
L1AnalysisGTDataFormat
{
16
L1AnalysisGTDataFormat
() {
Reset
(); };
17
~L1AnalysisGTDataFormat
(){};
18
19
void
Reset
() {
20
tw1
.clear();
21
tw2
.clear();
22
tt
.clear();
23
24
partrig_tcs
= 0;
25
gpsTimehi
= 0;
26
gpsTimelo
= 0;
27
bstMasterStatus
= 0;
28
bstturnCountNumber
= 0;
29
bstlhcFillNumber
= 0;
30
bstbeamMode
= 0;
31
bstparticleTypeBeam1
= 0;
32
bstparticleTypeBeam2
= 0;
33
bstbeamMomentum
= 0;
34
bsttotalIntensityBeam1
= 0;
35
bsttotalIntensityBeam2
= 0;
36
37
//PSB info
38
Nele
= 0;
39
Bxel
.clear();
40
Rankel
.clear();
41
Phiel
.clear();
42
Etael
.clear();
43
Isoel
.clear();
44
45
Njet
= 0;
46
Bxjet
.clear();
47
Rankjet
.clear();
48
Phijet
.clear();
49
Etajet
.clear();
50
Taujet
.clear();
51
Fwdjet
.clear();
52
53
// ------ ETT, ETM, HTT and HTM from PSB14:
54
55
RankETT
= -1;
56
OvETT
=
false
;
57
RankHTT
= -1;
58
OvHTT
=
false
;
59
RankETM
= -1;
60
PhiETM
= -1;
61
OvETM
=
false
;
62
RankHTM
= -1;
63
PhiHTM
= -1;
64
OvHTM
=
false
;
65
}
66
67
// ---- L1AnalysisGTDataFormat information.
68
69
std::vector<ULong64_t>
tw1
;
70
std::vector<ULong64_t>
tw2
;
71
std::vector<ULong64_t>
tt
;
72
unsigned
long
partrig_tcs
;
73
unsigned
long
gpsTimehi
;
74
unsigned
long
gpsTimelo
;
75
unsigned
long
bstMasterStatus
;
76
unsigned
long
bstturnCountNumber
;
77
unsigned
long
bstlhcFillNumber
;
78
unsigned
long
bstbeamMode
;
79
unsigned
long
bstparticleTypeBeam1
;
80
unsigned
long
bstparticleTypeBeam2
;
81
unsigned
long
bstbeamMomentum
;
82
unsigned
long
bsttotalIntensityBeam1
;
83
unsigned
long
bsttotalIntensityBeam2
;
84
85
//PSB info
86
int
Nele
;
87
std::vector<int>
Bxel
;
88
std::vector<float>
Rankel
;
89
std::vector<float>
Phiel
;
90
std::vector<float>
Etael
;
91
std::vector<bool>
Isoel
;
92
93
int
Njet
;
94
std::vector<int>
Bxjet
;
95
std::vector<float>
Rankjet
;
96
std::vector<float>
Phijet
;
97
std::vector<float>
Etajet
;
98
std::vector<bool>
Taujet
;
99
std::vector<bool>
Fwdjet
;
100
101
// ------ ETT, ETM, HTT and HTM from PSB14:
102
103
int
RankETT
;
104
bool
OvETT
;
105
106
int
RankHTT
;
107
bool
OvHTT
;
108
109
int
RankETM
;
110
int
PhiETM
;
111
bool
OvETM
;
112
113
int
RankHTM
;
114
int
PhiHTM
;
115
bool
OvHTM
;
116
};
117
}
// namespace L1Analysis
118
#endif
L1Analysis::L1AnalysisGTDataFormat::gpsTimelo
unsigned long gpsTimelo
Definition:
L1AnalysisGTDataFormat.h:74
L1Analysis::L1AnalysisGTDataFormat::partrig_tcs
unsigned long partrig_tcs
Definition:
L1AnalysisGTDataFormat.h:72
L1Analysis::L1AnalysisGTDataFormat::bstlhcFillNumber
unsigned long bstlhcFillNumber
Definition:
L1AnalysisGTDataFormat.h:77
L1Analysis::L1AnalysisGTDataFormat::RankHTT
int RankHTT
Definition:
L1AnalysisGTDataFormat.h:106
L1Analysis::L1AnalysisGTDataFormat::bstturnCountNumber
unsigned long bstturnCountNumber
Definition:
L1AnalysisGTDataFormat.h:76
L1Analysis::L1AnalysisGTDataFormat::bsttotalIntensityBeam1
unsigned long bsttotalIntensityBeam1
Definition:
L1AnalysisGTDataFormat.h:82
L1Analysis::L1AnalysisGTDataFormat::OvHTM
bool OvHTM
Definition:
L1AnalysisGTDataFormat.h:115
L1Analysis::L1AnalysisGTDataFormat::tt
std::vector< ULong64_t > tt
Definition:
L1AnalysisGTDataFormat.h:71
L1Analysis::L1AnalysisGTDataFormat::PhiETM
int PhiETM
Definition:
L1AnalysisGTDataFormat.h:110
L1Analysis::L1AnalysisGTDataFormat::Phiel
std::vector< float > Phiel
Definition:
L1AnalysisGTDataFormat.h:89
L1Analysis::L1AnalysisGTDataFormat::bstparticleTypeBeam2
unsigned long bstparticleTypeBeam2
Definition:
L1AnalysisGTDataFormat.h:80
L1Analysis::L1AnalysisGTDataFormat::Taujet
std::vector< bool > Taujet
Definition:
L1AnalysisGTDataFormat.h:98
L1Analysis::L1AnalysisGTDataFormat::bstbeamMode
unsigned long bstbeamMode
Definition:
L1AnalysisGTDataFormat.h:78
L1Analysis::L1AnalysisGTDataFormat::tw2
std::vector< ULong64_t > tw2
Definition:
L1AnalysisGTDataFormat.h:70
L1Analysis::L1AnalysisGTDataFormat::~L1AnalysisGTDataFormat
~L1AnalysisGTDataFormat()
Definition:
L1AnalysisGTDataFormat.h:17
L1Analysis::L1AnalysisGTDataFormat::Bxjet
std::vector< int > Bxjet
Definition:
L1AnalysisGTDataFormat.h:94
L1Analysis::L1AnalysisGTDataFormat::Bxel
std::vector< int > Bxel
Definition:
L1AnalysisGTDataFormat.h:87
L1Analysis::L1AnalysisGTDataFormat::L1AnalysisGTDataFormat
L1AnalysisGTDataFormat()
Definition:
L1AnalysisGTDataFormat.h:16
L1Analysis::L1AnalysisGTDataFormat::Etael
std::vector< float > Etael
Definition:
L1AnalysisGTDataFormat.h:90
L1Analysis::L1AnalysisGTDataFormat::RankETT
int RankETT
Definition:
L1AnalysisGTDataFormat.h:103
L1Analysis::L1AnalysisGTDataFormat::OvETM
bool OvETM
Definition:
L1AnalysisGTDataFormat.h:111
L1Analysis::L1AnalysisGTDataFormat::bsttotalIntensityBeam2
unsigned long bsttotalIntensityBeam2
Definition:
L1AnalysisGTDataFormat.h:83
L1Analysis::L1AnalysisGTDataFormat::OvETT
bool OvETT
Definition:
L1AnalysisGTDataFormat.h:104
L1Analysis::L1AnalysisGTDataFormat::Fwdjet
std::vector< bool > Fwdjet
Definition:
L1AnalysisGTDataFormat.h:99
L1Analysis::L1AnalysisGTDataFormat::RankHTM
int RankHTM
Definition:
L1AnalysisGTDataFormat.h:113
L1Analysis::L1AnalysisGTDataFormat::Phijet
std::vector< float > Phijet
Definition:
L1AnalysisGTDataFormat.h:96
L1Analysis::L1AnalysisGTDataFormat::bstparticleTypeBeam1
unsigned long bstparticleTypeBeam1
Definition:
L1AnalysisGTDataFormat.h:79
L1Analysis::L1AnalysisGTDataFormat
Definition:
L1AnalysisGTDataFormat.h:15
L1Analysis::L1AnalysisGTDataFormat::RankETM
int RankETM
Definition:
L1AnalysisGTDataFormat.h:109
L1Analysis::L1AnalysisGTDataFormat::bstMasterStatus
unsigned long bstMasterStatus
Definition:
L1AnalysisGTDataFormat.h:75
L1Analysis::L1AnalysisGTDataFormat::Nele
int Nele
Definition:
L1AnalysisGTDataFormat.h:86
L1Analysis::L1AnalysisGTDataFormat::OvHTT
bool OvHTT
Definition:
L1AnalysisGTDataFormat.h:107
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:18
L1Analysis::L1AnalysisGTDataFormat::bstbeamMomentum
unsigned long bstbeamMomentum
Definition:
L1AnalysisGTDataFormat.h:81
L1Analysis::L1AnalysisGTDataFormat::gpsTimehi
unsigned long gpsTimehi
Definition:
L1AnalysisGTDataFormat.h:73
L1Analysis::L1AnalysisGTDataFormat::Rankel
std::vector< float > Rankel
Definition:
L1AnalysisGTDataFormat.h:88
L1Analysis::L1AnalysisGTDataFormat::Rankjet
std::vector< float > Rankjet
Definition:
L1AnalysisGTDataFormat.h:95
L1Analysis::L1AnalysisGTDataFormat::Etajet
std::vector< float > Etajet
Definition:
L1AnalysisGTDataFormat.h:97
L1Analysis::L1AnalysisGTDataFormat::Reset
void Reset()
Definition:
L1AnalysisGTDataFormat.h:19
L1Analysis::L1AnalysisGTDataFormat::tw1
std::vector< ULong64_t > tw1
Definition:
L1AnalysisGTDataFormat.h:69
L1Analysis::L1AnalysisGTDataFormat::Isoel
std::vector< bool > Isoel
Definition:
L1AnalysisGTDataFormat.h:91
L1Analysis::L1AnalysisGTDataFormat::PhiHTM
int PhiHTM
Definition:
L1AnalysisGTDataFormat.h:114
L1Analysis::L1AnalysisGTDataFormat::Njet
int Njet
Definition:
L1AnalysisGTDataFormat.h:93
Generated for CMSSW Reference Manual by
1.8.14