12 |
|
#include "FWCore/Framework/interface/ESHandle.h" |
13 |
|
#include "FWCore/Framework/interface/Event.h" |
14 |
|
#include "FWCore/Framework/interface/EventSetup.h" |
15 |
< |
#include "FWCore/Framework/interface/TriggerNames.h" |
15 |
> |
#include "FWCore/Common/interface/TriggerNames.h" |
16 |
|
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
17 |
|
|
18 |
|
#include "DataFormats/Common/interface/Handle.h" |
19 |
+ |
|
20 |
+ |
#include "DataFormats/L1Trigger/interface/L1JetParticleFwd.h" |
21 |
+ |
#include "DataFormats/L1Trigger/interface/L1JetParticle.h" |
22 |
+ |
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h" |
23 |
+ |
#include "DataFormats/HLTReco/interface/TriggerEvent.h" |
24 |
+ |
|
25 |
|
#include "DataFormats/PatCandidates/interface/Lepton.h" |
26 |
|
#include "DataFormats/PatCandidates/interface/Jet.h" |
27 |
|
#include "DataFormats/PatCandidates/interface/Muon.h" |
40 |
|
HbbTreeMaker(const edm::ParameterSet & pset); |
41 |
|
~HbbTreeMaker(); |
42 |
|
|
43 |
< |
void beginJob(const edm::EventSetup&); |
43 |
> |
void beginJob(); |
44 |
|
void analyze(const edm::Event& , |
45 |
|
const edm::EventSetup& |
46 |
|
); |
71 |
|
HbbAnalysis::Met & aVec); |
72 |
|
|
73 |
|
void HbbTrigger(const edm::Handle<edm::TriggerResults> & aCol, |
74 |
+ |
const edm::TriggerNames & aNames, |
75 |
|
std::vector<HbbAnalysis::Trigger> & aVec); |
76 |
|
|
77 |
+ |
void HbbVertices(const edm::Handle<std::vector<reco::Vertex> > & aCol, |
78 |
+ |
std::vector<HbbAnalysis::Vertex> & aVec); |
79 |
|
|
80 |
|
|
81 |
+ |
void HbbL1Objects(const edm::Handle<l1extra::L1JetParticleCollection> & aCol, |
82 |
+ |
std::vector<HbbAnalysis::L1Object> & aVec, |
83 |
+ |
const unsigned int aType); |
84 |
+ |
|
85 |
+ |
void HbbHLTObjects(const edm::Handle<trigger::TriggerEvent> & aCol, |
86 |
+ |
std::vector<HbbAnalysis::HLTObject> & aVec); |
87 |
+ |
|
88 |
|
int debug_; |
89 |
|
|
90 |
|
bool processData_; |
117 |
|
edm::InputTag vertexSrc_; |
118 |
|
edm::InputTag triggerSrc_; |
119 |
|
std::vector<std::string> hltPaths_; |
120 |
+ |
edm::InputTag l1CenJetSrc_; |
121 |
+ |
edm::InputTag l1TauJetSrc_; |
122 |
+ |
edm::InputTag l1FwdJetSrc_; |
123 |
+ |
edm::InputTag hltSummarySrc_; |
124 |
+ |
|
125 |
|
//vector filled during processing with all existing collections |
126 |
|
//std::vector<std::pair<std::string,std::string> > collections_; |
127 |
|
|
131 |
|
HbbAnalysis::HbbEvent * event_; |
132 |
|
|
133 |
|
TTree *tree_; |
134 |
< |
|
134 |
> |
|
135 |
> |
//name of the desired collection for hlt matches |
136 |
> |
std::vector<edm::InputTag> hltTags_; |
137 |
> |
|
138 |
|
};//class |
139 |
|
|
140 |
|
#endif //HbbAnalysis_HbbTreeMaker_hh |