ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/Candidate.hh
Revision: 1.1
Committed: Tue Oct 25 13:26:50 2011 UTC (13 years, 6 months ago) by agilbert
Content type: text/plain
Branch: MAIN
CVS Tags: v01-00-00
Log Message:
Significant code re-write.  Compiles under 4_2_4 but may not work as expected.  Files marked as broken may need to be fixed in the future.

File Contents

# User Rev Content
1 agilbert 1.1 #ifndef HbbAnalysis_Candidate_hh
2     #define HbbAnalysis_Candidate_hh
3    
4     #include "TLorentzVector.h"
5     #include "UserCode/HbbAnalysis/interface/Objects.hh"
6    
7     namespace HbbAnalysis {
8    
9     class Candidate{
10     public:
11     //Constructors
12     Candidate();
13     Candidate(HbbAnalysis::FourMomentum const& aFourVec){
14     fourVec(aFourVec);
15     }
16    
17     //Setters
18     void fourVec(HbbAnalysis::FourMomentum const& aFourVec) {
19     fourVec_ = aFourVec;
20     }
21    
22     //Getters
23     HbbAnalysis::FourMomentum const& fourVec() const {
24     return fourVec_;
25     }
26    
27     //Functions
28     void Clear();
29     TLorentzVector GetTLorentzVector() const {
30     return fourVec_.GetTLorentzVector();
31     }
32    
33     private:
34     FourMomentum fourVec_;
35     };
36    
37     }
38     #endif