test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
15 {
17  {
20 
21  void Reset()
22  {
23  tw1.clear();
24  tw2.clear();
25  tt.clear();
26 
27  partrig_tcs=0;
28  gpsTimehi=0;
29  gpsTimelo=0;
30  bstMasterStatus=0;
33  bstbeamMode=0;
36  bstbeamMomentum=0;
39 
40  //PSB info
41  Nele = 0;
42  Bxel.clear();
43  Rankel.clear();
44  Phiel.clear();
45  Etael.clear();
46  Isoel.clear();
47 
48  Njet = 0;
49  Bxjet.clear();
50  Rankjet.clear();
51  Phijet.clear();
52  Etajet.clear();
53  Taujet.clear();
54  Fwdjet.clear();
55 
56 // ------ ETT, ETM, HTT and HTM from PSB14:
57 
58  RankETT = -1;
59  OvETT = false;
60  RankHTT = -1;
61  OvHTT = false;
62  RankETM = -1;
63  PhiETM = -1;
64  OvETM = false;
65  RankHTM = -1;
66  PhiHTM = -1;
67  OvHTM = false;
68  }
69 
70  // ---- L1AnalysisGTDataFormat information.
71 
72  std::vector<ULong64_t> tw1;
73  std::vector<ULong64_t> tw2;
74  std::vector<ULong64_t> tt;
75  unsigned long partrig_tcs;
76  unsigned long gpsTimehi;
77  unsigned long gpsTimelo;
78  unsigned long bstMasterStatus;
79  unsigned long bstturnCountNumber;
80  unsigned long bstlhcFillNumber;
81  unsigned long bstbeamMode;
82  unsigned long bstparticleTypeBeam1;
83  unsigned long bstparticleTypeBeam2;
84  unsigned long bstbeamMomentum;
85  unsigned long bsttotalIntensityBeam1;
86  unsigned long bsttotalIntensityBeam2;
87 
88  //PSB info
89  int Nele;
90  std::vector<int> Bxel;
91  std::vector<float> Rankel;
92  std::vector<float> Phiel;
93  std::vector<float> Etael;
94  std::vector<bool> Isoel;
95 
96  int Njet;
97  std::vector<int> Bxjet;
98  std::vector<float> Rankjet;
99  std::vector<float> Phijet;
100  std::vector<float> Etajet;
101  std::vector<bool> Taujet;
102  std::vector<bool> Fwdjet;
103 
104 // ------ ETT, ETM, HTT and HTM from PSB14:
105 
106  int RankETT;
107  bool OvETT;
108 
109  int RankHTT;
110  bool OvHTT;
111 
112  int RankETM;
113  int PhiETM;
114  bool OvETM;
115 
116  int RankHTM;
117  int PhiHTM;
118  bool OvHTM;
119 
120  };
121 }
122 #endif
123 
124