ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisL1Extra.h
Revision: 1.1
Committed: Thu Apr 8 09:43:58 2010 UTC (15 years ago) by econte
Content type: text/plain
Branch: MAIN
Log Message:
PromptL1 -> L1Analysis

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     void SetIsoEm (edm::Handle<l1extra::L1EmParticleCollection> isoEm, unsigned maxL1Extra);
37     void SetNonIsoEm(edm::Handle<l1extra::L1EmParticleCollection> nonIsoEm, unsigned maxL1Extra);
38     void SetCenJet (edm::Handle<l1extra::L1JetParticleCollection> cenJet, unsigned maxL1Extra);
39     void SetFwdJet (edm::Handle<l1extra::L1JetParticleCollection> fwdJet, unsigned maxL1Extra);
40     void SetTauJet (edm::Handle<l1extra::L1JetParticleCollection> tauJet, unsigned maxL1Extra);
41     void SetMuon (edm::Handle<l1extra::L1MuonParticleCollection> muon, unsigned maxL1Extra);
42     void SetMet (edm::Handle<l1extra::L1EtMissParticleCollection> mets);
43     void SetMht (edm::Handle<l1extra::L1EtMissParticleCollection> mhts);
44     void SetHFring (edm::Handle<l1extra::L1HFRingsCollection> hfRings);
45    
46    
47     unsigned nIsoEm;
48     std::vector<double> isoEmEt;
49     std::vector<double> isoEmEta;
50     std::vector<double> isoEmPhi;
51    
52     unsigned nNonIsoEm;
53     std::vector<double> nonIsoEmEt;
54     std::vector<double> nonIsoEmEta;
55     std::vector<double> nonIsoEmPhi;
56    
57     unsigned nCenJets;
58     std::vector<double> cenJetEt;
59     std::vector<double> cenJetEta;
60     std::vector<double> cenJetPhi;
61    
62     unsigned nFwdJets;
63     std::vector<double> fwdJetEt;
64     std::vector<double> fwdJetEta;
65     std::vector<double> fwdJetPhi;
66    
67     unsigned nTauJets;
68     std::vector<double> tauJetEt;
69     std::vector<double> tauJetEta;
70     std::vector<double> tauJetPhi;
71    
72     unsigned nMuons;
73     std::vector<double> muonEt;
74     std::vector<double> muonEta;
75     std::vector<double> muonPhi;
76     std::vector<int> muonChg;
77     std::vector<unsigned> muonIso;
78     std::vector<unsigned> muonFwd;
79     std::vector<unsigned> muonMip;
80     std::vector<unsigned> muonRPC;
81    
82     std::vector<double> hfEtSum;
83     std::vector<unsigned> hfBitCnt;
84    
85     double met,metPhi,mht,mhtPhi,et,ht;
86    
87     };
88     }
89     #endif
90    
91