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
struct
L1AnalysisRCTDataFormat
{
15
// L1AnalysisRCTDataFormat(){Reset();};
16
L1AnalysisRCTDataFormat
() {
Reset
(); };
17
~L1AnalysisRCTDataFormat
(){};
18
19
void
Reset
() {
20
RegSize
= -999;
21
22
RegEta
.clear();
23
RegPhi
.clear();
24
RegGEta
.clear();
25
RegGPhi
.clear();
26
RegRnk
.clear();
27
RegVeto
.clear();
28
RegBx
.clear();
29
RegOverFlow
.clear();
30
RegMip
.clear();
31
RegFGrain
.clear();
32
33
EmSize
= -999;
34
35
IsIsoEm
.clear();
36
EmEta
.clear();
37
EmPhi
.clear();
38
EmRnk
.clear();
39
EmBx
.clear();
40
}
41
42
void
InitHdRCT
() {
43
RegSize
= -999;
44
45
RegEta
.assign(
maxRCTREG_
, -999.);
46
RegPhi
.assign(
maxRCTREG_
, -999.);
47
RegGEta
.assign(
maxRCTREG_
, -999.);
48
RegGPhi
.assign(
maxRCTREG_
, -999.);
49
RegRnk
.assign(
maxRCTREG_
, -999.);
50
RegVeto
.assign(
maxRCTREG_
, -999);
51
RegBx
.assign(
maxRCTREG_
, -999);
52
RegOverFlow
.assign(
maxRCTREG_
, -999);
53
RegMip
.assign(
maxRCTREG_
, -999);
54
RegFGrain
.assign(
maxRCTREG_
, -999);
55
}
56
57
void
InitEmRCT
() {
58
EmSize
= -999;
59
60
IsIsoEm
.assign(
maxRCTREG_
, -999);
61
EmEta
.assign(
maxRCTREG_
, -999.);
62
EmPhi
.assign(
maxRCTREG_
, -999.);
63
EmRnk
.assign(
maxRCTREG_
, -999.);
64
EmBx
.assign(
maxRCTREG_
, -999 -
maxRCTREG_
);
65
}
66
67
// ---- L1AnalysisRCTDataFormat information.
68
int
maxRCTREG_
;
69
70
int
RegSize
;
71
72
std::vector<float>
RegEta
;
73
std::vector<float>
RegPhi
;
74
std::vector<float>
RegGEta
;
75
std::vector<float>
RegGPhi
;
76
std::vector<float>
RegRnk
;
77
std::vector<int>
RegVeto
;
78
std::vector<int>
RegBx
;
79
std::vector<int>
RegOverFlow
;
80
std::vector<int>
RegMip
;
81
std::vector<int>
RegFGrain
;
82
83
int
EmSize
;
84
85
std::vector<int>
IsIsoEm
;
86
std::vector<float>
EmEta
;
87
std::vector<float>
EmPhi
;
88
std::vector<float>
EmRnk
;
89
std::vector<int>
EmBx
;
90
};
91
}
// namespace L1Analysis
92
#endif
L1Analysis::L1AnalysisRCTDataFormat::EmPhi
std::vector< float > EmPhi
Definition:
L1AnalysisRCTDataFormat.h:87
L1Analysis::L1AnalysisRCTDataFormat::RegMip
std::vector< int > RegMip
Definition:
L1AnalysisRCTDataFormat.h:80
L1Analysis::L1AnalysisRCTDataFormat::EmEta
std::vector< float > EmEta
Definition:
L1AnalysisRCTDataFormat.h:86
L1Analysis::L1AnalysisRCTDataFormat::maxRCTREG_
int maxRCTREG_
Definition:
L1AnalysisRCTDataFormat.h:68
L1Analysis::L1AnalysisRCTDataFormat::RegOverFlow
std::vector< int > RegOverFlow
Definition:
L1AnalysisRCTDataFormat.h:79
L1Analysis::L1AnalysisRCTDataFormat::RegFGrain
std::vector< int > RegFGrain
Definition:
L1AnalysisRCTDataFormat.h:81
L1Analysis::L1AnalysisRCTDataFormat::RegSize
int RegSize
Definition:
L1AnalysisRCTDataFormat.h:70
L1Analysis::L1AnalysisRCTDataFormat::RegPhi
std::vector< float > RegPhi
Definition:
L1AnalysisRCTDataFormat.h:73
L1Analysis::L1AnalysisRCTDataFormat::RegRnk
std::vector< float > RegRnk
Definition:
L1AnalysisRCTDataFormat.h:76
L1Analysis::L1AnalysisRCTDataFormat::EmBx
std::vector< int > EmBx
Definition:
L1AnalysisRCTDataFormat.h:89
L1Analysis::L1AnalysisRCTDataFormat::RegGPhi
std::vector< float > RegGPhi
Definition:
L1AnalysisRCTDataFormat.h:75
L1Analysis::L1AnalysisRCTDataFormat::RegGEta
std::vector< float > RegGEta
Definition:
L1AnalysisRCTDataFormat.h:74
L1Analysis::L1AnalysisRCTDataFormat::InitEmRCT
void InitEmRCT()
Definition:
L1AnalysisRCTDataFormat.h:57
L1Analysis::L1AnalysisRCTDataFormat::InitHdRCT
void InitHdRCT()
Definition:
L1AnalysisRCTDataFormat.h:42
L1Analysis::L1AnalysisRCTDataFormat::RegVeto
std::vector< int > RegVeto
Definition:
L1AnalysisRCTDataFormat.h:77
L1Analysis::L1AnalysisRCTDataFormat::EmSize
int EmSize
Definition:
L1AnalysisRCTDataFormat.h:83
L1Analysis::L1AnalysisRCTDataFormat::RegBx
std::vector< int > RegBx
Definition:
L1AnalysisRCTDataFormat.h:78
L1Analysis::L1AnalysisRCTDataFormat::L1AnalysisRCTDataFormat
L1AnalysisRCTDataFormat()
Definition:
L1AnalysisRCTDataFormat.h:16
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:12
L1Analysis::L1AnalysisRCTDataFormat::IsIsoEm
std::vector< int > IsIsoEm
Definition:
L1AnalysisRCTDataFormat.h:85
L1Analysis::L1AnalysisRCTDataFormat::EmRnk
std::vector< float > EmRnk
Definition:
L1AnalysisRCTDataFormat.h:88
L1Analysis::L1AnalysisRCTDataFormat::~L1AnalysisRCTDataFormat
~L1AnalysisRCTDataFormat()
Definition:
L1AnalysisRCTDataFormat.h:17
L1Analysis::L1AnalysisRCTDataFormat::Reset
void Reset()
Definition:
L1AnalysisRCTDataFormat.h:19
L1Analysis::L1AnalysisRCTDataFormat
Definition:
L1AnalysisRCTDataFormat.h:14
L1Analysis::L1AnalysisRCTDataFormat::RegEta
std::vector< float > RegEta
Definition:
L1AnalysisRCTDataFormat.h:72
Generated for CMSSW Reference Manual by
1.8.14