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" |
28 |
|
#include "DataFormats/PatCandidates/interface/Electron.h" |
29 |
|
#include "DataFormats/PatCandidates/interface/Tau.h" |
30 |
|
|
31 |
+ |
#include "SimDataFormats/GeneratorProducts/interface/GenRunInfoProduct.h" |
32 |
+ |
#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h" |
33 |
+ |
|
34 |
|
#include "UserCode/HbbAnalysis/interface/JetFlavour.hh" |
35 |
|
#include "UserCode/HbbAnalysis/interface/HbbEvent.hh" |
36 |
|
|
43 |
|
HbbTreeMaker(const edm::ParameterSet & pset); |
44 |
|
~HbbTreeMaker(); |
45 |
|
|
46 |
< |
void beginJob(const edm::EventSetup&); |
46 |
> |
void beginJob(); |
47 |
|
void analyze(const edm::Event& , |
48 |
|
const edm::EventSetup& |
49 |
|
); |
74 |
|
HbbAnalysis::Met & aVec); |
75 |
|
|
76 |
|
void HbbTrigger(const edm::Handle<edm::TriggerResults> & aCol, |
77 |
+ |
const edm::TriggerNames & aNames, |
78 |
|
std::vector<HbbAnalysis::Trigger> & aVec); |
79 |
|
|
80 |
+ |
void HbbVertices(const edm::Handle<std::vector<reco::Vertex> > & aCol, |
81 |
+ |
std::vector<HbbAnalysis::Vertex> & aVec); |
82 |
|
|
83 |
|
|
84 |
+ |
void HbbL1Objects(const edm::Handle<l1extra::L1JetParticleCollection> & aCol, |
85 |
+ |
std::vector<HbbAnalysis::L1Object> & aVec, |
86 |
+ |
const unsigned int aType); |
87 |
+ |
|
88 |
+ |
void HbbHLTObjects(const edm::Handle<trigger::TriggerEvent> & aCol, |
89 |
+ |
std::vector<HbbAnalysis::HLTObject> & aVec); |
90 |
+ |
|
91 |
+ |
void HbbGenInfo(const edm::Handle<edm::HepMCProduct> & amcProd, |
92 |
+ |
const edm::Handle<GenRunInfoProduct> & aRunProd); |
93 |
+ |
|
94 |
|
int debug_; |
95 |
|
|
96 |
|
bool processData_; |
123 |
|
edm::InputTag vertexSrc_; |
124 |
|
edm::InputTag triggerSrc_; |
125 |
|
std::vector<std::string> hltPaths_; |
126 |
+ |
edm::InputTag l1CenJetSrc_; |
127 |
+ |
edm::InputTag l1TauJetSrc_; |
128 |
+ |
edm::InputTag l1FwdJetSrc_; |
129 |
+ |
edm::InputTag hltSummarySrc_; |
130 |
+ |
|
131 |
|
//vector filled during processing with all existing collections |
132 |
|
//std::vector<std::pair<std::string,std::string> > collections_; |
133 |
|
|
137 |
|
HbbAnalysis::HbbEvent * event_; |
138 |
|
|
139 |
|
TTree *tree_; |
140 |
< |
|
140 |
> |
|
141 |
> |
//name of the desired collection for hlt matches |
142 |
> |
std::vector<edm::InputTag> hltTags_; |
143 |
> |
|
144 |
|
};//class |
145 |
|
|
146 |
|
#endif //HbbAnalysis_HbbTreeMaker_hh |