ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisGTDataFormat.h
Revision: 1.1
Committed: Thu Jun 17 20:34:32 2010 UTC (14 years, 10 months ago) by econte
Content type: text/plain
Branch: MAIN
CVS Tags: L1TriggerAnalysis_3_6_1patch4
Log Message:
*** empty log message ***

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     }
56    
57     // ---- L1AnalysisGTDataFormat information.
58    
59     std::vector<ULong64_t> tw1;
60     std::vector<ULong64_t> tw2;
61     std::vector<ULong64_t> tt;
62     unsigned long partrig_tcs;
63     unsigned long gpsTimehi;
64     unsigned long gpsTimelo;
65     unsigned long bstMasterStatus;
66     unsigned long bstturnCountNumber;
67     unsigned long bstlhcFillNumber;
68     unsigned long bstbeamMode;
69     unsigned long bstparticleTypeBeam1;
70     unsigned long bstparticleTypeBeam2;
71     unsigned long bstbeamMomentum;
72     unsigned long bsttotalIntensityBeam1;
73     unsigned long bsttotalIntensityBeam2;
74    
75     //PSB info
76     int Nele;
77     std::vector<int> Bxel;
78     std::vector<float> Rankel;
79     std::vector<float> Phiel;
80     std::vector<float> Etael;
81     std::vector<bool> Isoel;
82    
83     int Njet;
84     std::vector<int> Bxjet;
85     std::vector<float> Rankjet;
86     std::vector<float> Phijet;
87     std::vector<float> Etajet;
88     std::vector<bool> Taujet;
89     std::vector<bool> Fwdjet;
90    
91     };
92     }
93     #endif
94    
95