1 |
tboccali |
1.1 |
#include "VHbbAnalysis/HbbAnalyzer/interface/HbbCandidateFinder.h"
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
HbbCandidateFinder::HbbCandidateFinder(const edm::ParameterSet& iConfig): vhbbevent_(iConfig.getParameter<edm::InputTag>("VHbbEventLabel")) {
|
7 |
|
|
produces<std::vector<VHbbCandidate > >();
|
8 |
|
|
}
|
9 |
|
|
|
10 |
|
|
HbbCandidateFinder::~HbbCandidateFinder(){}
|
11 |
|
|
|
12 |
|
|
void HbbCandidateFinder::beginJob(){}
|
13 |
|
|
void HbbCandidateFinder::endJob(){}
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
float HbbCandidateFinder::getDeltaTheta( VHbbEvent::SimpleJet * j1, VHbbEvent::SimpleJet * j2 ){return -1.;}
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
void HbbCandidateFinder::produce( edm::Event& iEvent, const edm::EventSetup& iEventSetup){
|
21 |
|
|
|
22 |
|
|
std::auto_ptr<std::vector<VHbbCandidate> > vHbbCandidates( new std::vector<VHbbCandidate> );
|
23 |
|
|
|
24 |
|
|
edm::Handle<VHbbEvent> vHbbEvent;
|
25 |
|
|
iEvent.getByLabel(vhbbevent_, vHbbEvent);
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
//
|
29 |
|
|
// start searching for candidates
|
30 |
|
|
//
|
31 |
|
|
|
32 |
|
|
// hbbCandidateFinderAlgo(vHbbCandidates, vHbbEvent-> result());
|
33 |
|
|
// do nothing for a test
|
34 |
|
|
|
35 |
|
|
iEvent.put(vHbbCandidates);
|
36 |
|
|
|
37 |
|
|
}
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
//define this as a plug-in
|
41 |
|
|
DEFINE_FWK_MODULE(HbbCandidateFinder);
|