23 |
|
#include "DataFormats/L1Trigger/interface/L1HFRings.h" |
24 |
|
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h" |
25 |
|
|
26 |
< |
using namespace std; |
27 |
< |
using namespace l1extra; |
26 |
> |
//using namespace l1extra; |
27 |
|
|
28 |
|
namespace PromptL1 |
29 |
|
{ |
34 |
|
~PromptL1Extra(); |
35 |
|
|
36 |
|
void Reset(); |
37 |
< |
void Print(std::ostream &os = std::cout) const; |
38 |
< |
void SetIsoEm(edm::Handle<L1EmParticleCollection> isoEm, unsigned maxL1Extra); |
39 |
< |
void SetNonIsoEm(edm::Handle<L1EmParticleCollection> nonIsoEm, unsigned maxL1Extra); |
40 |
< |
void SetCenJet(edm::Handle<L1JetParticleCollection> cenJet, unsigned maxL1Extra); |
41 |
< |
void SetFwdJet(edm::Handle<L1JetParticleCollection> fwdJet, unsigned maxL1Extra); |
42 |
< |
void SetTauJet(edm::Handle<L1JetParticleCollection> tauJet, unsigned maxL1Extra); |
43 |
< |
void SetMuon(edm::Handle<L1MuonParticleCollection> muon, unsigned maxL1Extra); |
44 |
< |
void SetMet(edm::Handle<L1EtMissParticleCollection> mets); |
45 |
< |
void SetMht(edm::Handle<L1EtMissParticleCollection> mhts); |
46 |
< |
void SetHFring(edm::Handle<L1HFRingsCollection> hfRings); |
37 |
> |
void Print (std::ostream &os = std::cout) const; |
38 |
> |
void SetIsoEm (edm::Handle<l1extra::L1EmParticleCollection> isoEm, unsigned maxL1Extra); |
39 |
> |
void SetNonIsoEm(edm::Handle<l1extra::L1EmParticleCollection> nonIsoEm, unsigned maxL1Extra); |
40 |
> |
void SetCenJet (edm::Handle<l1extra::L1JetParticleCollection> cenJet, unsigned maxL1Extra); |
41 |
> |
void SetFwdJet (edm::Handle<l1extra::L1JetParticleCollection> fwdJet, unsigned maxL1Extra); |
42 |
> |
void SetTauJet (edm::Handle<l1extra::L1JetParticleCollection> tauJet, unsigned maxL1Extra); |
43 |
> |
void SetMuon (edm::Handle<l1extra::L1MuonParticleCollection> muon, unsigned maxL1Extra); |
44 |
> |
void SetMet (edm::Handle<l1extra::L1EtMissParticleCollection> mets); |
45 |
> |
void SetMht (edm::Handle<l1extra::L1EtMissParticleCollection> mhts); |
46 |
> |
void SetHFring (edm::Handle<l1extra::L1HFRingsCollection> hfRings); |
47 |
|
|
48 |
|
|
49 |
|
unsigned nIsoEm; |
50 |
< |
vector<double> isoEmEt; |
51 |
< |
vector<double> isoEmEta; |
52 |
< |
vector<double> isoEmPhi; |
50 |
> |
std::vector<double> isoEmEt; |
51 |
> |
std::vector<double> isoEmEta; |
52 |
> |
std::vector<double> isoEmPhi; |
53 |
|
|
54 |
|
unsigned nNonIsoEm; |
55 |
< |
vector<double> nonIsoEmEt; |
56 |
< |
vector<double> nonIsoEmEta; |
57 |
< |
vector<double> nonIsoEmPhi; |
55 |
> |
std::vector<double> nonIsoEmEt; |
56 |
> |
std::vector<double> nonIsoEmEta; |
57 |
> |
std::vector<double> nonIsoEmPhi; |
58 |
|
|
59 |
|
unsigned nCenJets; |
60 |
< |
vector<double> cenJetEt; |
61 |
< |
vector<double> cenJetEta; |
62 |
< |
vector<double> cenJetPhi; |
60 |
> |
std::vector<double> cenJetEt; |
61 |
> |
std::vector<double> cenJetEta; |
62 |
> |
std::vector<double> cenJetPhi; |
63 |
|
|
64 |
|
unsigned nFwdJets; |
65 |
< |
vector<double> fwdJetEt; |
66 |
< |
vector<double> fwdJetEta; |
67 |
< |
vector<double> fwdJetPhi; |
65 |
> |
std::vector<double> fwdJetEt; |
66 |
> |
std::vector<double> fwdJetEta; |
67 |
> |
std::vector<double> fwdJetPhi; |
68 |
|
|
69 |
|
unsigned nTauJets; |
70 |
< |
vector<double> tauJetEt; |
71 |
< |
vector<double> tauJetEta; |
72 |
< |
vector<double> tauJetPhi; |
70 |
> |
std::vector<double> tauJetEt; |
71 |
> |
std::vector<double> tauJetEta; |
72 |
> |
std::vector<double> tauJetPhi; |
73 |
|
|
74 |
|
unsigned nMuons; |
75 |
< |
vector<double> muonEt; |
76 |
< |
vector<double> muonEta; |
77 |
< |
vector<double> muonPhi; |
78 |
< |
vector<int> muonChg; |
79 |
< |
vector<unsigned> muonIso; |
80 |
< |
vector<unsigned> muonFwd; |
81 |
< |
vector<unsigned> muonMip; |
82 |
< |
vector<unsigned> muonRPC; |
75 |
> |
std::vector<double> muonEt; |
76 |
> |
std::vector<double> muonEta; |
77 |
> |
std::vector<double> muonPhi; |
78 |
> |
std::vector<int> muonChg; |
79 |
> |
std::vector<unsigned> muonIso; |
80 |
> |
std::vector<unsigned> muonFwd; |
81 |
> |
std::vector<unsigned> muonMip; |
82 |
> |
std::vector<unsigned> muonRPC; |
83 |
|
|
84 |
< |
vector<double> hfEtSum; |
85 |
< |
vector<unsigned> hfBitCnt; |
84 |
> |
std::vector<double> hfEtSum; |
85 |
> |
std::vector<unsigned> hfBitCnt; |
86 |
|
|
87 |
|
double met,metPhi,mht,mhtPhi,et,ht; |
88 |
|
|