ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisL1Extra.h
Revision: 1.3
Committed: Thu May 6 11:57:28 2010 UTC (15 years ago) by alebihan
Content type: text/plain
Branch: MAIN
Branch point for: oldformat_06072010
Changes since 1.2: +9 -2 lines
Log Message:
Additional BXs of data - L1Extra GCT

File Contents

# User Rev Content
1 econte 1.1 #ifndef __L1Analysis_L1AnalysisL1Extra_H__
2     #define __L1Analysis_L1AnalysisL1Extra_H__
3    
4     //-------------------------------------------------------------------------------
5     // Created 02/03/2010 - A.C. Le Bihan
6     //
7     //
8     // Original code : UserCode/L1TriggerDPG/L1ExtraTreeProducer - Jim Brooke
9     //-------------------------------------------------------------------------------
10    
11    
12     #include <vector>
13    
14     #include "DataFormats/L1Trigger/interface/L1EmParticleFwd.h"
15     #include "DataFormats/L1Trigger/interface/L1EmParticle.h"
16     #include "DataFormats/L1Trigger/interface/L1JetParticleFwd.h"
17     #include "DataFormats/L1Trigger/interface/L1JetParticle.h"
18     #include "DataFormats/L1Trigger/interface/L1MuonParticleFwd.h"
19     #include "DataFormats/L1Trigger/interface/L1MuonParticle.h"
20     #include "DataFormats/L1Trigger/interface/L1EtMissParticleFwd.h"
21     #include "DataFormats/L1Trigger/interface/L1EtMissParticle.h"
22     #include "DataFormats/L1Trigger/interface/L1HFRingsFwd.h"
23     #include "DataFormats/L1Trigger/interface/L1HFRings.h"
24     #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
25    
26     namespace L1Analysis
27     {
28     class L1AnalysisL1Extra
29     {
30     public:
31     L1AnalysisL1Extra();
32     ~L1AnalysisL1Extra();
33    
34     void Reset();
35     void Print (std::ostream &os = std::cout) const;
36 alebihan 1.2 void SetIsoEm (const edm::Handle<l1extra::L1EmParticleCollection> isoEm, unsigned maxL1Extra);
37     void SetNonIsoEm(const edm::Handle<l1extra::L1EmParticleCollection> nonIsoEm, unsigned maxL1Extra);
38     void SetCenJet (const edm::Handle<l1extra::L1JetParticleCollection> cenJet, unsigned maxL1Extra);
39     void SetFwdJet (const edm::Handle<l1extra::L1JetParticleCollection> fwdJet, unsigned maxL1Extra);
40     void SetTauJet (const edm::Handle<l1extra::L1JetParticleCollection> tauJet, unsigned maxL1Extra);
41     void SetMuon (const edm::Handle<l1extra::L1MuonParticleCollection> muon, unsigned maxL1Extra);
42     void SetMet (const edm::Handle<l1extra::L1EtMissParticleCollection> mets);
43     void SetMht (const edm::Handle<l1extra::L1EtMissParticleCollection> mhts);
44     void SetHFring (const edm::Handle<l1extra::L1HFRingsCollection> hfRings);
45 econte 1.1
46    
47     unsigned nIsoEm;
48     std::vector<double> isoEmEt;
49     std::vector<double> isoEmEta;
50     std::vector<double> isoEmPhi;
51 alebihan 1.3 std::vector<int> isoEmBx;
52 econte 1.1
53     unsigned nNonIsoEm;
54     std::vector<double> nonIsoEmEt;
55     std::vector<double> nonIsoEmEta;
56     std::vector<double> nonIsoEmPhi;
57 alebihan 1.3 std::vector<int> nonIsoEmBx;
58 econte 1.1
59     unsigned nCenJets;
60     std::vector<double> cenJetEt;
61     std::vector<double> cenJetEta;
62     std::vector<double> cenJetPhi;
63 alebihan 1.3 std::vector<int> cenJetBx;
64 econte 1.1
65     unsigned nFwdJets;
66     std::vector<double> fwdJetEt;
67     std::vector<double> fwdJetEta;
68     std::vector<double> fwdJetPhi;
69 alebihan 1.3 std::vector<int> fwdJetBx;
70 econte 1.1
71     unsigned nTauJets;
72     std::vector<double> tauJetEt;
73     std::vector<double> tauJetEta;
74     std::vector<double> tauJetPhi;
75 alebihan 1.3 std::vector<int> tauJetBx;
76 econte 1.1
77     unsigned nMuons;
78     std::vector<double> muonEt;
79     std::vector<double> muonEta;
80     std::vector<double> muonPhi;
81     std::vector<int> muonChg;
82     std::vector<unsigned> muonIso;
83     std::vector<unsigned> muonFwd;
84     std::vector<unsigned> muonMip;
85     std::vector<unsigned> muonRPC;
86 alebihan 1.3 std::vector<int> muonBx;
87 econte 1.1
88 alebihan 1.3 std::vector<double> hfEtSum;
89 econte 1.1 std::vector<unsigned> hfBitCnt;
90 alebihan 1.3 std::vector<int> hfBx;
91 econte 1.1
92     double met,metPhi,mht,mhtPhi,et,ht;
93 alebihan 1.3 int metsBx, mhtsBx;
94 econte 1.1 };
95     }
96     #endif
97    
98