test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1AnalysisL1UpgradeDataFormat.h
Go to the documentation of this file.
1 #ifndef __L1Analysis_L1AnalysisL1UpgradeDataFormat_H__
2 #define __L1Analysis_L1AnalysisL1UpgradeDataFormat_H__
3 
4 //-------------------------------------------------------------------------------
5 // Created 20/04/2010 - E. Conte, A.C. Le Bihan
6 //
7 //
8 // Original code : L1TriggerDPG/L1Ntuples/L1UpgradeTreeProducer - Jim Brooke
9 //-------------------------------------------------------------------------------
10 
11 
12 #include <vector>
13 
14 namespace L1Analysis
15 {
16 
17  // copied from DataFormats/L1Trigger/interface/EtSum.h, for use in standalone ROOT macros which use this class.
18  enum EtSumType {
27  };
28 
30  {
31 
34 
35  void Reset()
36  {
37  nEGs = 0;
38  egEt.clear();
39  egEta.clear();
40  egPhi.clear();
41  egIEt.clear();
42  egIEta.clear();
43  egIPhi.clear();
44  egIso.clear();
45  egBx.clear();
46  egTowerIPhi.clear();
47  egTowerIEta.clear();
48  egRawEt.clear();
49  egIsoEt.clear();
50  egFootprintEt.clear();
51  egNTT.clear();
52  egShape.clear();
53 
54  nTaus = 0;
55  tauEt.clear();
56  tauEta.clear();
57  tauPhi.clear();
58  tauIEt.clear();
59  tauIEta.clear();
60  tauIPhi.clear();
61  tauIso.clear();
62  tauBx.clear();
63  tauTowerIPhi.clear();
64  tauTowerIEta.clear();
65  tauRawEt.clear();
66  tauIsoEt.clear();
67  tauNTT.clear();
68  tauHasEM.clear();
69  tauIsMerged.clear();
70  tauHwQual.clear();
71 
72  nJets = 0;
73  jetEt.clear();
74  jetEta.clear();
75  jetPhi.clear();
76  jetIEt.clear();
77  jetIEta.clear();
78  jetIPhi.clear();
79  jetBx.clear();
80  jetTowerIPhi.clear();
81  jetTowerIEta.clear();
82  jetRawEt.clear();
83  jetSeedEt.clear();
84  jetPUEt.clear();
85  jetPUDonutEt0.clear();
86  jetPUDonutEt1.clear();
87  jetPUDonutEt2.clear();
88  jetPUDonutEt3.clear();
89 
90  nMuons = 0;
91  muonEt.clear();
92  muonEta.clear();
93  muonPhi.clear();
94  muonIEt.clear();
95  muonIEta.clear();
96  muonIPhi.clear();
97  muonChg.clear();
98  muonIso.clear();
99  muonQual.clear();
100  muonTfMuonIdx.clear();
101  muonBx.clear();
102 
103  nSums = 0;
104  sumType.clear();
105  sumEt.clear();
106  sumPhi.clear();
107  sumIEt.clear();
108  sumIPhi.clear();
109  sumBx.clear();
110 
111  }
112 
113  unsigned short int nEGs;
114  std::vector<float> egEt;
115  std::vector<float> egEta;
116  std::vector<float> egPhi;
117  std::vector<short int> egIEt;
118  std::vector<short int> egIEta;
119  std::vector<short int> egIPhi;
120  std::vector<short int> egIso;
121  std::vector<short int> egBx;
122  std::vector<short int> egTowerIPhi;
123  std::vector<short int> egTowerIEta;
124  std::vector<short int> egRawEt;
125  std::vector<short int> egIsoEt;
126  std::vector<short int> egFootprintEt;
127  std::vector<short int> egNTT;
128  std::vector<short int> egShape;
129 
130  unsigned short int nTaus;
131  std::vector<float> tauEt;
132  std::vector<float> tauEta;
133  std::vector<float> tauPhi;
134  std::vector<short int> tauIEt;
135  std::vector<short int> tauIEta;
136  std::vector<short int> tauIPhi;
137  std::vector<short int> tauIso;
138  std::vector<short int> tauBx;
139  std::vector<short int> tauTowerIPhi;
140  std::vector<short int> tauTowerIEta;
141  std::vector<short int> tauRawEt;
142  std::vector<short int> tauIsoEt;
143  std::vector<short int> tauNTT;
144  std::vector<short int> tauHasEM;
145  std::vector<short int> tauIsMerged;
146  std::vector<short int> tauHwQual;
147 
148  unsigned short int nJets;
149  std::vector<float> jetEt;
150  std::vector<float> jetEta;
151  std::vector<float> jetPhi;
152  std::vector<short int> jetIEt;
153  std::vector<short int> jetIEta;
154  std::vector<short int> jetIPhi;
155  std::vector<short int> jetBx;
156  std::vector<short int> jetTowerIPhi;
157  std::vector<short int> jetTowerIEta;
158  std::vector<short int> jetRawEt;
159  std::vector<short int> jetSeedEt;
160  std::vector<short int> jetPUEt;
161  std::vector<short int> jetPUDonutEt0;
162  std::vector<short int> jetPUDonutEt1;
163  std::vector<short int> jetPUDonutEt2;
164  std::vector<short int> jetPUDonutEt3;
165 
166  unsigned short int nMuons;
167  std::vector<float> muonEt;
168  std::vector<float> muonEta;
169  std::vector<float> muonPhi;
170  std::vector<short int> muonIEt;
171  std::vector<short int> muonIEta;
172  std::vector<short int> muonIPhi;
173  std::vector<short int> muonChg;
174  std::vector<unsigned short int> muonIso;
175  std::vector<unsigned short int> muonQual;
176  std::vector<unsigned short int> muonTfMuonIdx;
177  std::vector<short int> muonBx;
178 
179 
180  unsigned short int nSums;
181  std::vector<short int> sumType;
182  std::vector<float> sumEt;
183  std::vector<float> sumPhi;
184  std::vector<short int> sumIEt;
185  std::vector<short int> sumIPhi;
186  std::vector<float> sumBx;
187 
188  };
189 }
190 #endif
191 
192