ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisGTDataFormat.h
Revision: 1.2
Committed: Thu Dec 2 12:01:07 2010 UTC (14 years, 5 months ago) by jbrooke
Content type: text/plain
Branch: MAIN
CVS Tags: V01-01-00, jimb4Jan2013, V01-00-00, hi44X_02, L1CorrectionsStudy_13_09_11, CMSSW_4_2_3_patch2, HEAD
Changes since 1.1: +30 -1 lines
Log Message:
add energy sums, from emmanuelle

File Contents

# User Rev Content
1 econte 1.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 : UserCode/L1TriggerDPG/L1NtupleProducer
9     //-------------------------------------------------------------------------------
10     #include <vector>
11     // #include <inttypes.h>
12     #include <TROOT.h>
13    
14     namespace L1Analysis
15     {
16     struct L1AnalysisGTDataFormat
17     {
18     L1AnalysisGTDataFormat(){Reset();};
19     ~L1AnalysisGTDataFormat(){};
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;
31     bstturnCountNumber=0;
32     bstlhcFillNumber=0;
33     bstbeamMode=0;
34     bstparticleTypeBeam1=0;
35     bstparticleTypeBeam2=0;
36     bstbeamMomentum=0;
37     bsttotalIntensityBeam1=0;
38     bsttotalIntensityBeam2=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 jbrooke 1.2
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 econte 1.1 }
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 jbrooke 1.2
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 econte 1.1 };
121     }
122     #endif
123    
124