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
|