ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbbAnalysis/VHbbDataFormats/interface/HbbCandidateFinderAlgo.h
Revision: 1.6
Committed: Thu Nov 10 00:01:40 2011 UTC (13 years, 5 months ago) by arizzi
Content type: text/plain
Branch: MAIN
CVS Tags: AR_Nov10Ntuple
Changes since 1.5: +2 -1 lines
Log Message:
- 3D PU reweighting with latest recipe and targetting the full 2011B run period
- PU reweight fixed in 2011A against Fall11 MC
- run boundary handling to properly handle the two periods of 2011B
- factorized MET triggers
- events failing the "at least 2 jets pt > 20" are recovered with a pt15 cut (NB: the election of higest dijet is first done with 20GeV threshold, the 15 GeV is consiered only if the 20 fails)
- apply JER smearing by default
- add leptons generator info
- add jet by jet btag SF info
- add electron id80NoIso

File Contents

# User Rev Content
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 arizzi 1.3 VHbbCandidate changeHiggs(bool useHighestPtHiggs , const VHbbCandidate & old);
16    
17 tboccali 1.1
18 arizzi 1.5 static bool jetID(const VHbbEvent::SimpleJet & );
19 tboccali 1.1
20 tboccali 1.2 bool findDiJets (const std::vector<VHbbEvent::SimpleJet>& , VHbbEvent::SimpleJet& , VHbbEvent::SimpleJet& ,std::vector<VHbbEvent::SimpleJet>&);
21     bool findDiJetsHighestPt (const std::vector<VHbbEvent::SimpleJet>& , VHbbEvent::SimpleJet& , VHbbEvent::SimpleJet& ,std::vector<VHbbEvent::SimpleJet>&);
22 arizzi 1.6
23     protected:
24 tboccali 1.1
25 tboccali 1.4 void findMuons (const std::vector<VHbbEvent::MuonInfo>& muons, std::vector<VHbbEvent::MuonInfo>& out, std::vector<unsigned int>&);
26     void findElectrons(const std::vector<VHbbEvent::ElectronInfo>& electrons, std::vector<VHbbEvent::ElectronInfo>& out,std::vector<unsigned int>&);
27 tboccali 1.1 void findMET(const VHbbEvent::METInfo& met, std::vector<VHbbEvent::METInfo>& out);
28    
29     private:
30     bool verbose_;
31 tboccali 1.2 float jetPtThreshold;
32     bool useHighestPtHiggs_;
33 tboccali 1.1
34    
35     };
36    
37     #endif