ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbbAnalysis/HbbAnalyzer/interface/HbbCandidateFinder.h
(Generate patch)

Comparing UserCode/VHbbAnalysis/HbbAnalyzer/interface/HbbCandidateFinder.h (file contents):
Revision 1.2 by tboccali, Wed Jun 15 15:18:35 2011 UTC vs.
Revision 1.7 by tboccali, Thu Jul 21 10:18:58 2011 UTC

# Line 25 | Line 25 | using namespace std;
25   #include "TTree.h"
26   #include "TMath.h"
27  
28
29
30
28   #include <TString.h>
29  
33 #include "VHbbAnalysis/HbbAnalyzer/interface/VHbbCandidate.h"
34 #include "VHbbAnalysis/HbbAnalyzer/interface/VHbbEvent.h"
35
36
30  
31 + #include "VHbbAnalysis/VHbbDataFormats/interface/HbbCandidateFinderAlgo.h"
32 + #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbCandidate.h"
33 + #include "VHbbAnalysis/VHbbDataFormats/interface/VHbbEvent.h"
34  
35   //
36   // class declaration
# Line 49 | Line 45 | class HbbCandidateFinder : public edm::E
45    ~HbbCandidateFinder();
46    void produce( edm::Event&, const edm::EventSetup& );
47  
48 <  float getDeltaTheta( VHbbEvent::SimpleJet * j1, VHbbEvent::SimpleJet * j2 );
48 >  float getDeltaTheta( const VHbbEvent::SimpleJet & j1, const VHbbEvent::SimpleJet & j2 ) const ;
49  
50  
51   protected:
52  
53    void run (const VHbbEvent*, std::auto_ptr<std::vector<VHbbCandidate> > &);
54    
55 <  std::pair <int, int>  findDiJets (const std::vector<VHbbEvent::SimpleJet>& jets);
55 > bool  findDiJets (const std::vector<VHbbEvent::SimpleJet>& , VHbbEvent::SimpleJet& , VHbbEvent::SimpleJet& ,std::vector<VHbbEvent::SimpleJet>& );
56  
57 + // voif findVectorCandidate()
58  
62  int findDiMuon (const std::vector<VHbbEvent::DiMuonInfo>&);
63  int findDiElectron (const std::vector<VHbbEvent::DiElectronInfo>&);
59  
60 + void findMuons (const std::vector<VHbbEvent::MuonInfo>& muons, std::vector<VHbbEvent::MuonInfo>& out);
61 + void findElectrons(const std::vector<VHbbEvent::ElectronInfo>& electrons, std::vector<VHbbEvent::ElectronInfo>& out);
62 + void findMET(const VHbbEvent::METInfo& met, std::vector<VHbbEvent::METInfo>& out);
63  
64   private:
65    virtual void beginJob() ;
66    virtual void endJob() ;
67    
68    edm::InputTag vhbbevent_;
69 <
70 <  
69 > HbbCandidateFinderAlgo *algo_;
70 > bool verbose_;
71    
72   };
73  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines