1 |
#ifndef __PromptL1_PromptL1Extra_H__
|
2 |
#define __PromptL1_PromptL1Extra_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 |
//using namespace l1extra;
|
27 |
|
28 |
namespace PromptL1
|
29 |
{
|
30 |
class PromptL1Extra
|
31 |
{
|
32 |
public:
|
33 |
PromptL1Extra();
|
34 |
~PromptL1Extra();
|
35 |
|
36 |
void Reset();
|
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 |
std::vector<double> isoEmEt;
|
51 |
std::vector<double> isoEmEta;
|
52 |
std::vector<double> isoEmPhi;
|
53 |
|
54 |
unsigned nNonIsoEm;
|
55 |
std::vector<double> nonIsoEmEt;
|
56 |
std::vector<double> nonIsoEmEta;
|
57 |
std::vector<double> nonIsoEmPhi;
|
58 |
|
59 |
unsigned nCenJets;
|
60 |
std::vector<double> cenJetEt;
|
61 |
std::vector<double> cenJetEta;
|
62 |
std::vector<double> cenJetPhi;
|
63 |
|
64 |
unsigned nFwdJets;
|
65 |
std::vector<double> fwdJetEt;
|
66 |
std::vector<double> fwdJetEta;
|
67 |
std::vector<double> fwdJetPhi;
|
68 |
|
69 |
unsigned nTauJets;
|
70 |
std::vector<double> tauJetEt;
|
71 |
std::vector<double> tauJetEta;
|
72 |
std::vector<double> tauJetPhi;
|
73 |
|
74 |
unsigned nMuons;
|
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 |
std::vector<double> hfEtSum;
|
85 |
std::vector<unsigned> hfBitCnt;
|
86 |
|
87 |
double met,metPhi,mht,mhtPhi,et,ht;
|
88 |
|
89 |
};
|
90 |
}
|
91 |
#endif
|
92 |
|
93 |
|