CMS 3D CMS Logo

L1AnalysisCaloTPDataFormat.h
Go to the documentation of this file.
1 #ifndef __L1Analysis_L1AnalysisCaloTPDataFormat_H__
2 #define __L1Analysis_L1AnalysisCaloTPDataFormat_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 {
17 
18  void Reset() {
19  nHCALTP = 0;
20  hcalTPieta.clear();
21  hcalTPiphi.clear();
22  hcalTPCaliphi.clear();
23  hcalTPet.clear();
24  hcalTPcompEt.clear();
25  hcalTPfineGrain.clear();
26  nECALTP = 0;
27  ecalTPieta.clear();
28  ecalTPiphi.clear();
29  ecalTPCaliphi.clear();
30  ecalTPet.clear();
31  ecalTPcompEt.clear();
32  ecalTPfineGrain.clear();
33  }
34 
35  void Init() {}
36 
37  short nHCALTP;
38  std::vector<short> hcalTPieta;
39  std::vector<short> hcalTPiphi;
40  std::vector<short> hcalTPCaliphi;
41  std::vector<float> hcalTPet;
42  std::vector<short> hcalTPcompEt;
43  std::vector<short> hcalTPfineGrain;
44 
45  short nECALTP;
46  std::vector<short> ecalTPieta;
47  std::vector<short> ecalTPiphi;
48  std::vector<short> ecalTPCaliphi;
49  std::vector<float> ecalTPet;
50  std::vector<short> ecalTPcompEt;
51  std::vector<short> ecalTPfineGrain;
52  };
53 } // namespace L1Analysis
54 #endif