5 |
|
|
6 |
|
// user include files |
7 |
|
#include "FWCore/Framework/interface/Frameworkfwd.h" |
8 |
< |
#include "FWCore/Framework/interface/EDProducer.h" |
8 |
> |
#include "FWCore/Framework/interface/EDFilter.h" |
9 |
|
|
10 |
|
#include "FWCore/Framework/interface/Event.h" |
11 |
|
#include "FWCore/Framework/interface/MakerMacros.h" |
38 |
|
|
39 |
|
|
40 |
|
|
41 |
< |
class HbbCandidateFinder : public edm::EDProducer { |
41 |
> |
class HbbCandidateFinder : public edm::EDFilter { |
42 |
|
|
43 |
|
public: |
44 |
|
explicit HbbCandidateFinder(const edm::ParameterSet&); |
45 |
|
~HbbCandidateFinder(); |
46 |
< |
void produce( edm::Event&, const edm::EventSetup& ); |
46 |
> |
bool filter( edm::Event&, const edm::EventSetup& ); |
47 |
|
|
48 |
|
float getDeltaTheta( const VHbbEvent::SimpleJet & j1, const VHbbEvent::SimpleJet & j2 ) const ; |
49 |
|
|
68 |
|
edm::InputTag vhbbevent_; |
69 |
|
HbbCandidateFinderAlgo *algo_; |
70 |
|
bool verbose_; |
71 |
+ |
bool useHighestHiggs; |
72 |
+ |
bool applyFilter; |
73 |
|
|
74 |
|
}; |
75 |
|
|