Main Page
Namespaces
Classes
Package Documentation
src
L1Trigger
L1TNtuples
interface
L1AnalysisRCTDataFormat.h
Go to the documentation of this file.
1
#ifndef __L1Analysis_L1AnalysisRCTDataFormat_H__
2
#define __L1Analysis_L1AnalysisRCTDataFormat_H__
3
4
//-------------------------------------------------------------------------------
5
// Created 20/04/2010 - E. Conte, A.C. Le Bihan
6
//
7
//
8
// Original code : L1Trigger/L1TNtuples/L1NtupleProducer
9
//-------------------------------------------------------------------------------
10
11
#include <vector>
12
13
namespace
L1Analysis
14
{
15
struct
L1AnalysisRCTDataFormat
16
{
17
// L1AnalysisRCTDataFormat(){Reset();};
18
L1AnalysisRCTDataFormat
(){
Reset
();};
19
~L1AnalysisRCTDataFormat
(){};
20
21
void
Reset
()
22
{
23
RegSize
=-999;
24
25
RegEta
.clear();
26
RegPhi
.clear();
27
RegGEta
.clear();
28
RegGPhi
.clear();
29
RegRnk
.clear();
30
RegVeto
.clear();
31
RegBx
.clear();
32
RegOverFlow
.clear();
33
RegMip
.clear();
34
RegFGrain
.clear();
35
36
EmSize
=-999;
37
38
IsIsoEm
.clear();
39
EmEta
.clear();
40
EmPhi
.clear();
41
EmRnk
.clear();
42
EmBx
.clear();
43
44
45
}
46
47
void
InitHdRCT
()
48
{
49
RegSize
=-999;
50
51
RegEta
.assign(
maxRCTREG_
,-999.);
52
RegPhi
.assign(
maxRCTREG_
,-999.);
53
RegGEta
.assign(
maxRCTREG_
,-999.);
54
RegGPhi
.assign(
maxRCTREG_
,-999.);
55
RegRnk
.assign(
maxRCTREG_
,-999.);
56
RegVeto
.assign(
maxRCTREG_
,-999);
57
RegBx
.assign(
maxRCTREG_
,-999);
58
RegOverFlow
.assign(
maxRCTREG_
,-999);
59
RegMip
.assign(
maxRCTREG_
,-999);
60
RegFGrain
.assign(
maxRCTREG_
,-999);
61
}
62
63
void
InitEmRCT
()
64
{
65
EmSize
=-999;
66
67
IsIsoEm
.assign(
maxRCTREG_
,-999);
68
EmEta
.assign(
maxRCTREG_
,-999.);
69
EmPhi
.assign(
maxRCTREG_
,-999.);
70
EmRnk
.assign(
maxRCTREG_
,-999.);
71
EmBx
.assign(
maxRCTREG_
,-999-
maxRCTREG_
);
72
}
73
74
// ---- L1AnalysisRCTDataFormat information.
75
int
maxRCTREG_
;
76
77
int
RegSize
;
78
79
std::vector<float>
RegEta
;
80
std::vector<float>
RegPhi
;
81
std::vector<float>
RegGEta
;
82
std::vector<float>
RegGPhi
;
83
std::vector<float>
RegRnk
;
84
std::vector<int>
RegVeto
;
85
std::vector<int>
RegBx
;
86
std::vector<int>
RegOverFlow
;
87
std::vector<int>
RegMip
;
88
std::vector<int>
RegFGrain
;
89
90
91
int
EmSize
;
92
93
std::vector<int>
IsIsoEm
;
94
std::vector<float>
EmEta
;
95
std::vector<float>
EmPhi
;
96
std::vector<float>
EmRnk
;
97
std::vector<int>
EmBx
;
98
99
100
};
101
}
102
#endif
103
104
L1Analysis::L1AnalysisRCTDataFormat::EmPhi
std::vector< float > EmPhi
Definition:
L1AnalysisRCTDataFormat.h:95
L1Analysis::L1AnalysisRCTDataFormat::RegMip
std::vector< int > RegMip
Definition:
L1AnalysisRCTDataFormat.h:87
L1Analysis::L1AnalysisRCTDataFormat::EmEta
std::vector< float > EmEta
Definition:
L1AnalysisRCTDataFormat.h:94
L1Analysis::L1AnalysisRCTDataFormat::maxRCTREG_
int maxRCTREG_
Definition:
L1AnalysisRCTDataFormat.h:75
L1Analysis::L1AnalysisRCTDataFormat::RegOverFlow
std::vector< int > RegOverFlow
Definition:
L1AnalysisRCTDataFormat.h:86
L1Analysis::L1AnalysisRCTDataFormat::RegFGrain
std::vector< int > RegFGrain
Definition:
L1AnalysisRCTDataFormat.h:88
L1Analysis::L1AnalysisRCTDataFormat::RegSize
int RegSize
Definition:
L1AnalysisRCTDataFormat.h:77
L1Analysis::L1AnalysisRCTDataFormat::RegPhi
std::vector< float > RegPhi
Definition:
L1AnalysisRCTDataFormat.h:80
L1Analysis::L1AnalysisRCTDataFormat::RegRnk
std::vector< float > RegRnk
Definition:
L1AnalysisRCTDataFormat.h:83
L1Analysis::L1AnalysisRCTDataFormat::EmBx
std::vector< int > EmBx
Definition:
L1AnalysisRCTDataFormat.h:97
L1Analysis::L1AnalysisRCTDataFormat::RegGPhi
std::vector< float > RegGPhi
Definition:
L1AnalysisRCTDataFormat.h:82
L1Analysis::L1AnalysisRCTDataFormat::RegGEta
std::vector< float > RegGEta
Definition:
L1AnalysisRCTDataFormat.h:81
L1Analysis::L1AnalysisRCTDataFormat::InitEmRCT
void InitEmRCT()
Definition:
L1AnalysisRCTDataFormat.h:63
L1Analysis::L1AnalysisRCTDataFormat::InitHdRCT
void InitHdRCT()
Definition:
L1AnalysisRCTDataFormat.h:47
L1Analysis::L1AnalysisRCTDataFormat::RegVeto
std::vector< int > RegVeto
Definition:
L1AnalysisRCTDataFormat.h:84
L1Analysis::L1AnalysisRCTDataFormat::EmSize
int EmSize
Definition:
L1AnalysisRCTDataFormat.h:91
L1Analysis::L1AnalysisRCTDataFormat::RegBx
std::vector< int > RegBx
Definition:
L1AnalysisRCTDataFormat.h:85
L1Analysis::L1AnalysisRCTDataFormat::L1AnalysisRCTDataFormat
L1AnalysisRCTDataFormat()
Definition:
L1AnalysisRCTDataFormat.h:18
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:19
L1Analysis::L1AnalysisRCTDataFormat::IsIsoEm
std::vector< int > IsIsoEm
Definition:
L1AnalysisRCTDataFormat.h:93
L1Analysis::L1AnalysisRCTDataFormat::EmRnk
std::vector< float > EmRnk
Definition:
L1AnalysisRCTDataFormat.h:96
L1Analysis::L1AnalysisRCTDataFormat::~L1AnalysisRCTDataFormat
~L1AnalysisRCTDataFormat()
Definition:
L1AnalysisRCTDataFormat.h:19
L1Analysis::L1AnalysisRCTDataFormat::Reset
void Reset()
Definition:
L1AnalysisRCTDataFormat.h:21
L1Analysis::L1AnalysisRCTDataFormat
Definition:
L1AnalysisRCTDataFormat.h:15
L1Analysis::L1AnalysisRCTDataFormat::RegEta
std::vector< float > RegEta
Definition:
L1AnalysisRCTDataFormat.h:79
Generated for CMSSW Reference Manual by
1.8.11