CMS 3D CMS Logo

L1AnalysisGTDataFormat.h
Go to the documentation of this file.
1 #ifndef __L1Analysis_L1AnalysisGTDataFormat_H__
2 #define __L1Analysis_L1AnalysisGTDataFormat_H__
3 
4 //-------------------------------------------------------------------------------
5 // Created 15/04/2010 - E. Conte, A.C. Le Bihan
6 //
7 //
8 // Original code : L1Trigger/L1TNtuples/L1NtupleProducer
9 //-------------------------------------------------------------------------------
10 #include <vector>
11 // #include <inttypes.h>
12 #include <TROOT.h>
13 
14 namespace L1Analysis {
18 
19  void Reset() {
20  tw1.clear();
21  tw2.clear();
22  tt.clear();
23 
24  partrig_tcs = 0;
25  gpsTimehi = 0;
26  gpsTimelo = 0;
27  bstMasterStatus = 0;
29  bstlhcFillNumber = 0;
30  bstbeamMode = 0;
33  bstbeamMomentum = 0;
36 
37  //PSB info
38  Nele = 0;
39  Bxel.clear();
40  Rankel.clear();
41  Phiel.clear();
42  Etael.clear();
43  Isoel.clear();
44 
45  Njet = 0;
46  Bxjet.clear();
47  Rankjet.clear();
48  Phijet.clear();
49  Etajet.clear();
50  Taujet.clear();
51  Fwdjet.clear();
52 
53  // ------ ETT, ETM, HTT and HTM from PSB14:
54 
55  RankETT = -1;
56  OvETT = false;
57  RankHTT = -1;
58  OvHTT = false;
59  RankETM = -1;
60  PhiETM = -1;
61  OvETM = false;
62  RankHTM = -1;
63  PhiHTM = -1;
64  OvHTM = false;
65  }
66 
67  // ---- L1AnalysisGTDataFormat information.
68 
69  std::vector<ULong64_t> tw1;
70  std::vector<ULong64_t> tw2;
71  std::vector<ULong64_t> tt;
72  unsigned long partrig_tcs;
73  unsigned long gpsTimehi;
74  unsigned long gpsTimelo;
75  unsigned long bstMasterStatus;
76  unsigned long bstturnCountNumber;
77  unsigned long bstlhcFillNumber;
78  unsigned long bstbeamMode;
79  unsigned long bstparticleTypeBeam1;
80  unsigned long bstparticleTypeBeam2;
81  unsigned long bstbeamMomentum;
82  unsigned long bsttotalIntensityBeam1;
83  unsigned long bsttotalIntensityBeam2;
84 
85  //PSB info
86  int Nele;
87  std::vector<int> Bxel;
88  std::vector<float> Rankel;
89  std::vector<float> Phiel;
90  std::vector<float> Etael;
91  std::vector<bool> Isoel;
92 
93  int Njet;
94  std::vector<int> Bxjet;
95  std::vector<float> Rankjet;
96  std::vector<float> Phijet;
97  std::vector<float> Etajet;
98  std::vector<bool> Taujet;
99  std::vector<bool> Fwdjet;
100 
101  // ------ ETT, ETM, HTT and HTM from PSB14:
102 
103  int RankETT;
104  bool OvETT;
105 
106  int RankHTT;
107  bool OvHTT;
108 
109  int RankETM;
110  int PhiETM;
111  bool OvETM;
112 
113  int RankHTM;
114  int PhiHTM;
115  bool OvHTM;
116  };
117 } // namespace L1Analysis
118 #endif