1 |
#include "UserCode/HbbAnalysis/interface/Lepton.hh"
|
2 |
|
3 |
namespace HbbAnalysis {
|
4 |
|
5 |
//Constructors
|
6 |
Lepton::Lepton() {
|
7 |
}
|
8 |
|
9 |
//Functions
|
10 |
void Lepton::Clear() {
|
11 |
Candidate::Clear();
|
12 |
leptonVars_.Clear();
|
13 |
}
|
14 |
|
15 |
void Lepton::Print() const {
|
16 |
|
17 |
Candidate::Print();
|
18 |
std::cout << "dBeamspot: " << leptonVars_.dBeamspot << "\tdVertex: " << leptonVars_.dVertex << std::endl;
|
19 |
std::cout << "hltMatchPaths: " << std::endl;
|
20 |
for (unsigned i = 0; i < leptonVars_.hltMatchPaths.size(); ++i) {
|
21 |
std::cout << "-" << leptonVars_.hltMatchPaths[i] << std::endl;
|
22 |
}
|
23 |
std::cout << "hltMatchFilters: " << std::endl;
|
24 |
for (unsigned i = 0; i < leptonVars_.hltMatchFilters.size(); ++i) {
|
25 |
std::cout << "-" << leptonVars_.hltMatchFilters[i] << std::endl;
|
26 |
}
|
27 |
}
|
28 |
|
29 |
}
|