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 
47  nTaus = 0;
48  tauEt.clear();
49  tauEta.clear();
50  tauPhi.clear();
51  tauIEt.clear();
52  tauIEta.clear();
53  tauIPhi.clear();
54  tauIso.clear();
55  tauBx.clear();
56 
57  nJets = 0;
58  jetEt.clear();
59  jetEta.clear();
60  jetPhi.clear();
61  jetIEt.clear();
62  jetIEta.clear();
63  jetIPhi.clear();
64  jetBx.clear();
65 
66  nMuons = 0;
67  muonEt.clear();
68  muonEta.clear();
69  muonPhi.clear();
70  muonIEt.clear();
71  muonIEta.clear();
72  muonIPhi.clear();
73  muonChg.clear();
74  muonIso.clear();
75  muonQual.clear();
76  muonTfMuonIdx.clear();
77  muonBx.clear();
78 
79  nSums = 0;
80  sumType.clear();
81  sumEt.clear();
82  sumPhi.clear();
83  sumIEt.clear();
84  sumIPhi.clear();
85  sumBx.clear();
86 
87  }
88 
89  unsigned short int nEGs;
90  std::vector<float> egEt;
91  std::vector<float> egEta;
92  std::vector<float> egPhi;
93  std::vector<short int> egIEt;
94  std::vector<short int> egIEta;
95  std::vector<short int> egIPhi;
96  std::vector<short int> egIso;
97  std::vector<short int> egBx;
98 
99  unsigned short int nTaus;
100  std::vector<float> tauEt;
101  std::vector<float> tauEta;
102  std::vector<float> tauPhi;
103  std::vector<short int> tauIEt;
104  std::vector<short int> tauIEta;
105  std::vector<short int> tauIPhi;
106  std::vector<short int> tauIso;
107  std::vector<short int> tauBx;
108 
109  unsigned short int nJets;
110  std::vector<float> jetEt;
111  std::vector<float> jetEta;
112  std::vector<float> jetPhi;
113  std::vector<short int> jetIEt;
114  std::vector<short int> jetIEta;
115  std::vector<short int> jetIPhi;
116  std::vector<short int> jetBx;
117 
118  unsigned short int nMuons;
119  std::vector<float> muonEt;
120  std::vector<float> muonEta;
121  std::vector<float> muonPhi;
122  std::vector<short int> muonIEt;
123  std::vector<short int> muonIEta;
124  std::vector<short int> muonIPhi;
125  std::vector<short int> muonChg;
126  std::vector<unsigned short int> muonIso;
127  std::vector<unsigned short int> muonQual;
128  std::vector<unsigned short int> muonTfMuonIdx;
129  std::vector<short int> muonBx;
130 
131 
132  unsigned short int nSums;
133  std::vector<short int> sumType;
134  std::vector<float> sumEt;
135  std::vector<float> sumPhi;
136  std::vector<short int> sumIEt;
137  std::vector<short int> sumIPhi;
138  std::vector<float> sumBx;
139 
140  };
141 }
142 #endif
143 
144