ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisL1ExtraDataFormat.h
Revision: 1.3
Committed: Mon Oct 29 10:19:45 2012 UTC (12 years, 6 months ago) by gflouris
Content type: text/plain
Branch: MAIN
CVS Tags: V01-01-00, jimb4Jan2013, HEAD
Changes since 1.2: +2 -0 lines
Log Message:
Muon quality to L1ExtraTree

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 gflouris 1.3 muonQuality.clear();
64 econte 1.1
65 jbrooke 1.2 nMet = 0;
66     et.clear();
67     met.clear();
68     metPhi.clear();
69     metBx.clear();
70    
71     nMht = 0;
72     ht.clear();
73     mht.clear();
74     mhtPhi.clear();
75     mhtBx.clear();
76    
77 econte 1.1 hfEtSum.clear();
78     hfBitCnt.clear();
79     hfBx.clear();
80    
81     }
82    
83     unsigned int nIsoEm;
84     std::vector<double> isoEmEt;
85     std::vector<double> isoEmEta;
86     std::vector<double> isoEmPhi;
87     std::vector<int> isoEmBx;
88    
89     unsigned int nNonIsoEm;
90     std::vector<double> nonIsoEmEt;
91     std::vector<double> nonIsoEmEta;
92     std::vector<double> nonIsoEmPhi;
93     std::vector<int> nonIsoEmBx;
94    
95     unsigned int nCenJets;
96     std::vector<double> cenJetEt;
97     std::vector<double> cenJetEta;
98     std::vector<double> cenJetPhi;
99     std::vector<int> cenJetBx;
100    
101     unsigned int nFwdJets;
102     std::vector<double> fwdJetEt;
103     std::vector<double> fwdJetEta;
104     std::vector<double> fwdJetPhi;
105     std::vector<int> fwdJetBx;
106    
107     unsigned int nTauJets;
108     std::vector<double> tauJetEt;
109     std::vector<double> tauJetEta;
110     std::vector<double> tauJetPhi;
111     std::vector<int> tauJetBx;
112    
113     unsigned int nMuons;
114     std::vector<double> muonEt;
115     std::vector<double> muonEta;
116     std::vector<double> muonPhi;
117     std::vector<int> muonChg;
118     std::vector<unsigned int> muonIso;
119     std::vector<unsigned int> muonFwd;
120     std::vector<unsigned int> muonMip;
121     std::vector<unsigned int> muonRPC;
122     std::vector<int> muonBx;
123 gflouris 1.3 std::vector<int> muonQuality;
124 econte 1.1
125     std::vector<double> hfEtSum;
126     std::vector<unsigned int> hfBitCnt;
127     std::vector<int> hfBx;
128    
129 jbrooke 1.2 unsigned int nMet;
130     std::vector<double> et;
131     std::vector<double> met;
132     std::vector<double> metPhi;
133     std::vector<double> metBx;
134    
135     unsigned int nMht;
136     std::vector<double> ht;
137     std::vector<double> mht;
138     std::vector<double> mhtPhi;
139     std::vector<double> mhtBx;
140    
141 econte 1.1 };
142     }
143     #endif
144    
145