ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbbAnalysis/VHbbDataFormats/interface/HbbCandidateFinderAlgo.h
Revision: 1.5
Committed: Fri Sep 16 19:15:59 2011 UTC (13 years, 7 months ago) by arizzi
Content type: text/plain
Branch: MAIN
CVS Tags: AR_step2_Oct25, AR_step2_oct19, EdmV11Oct2011, AR_Step2_Oct13, AR_Oct9Ntuple, AR_Oct7_step2ntuple, AR_Oct5Ntuple, EdmV10Oct2011, EdmV9Sept2011, Sept19th2011_2, Sept19th2011, Sept19th, VHNtupleV9_AR1
Changes since 1.4: +1 -1 lines
Log Message:
add jet id

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