ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/src/Lepton.cc
Revision: 1.2
Committed: Tue Nov 8 21:41:47 2011 UTC (13 years, 5 months ago) by agilbert
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +14 -0 lines
Error occurred while calculating annotation data.
Log Message:
Implement some basic print methods for the HbbEvent.

File Contents

# Content
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 }