1 |
tboccali |
1.1 |
#ifndef HBBCANDIDATEFINDERALGO_HH
|
2 |
|
|
#define HBBCANDIDATEFINDERALGO_HH
|
3 |
|
|
|
4 |
|
|
#include "VHbbAnalysis/VHbbDataFormats/interface/VHbbCandidate.h"
|
5 |
|
|
#include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEvent.h"
|
6 |
|
|
|
7 |
|
|
class HbbCandidateFinderAlgo {
|
8 |
|
|
public:
|
9 |
|
|
|
10 |
tboccali |
1.2 |
explicit HbbCandidateFinderAlgo(bool verbose, float jetPt, bool useH): verbose_(verbose), jetPtThreshold(jetPt),useHighestPtHiggs_(useH) {}
|
11 |
tboccali |
1.1 |
|
12 |
|
|
|
13 |
|
|
void run (const VHbbEvent*, std::vector<VHbbCandidate> &);
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
protected:
|
17 |
|
|
|
18 |
|
|
|
19 |
tboccali |
1.2 |
bool findDiJets (const std::vector<VHbbEvent::SimpleJet>& , VHbbEvent::SimpleJet& , VHbbEvent::SimpleJet& ,std::vector<VHbbEvent::SimpleJet>&);
|
20 |
|
|
bool findDiJetsHighestPt (const std::vector<VHbbEvent::SimpleJet>& , VHbbEvent::SimpleJet& , VHbbEvent::SimpleJet& ,std::vector<VHbbEvent::SimpleJet>&);
|
21 |
tboccali |
1.1 |
|
22 |
|
|
void findMuons (const std::vector<VHbbEvent::MuonInfo>& muons, std::vector<VHbbEvent::MuonInfo>& out);
|
23 |
|
|
void findElectrons(const std::vector<VHbbEvent::ElectronInfo>& electrons, std::vector<VHbbEvent::ElectronInfo>& out);
|
24 |
|
|
void findMET(const VHbbEvent::METInfo& met, std::vector<VHbbEvent::METInfo>& out);
|
25 |
|
|
|
26 |
|
|
private:
|
27 |
|
|
bool verbose_;
|
28 |
tboccali |
1.2 |
float jetPtThreshold;
|
29 |
|
|
bool useHighestPtHiggs_;
|
30 |
tboccali |
1.1 |
|
31 |
|
|
|
32 |
|
|
};
|
33 |
|
|
|
34 |
|
|
#endif
|