CMS 3D CMS Logo

L1AnalysisL1ExtraDataFormat.h
Go to the documentation of this file.
1 #ifndef __L1Analysis_L1AnalysisL1ExtraDataFormat_H__
2 #define __L1Analysis_L1AnalysisL1ExtraDataFormat_H__
3 
4 //-------------------------------------------------------------------------------
5 // Created 20/04/2010 - E. Conte, A.C. Le Bihan
6 //
7 //
8 // Original code : L1Trigger/L1TNtuples/L1ExtraTreeProducer - Jim Brooke
9 //-------------------------------------------------------------------------------
10 
11 #include <vector>
12 
13 namespace L1Analysis {
17 
18  void Reset() {
19  nIsoEm = 0;
20  isoEmEt.clear();
21  isoEmEta.clear();
22  isoEmPhi.clear();
23  isoEmBx.clear();
24 
25  nNonIsoEm = 0;
26  nonIsoEmEt.clear();
27  nonIsoEmEta.clear();
28  nonIsoEmPhi.clear();
29  nonIsoEmBx.clear();
30 
31  nCenJets = 0;
32  cenJetEt.clear();
33  cenJetEta.clear();
34  cenJetPhi.clear();
35  cenJetBx.clear();
36 
37  nFwdJets = 0;
38  fwdJetEt.clear();
39  fwdJetEta.clear();
40  fwdJetPhi.clear();
41  fwdJetBx.clear();
42 
43  nTauJets = 0;
44  tauJetEt.clear();
45  tauJetEta.clear();
46  tauJetPhi.clear();
47  tauJetBx.clear();
48 
49  nIsoTauJets = 0;
50  isoTauJetEt.clear();
51  isoTauJetEta.clear();
52  isoTauJetPhi.clear();
53  isoTauJetBx.clear();
54 
55  nMuons = 0;
56  muonEt.clear();
57  muonEta.clear();
58  muonPhi.clear();
59  muonChg.clear();
60  muonIso.clear();
61  muonFwd.clear();
62  muonMip.clear();
63  muonRPC.clear();
64  muonBx.clear();
65  muonQuality.clear();
66 
67  nMet = 0;
68  et.clear();
69  met.clear();
70  metPhi.clear();
71  metBx.clear();
72 
73  nMht = 0;
74  ht.clear();
75  mht.clear();
76  mhtPhi.clear();
77  mhtBx.clear();
78 
79  hfEtSum.clear();
80  hfBitCnt.clear();
81  hfBx.clear();
82  }
83 
84  unsigned short nIsoEm;
85  std::vector<float> isoEmEt;
86  std::vector<float> isoEmEta;
87  std::vector<float> isoEmPhi;
88  std::vector<int> isoEmBx;
89 
90  unsigned short nNonIsoEm;
91  std::vector<float> nonIsoEmEt;
92  std::vector<float> nonIsoEmEta;
93  std::vector<float> nonIsoEmPhi;
94  std::vector<int> nonIsoEmBx;
95 
96  unsigned short nCenJets;
97  std::vector<float> cenJetEt;
98  std::vector<float> cenJetEta;
99  std::vector<float> cenJetPhi;
100  std::vector<int> cenJetBx;
101 
102  unsigned short nFwdJets;
103  std::vector<float> fwdJetEt;
104  std::vector<float> fwdJetEta;
105  std::vector<float> fwdJetPhi;
106  std::vector<int> fwdJetBx;
107 
108  unsigned short nTauJets;
109  std::vector<float> tauJetEt;
110  std::vector<float> tauJetEta;
111  std::vector<float> tauJetPhi;
112  std::vector<int> tauJetBx;
113 
114  unsigned short nIsoTauJets;
115  std::vector<float> isoTauJetEt;
116  std::vector<float> isoTauJetEta;
117  std::vector<float> isoTauJetPhi;
118  std::vector<int> isoTauJetBx;
119 
120  unsigned short nMuons;
121  std::vector<float> muonEt;
122  std::vector<float> muonEta;
123  std::vector<float> muonPhi;
124  std::vector<int> muonChg;
125  std::vector<unsigned short> muonIso;
126  std::vector<unsigned short> muonFwd;
127  std::vector<unsigned short> muonMip;
128  std::vector<unsigned short> muonRPC;
129  std::vector<int> muonBx;
130  std::vector<int> muonQuality;
131 
132  std::vector<float> hfEtSum;
133  std::vector<unsigned short> hfBitCnt;
134  std::vector<int> hfBx;
135 
136  unsigned short nMet;
137  std::vector<float> et;
138  std::vector<float> met;
139  std::vector<float> metPhi;
140  std::vector<float> metBx;
141 
142  unsigned short nMht;
143  std::vector<float> ht;
144  std::vector<float> mht;
145  std::vector<float> mhtPhi;
146  std::vector<float> mhtBx;
147  };
148 } // namespace L1Analysis
149 #endif
L1Analysis::L1AnalysisL1ExtraDataFormat::fwdJetBx
std::vector< int > fwdJetBx
Definition: L1AnalysisL1ExtraDataFormat.h:106
L1Analysis::L1AnalysisL1ExtraDataFormat::mhtBx
std::vector< float > mhtBx
Definition: L1AnalysisL1ExtraDataFormat.h:146
L1Analysis::L1AnalysisL1ExtraDataFormat::tauJetEt
std::vector< float > tauJetEt
Definition: L1AnalysisL1ExtraDataFormat.h:109
L1Analysis::L1AnalysisL1ExtraDataFormat::isoTauJetEt
std::vector< float > isoTauJetEt
Definition: L1AnalysisL1ExtraDataFormat.h:115
L1Analysis::L1AnalysisL1ExtraDataFormat::mhtPhi
std::vector< float > mhtPhi
Definition: L1AnalysisL1ExtraDataFormat.h:145
L1Analysis::L1AnalysisL1ExtraDataFormat::mht
std::vector< float > mht
Definition: L1AnalysisL1ExtraDataFormat.h:144
L1Analysis::L1AnalysisL1ExtraDataFormat::cenJetEta
std::vector< float > cenJetEta
Definition: L1AnalysisL1ExtraDataFormat.h:98
L1Analysis::L1AnalysisL1ExtraDataFormat::nIsoTauJets
unsigned short nIsoTauJets
Definition: L1AnalysisL1ExtraDataFormat.h:114
L1Analysis::L1AnalysisL1ExtraDataFormat::muonBx
std::vector< int > muonBx
Definition: L1AnalysisL1ExtraDataFormat.h:129
L1Analysis::L1AnalysisL1ExtraDataFormat::fwdJetPhi
std::vector< float > fwdJetPhi
Definition: L1AnalysisL1ExtraDataFormat.h:105
L1Analysis::L1AnalysisL1ExtraDataFormat::metBx
std::vector< float > metBx
Definition: L1AnalysisL1ExtraDataFormat.h:140
L1Analysis::L1AnalysisL1ExtraDataFormat::nMht
unsigned short nMht
Definition: L1AnalysisL1ExtraDataFormat.h:142
L1Analysis::L1AnalysisL1ExtraDataFormat::hfBitCnt
std::vector< unsigned short > hfBitCnt
Definition: L1AnalysisL1ExtraDataFormat.h:133
L1Analysis::L1AnalysisL1ExtraDataFormat::tauJetEta
std::vector< float > tauJetEta
Definition: L1AnalysisL1ExtraDataFormat.h:110
L1Analysis::L1AnalysisL1ExtraDataFormat::muonMip
std::vector< unsigned short > muonMip
Definition: L1AnalysisL1ExtraDataFormat.h:127
L1Analysis::L1AnalysisL1ExtraDataFormat::ht
std::vector< float > ht
Definition: L1AnalysisL1ExtraDataFormat.h:143
L1Analysis::L1AnalysisL1ExtraDataFormat::metPhi
std::vector< float > metPhi
Definition: L1AnalysisL1ExtraDataFormat.h:139
L1Analysis::L1AnalysisL1ExtraDataFormat::cenJetBx
std::vector< int > cenJetBx
Definition: L1AnalysisL1ExtraDataFormat.h:100
L1Analysis::L1AnalysisL1ExtraDataFormat
Definition: L1AnalysisL1ExtraDataFormat.h:14
L1Analysis::L1AnalysisL1ExtraDataFormat::tauJetBx
std::vector< int > tauJetBx
Definition: L1AnalysisL1ExtraDataFormat.h:112
L1Analysis::L1AnalysisL1ExtraDataFormat::isoTauJetBx
std::vector< int > isoTauJetBx
Definition: L1AnalysisL1ExtraDataFormat.h:118
L1Analysis::L1AnalysisL1ExtraDataFormat::nonIsoEmPhi
std::vector< float > nonIsoEmPhi
Definition: L1AnalysisL1ExtraDataFormat.h:93
L1Analysis::L1AnalysisL1ExtraDataFormat::muonQuality
std::vector< int > muonQuality
Definition: L1AnalysisL1ExtraDataFormat.h:130
L1Analysis::L1AnalysisL1ExtraDataFormat::nFwdJets
unsigned short nFwdJets
Definition: L1AnalysisL1ExtraDataFormat.h:102
L1Analysis::L1AnalysisL1ExtraDataFormat::nCenJets
unsigned short nCenJets
Definition: L1AnalysisL1ExtraDataFormat.h:96
L1Analysis::L1AnalysisL1ExtraDataFormat::muonFwd
std::vector< unsigned short > muonFwd
Definition: L1AnalysisL1ExtraDataFormat.h:126
L1Analysis::L1AnalysisL1ExtraDataFormat::~L1AnalysisL1ExtraDataFormat
~L1AnalysisL1ExtraDataFormat()
Definition: L1AnalysisL1ExtraDataFormat.h:16
L1Analysis::L1AnalysisL1ExtraDataFormat::nNonIsoEm
unsigned short nNonIsoEm
Definition: L1AnalysisL1ExtraDataFormat.h:90
L1Analysis::L1AnalysisL1ExtraDataFormat::muonRPC
std::vector< unsigned short > muonRPC
Definition: L1AnalysisL1ExtraDataFormat.h:128
L1Analysis::L1AnalysisL1ExtraDataFormat::nMuons
unsigned short nMuons
Definition: L1AnalysisL1ExtraDataFormat.h:120
L1Analysis
Definition: L1AnalysisBMTFInputs.h:18
L1Analysis::L1AnalysisL1ExtraDataFormat::nonIsoEmEt
std::vector< float > nonIsoEmEt
Definition: L1AnalysisL1ExtraDataFormat.h:91
L1Analysis::L1AnalysisL1ExtraDataFormat::isoTauJetEta
std::vector< float > isoTauJetEta
Definition: L1AnalysisL1ExtraDataFormat.h:116
L1Analysis::L1AnalysisL1ExtraDataFormat::fwdJetEt
std::vector< float > fwdJetEt
Definition: L1AnalysisL1ExtraDataFormat.h:103
L1Analysis::L1AnalysisL1ExtraDataFormat::muonEt
std::vector< float > muonEt
Definition: L1AnalysisL1ExtraDataFormat.h:121
L1Analysis::L1AnalysisL1ExtraDataFormat::hfEtSum
std::vector< float > hfEtSum
Definition: L1AnalysisL1ExtraDataFormat.h:132
L1Analysis::L1AnalysisL1ExtraDataFormat::nonIsoEmEta
std::vector< float > nonIsoEmEta
Definition: L1AnalysisL1ExtraDataFormat.h:92
L1Analysis::L1AnalysisL1ExtraDataFormat::cenJetEt
std::vector< float > cenJetEt
Definition: L1AnalysisL1ExtraDataFormat.h:97
L1Analysis::L1AnalysisL1ExtraDataFormat::isoEmEt
std::vector< float > isoEmEt
Definition: L1AnalysisL1ExtraDataFormat.h:85
L1Analysis::L1AnalysisL1ExtraDataFormat::muonIso
std::vector< unsigned short > muonIso
Definition: L1AnalysisL1ExtraDataFormat.h:125
L1Analysis::L1AnalysisL1ExtraDataFormat::muonEta
std::vector< float > muonEta
Definition: L1AnalysisL1ExtraDataFormat.h:122
L1Analysis::L1AnalysisL1ExtraDataFormat::isoEmBx
std::vector< int > isoEmBx
Definition: L1AnalysisL1ExtraDataFormat.h:88
L1Analysis::L1AnalysisL1ExtraDataFormat::muonChg
std::vector< int > muonChg
Definition: L1AnalysisL1ExtraDataFormat.h:124
L1Analysis::L1AnalysisL1ExtraDataFormat::Reset
void Reset()
Definition: L1AnalysisL1ExtraDataFormat.h:18
L1Analysis::L1AnalysisL1ExtraDataFormat::muonPhi
std::vector< float > muonPhi
Definition: L1AnalysisL1ExtraDataFormat.h:123
L1Analysis::L1AnalysisL1ExtraDataFormat::nMet
unsigned short nMet
Definition: L1AnalysisL1ExtraDataFormat.h:136
L1Analysis::L1AnalysisL1ExtraDataFormat::tauJetPhi
std::vector< float > tauJetPhi
Definition: L1AnalysisL1ExtraDataFormat.h:111
L1Analysis::L1AnalysisL1ExtraDataFormat::fwdJetEta
std::vector< float > fwdJetEta
Definition: L1AnalysisL1ExtraDataFormat.h:104
L1Analysis::L1AnalysisL1ExtraDataFormat::hfBx
std::vector< int > hfBx
Definition: L1AnalysisL1ExtraDataFormat.h:134
L1Analysis::L1AnalysisL1ExtraDataFormat::isoEmEta
std::vector< float > isoEmEta
Definition: L1AnalysisL1ExtraDataFormat.h:86
L1Analysis::L1AnalysisL1ExtraDataFormat::cenJetPhi
std::vector< float > cenJetPhi
Definition: L1AnalysisL1ExtraDataFormat.h:99
L1Analysis::L1AnalysisL1ExtraDataFormat::isoEmPhi
std::vector< float > isoEmPhi
Definition: L1AnalysisL1ExtraDataFormat.h:87
L1Analysis::L1AnalysisL1ExtraDataFormat::L1AnalysisL1ExtraDataFormat
L1AnalysisL1ExtraDataFormat()
Definition: L1AnalysisL1ExtraDataFormat.h:15
L1Analysis::L1AnalysisL1ExtraDataFormat::met
std::vector< float > met
Definition: L1AnalysisL1ExtraDataFormat.h:138
L1Analysis::L1AnalysisL1ExtraDataFormat::nTauJets
unsigned short nTauJets
Definition: L1AnalysisL1ExtraDataFormat.h:108
L1Analysis::L1AnalysisL1ExtraDataFormat::nonIsoEmBx
std::vector< int > nonIsoEmBx
Definition: L1AnalysisL1ExtraDataFormat.h:94
L1Analysis::L1AnalysisL1ExtraDataFormat::et
std::vector< float > et
Definition: L1AnalysisL1ExtraDataFormat.h:137
L1Analysis::L1AnalysisL1ExtraDataFormat::nIsoEm
unsigned short nIsoEm
Definition: L1AnalysisL1ExtraDataFormat.h:84
L1Analysis::L1AnalysisL1ExtraDataFormat::isoTauJetPhi
std::vector< float > isoTauJetPhi
Definition: L1AnalysisL1ExtraDataFormat.h:117