ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisL1ExtraDataFormat.h
Revision: 1.2
Committed: Tue Aug 7 21:19:44 2012 UTC (12 years, 8 months ago) by jbrooke
Content type: text/plain
Branch: MAIN
CVS Tags: V01-00-00
Changes since 1.1: +24 -15 lines
Log Message:
fixes for multi bx readout of energy sums

File Contents

# User Rev Content
1 econte 1.1 #ifndef __L1Analysis_L1AnalysisL1ExtraDataFormat_H__
2     #define __L1Analysis_L1AnalysisL1ExtraDataFormat_H__
3    
4     //-------------------------------------------------------------------------------
5     // Created 20/04/2010 - E. Conte, A.C. Le Bihan
6     //
7     //
8     // Original code : UserCode/L1TriggerDPG/L1ExtraTreeProducer - Jim Brooke
9     //-------------------------------------------------------------------------------
10    
11    
12     #include <vector>
13    
14     namespace L1Analysis
15     {
16     struct L1AnalysisL1ExtraDataFormat
17     {
18     L1AnalysisL1ExtraDataFormat(){Reset();};
19     ~L1AnalysisL1ExtraDataFormat(){};
20    
21     void Reset()
22     {
23     nIsoEm = 0;
24     isoEmEt.clear();
25     isoEmEta.clear();
26     isoEmPhi.clear();
27     isoEmBx.clear();
28    
29     nNonIsoEm = 0;
30     nonIsoEmEt.clear();
31     nonIsoEmEta.clear();
32     nonIsoEmPhi.clear();
33     nonIsoEmBx.clear();
34    
35     nCenJets = 0;
36     cenJetEt.clear();
37     cenJetEta.clear();
38     cenJetPhi.clear();
39     cenJetBx.clear();
40    
41     nFwdJets = 0;
42     fwdJetEt.clear();
43     fwdJetEta.clear();
44     fwdJetPhi.clear();
45     fwdJetBx.clear();
46    
47     nTauJets = 0;
48     tauJetEt.clear();
49     tauJetEta.clear();
50     tauJetPhi.clear();
51     tauJetBx.clear();
52    
53     nMuons = 0;
54     muonEt.clear();
55     muonEta.clear();
56     muonPhi.clear();
57     muonChg.clear();
58     muonIso.clear();
59     muonFwd.clear();
60     muonMip.clear();
61     muonRPC.clear();
62     muonBx.clear();
63    
64 jbrooke 1.2 nMet = 0;
65     et.clear();
66     met.clear();
67     metPhi.clear();
68     metBx.clear();
69    
70     nMht = 0;
71     ht.clear();
72     mht.clear();
73     mhtPhi.clear();
74     mhtBx.clear();
75    
76 econte 1.1 hfEtSum.clear();
77     hfBitCnt.clear();
78     hfBx.clear();
79    
80     }
81    
82     unsigned int nIsoEm;
83     std::vector<double> isoEmEt;
84     std::vector<double> isoEmEta;
85     std::vector<double> isoEmPhi;
86     std::vector<int> isoEmBx;
87    
88     unsigned int nNonIsoEm;
89     std::vector<double> nonIsoEmEt;
90     std::vector<double> nonIsoEmEta;
91     std::vector<double> nonIsoEmPhi;
92     std::vector<int> nonIsoEmBx;
93    
94     unsigned int nCenJets;
95     std::vector<double> cenJetEt;
96     std::vector<double> cenJetEta;
97     std::vector<double> cenJetPhi;
98     std::vector<int> cenJetBx;
99    
100     unsigned int nFwdJets;
101     std::vector<double> fwdJetEt;
102     std::vector<double> fwdJetEta;
103     std::vector<double> fwdJetPhi;
104     std::vector<int> fwdJetBx;
105    
106     unsigned int nTauJets;
107     std::vector<double> tauJetEt;
108     std::vector<double> tauJetEta;
109     std::vector<double> tauJetPhi;
110     std::vector<int> tauJetBx;
111    
112     unsigned int nMuons;
113     std::vector<double> muonEt;
114     std::vector<double> muonEta;
115     std::vector<double> muonPhi;
116     std::vector<int> muonChg;
117     std::vector<unsigned int> muonIso;
118     std::vector<unsigned int> muonFwd;
119     std::vector<unsigned int> muonMip;
120     std::vector<unsigned int> muonRPC;
121     std::vector<int> muonBx;
122    
123     std::vector<double> hfEtSum;
124     std::vector<unsigned int> hfBitCnt;
125     std::vector<int> hfBx;
126    
127 jbrooke 1.2 unsigned int nMet;
128     std::vector<double> et;
129     std::vector<double> met;
130     std::vector<double> metPhi;
131     std::vector<double> metBx;
132    
133     unsigned int nMht;
134     std::vector<double> ht;
135     std::vector<double> mht;
136     std::vector<double> mhtPhi;
137     std::vector<double> mhtBx;
138    
139 econte 1.1 };
140     }
141     #endif
142    
143