ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/src/GenJet.cc
(Generate patch)

Comparing UserCode/HbbAnalysis/src/GenJet.cc (file contents):
Revision 1.2 by agilbert, Tue Oct 25 13:26:51 2011 UTC vs.
Revision 1.3 by agilbert, Wed Jan 25 18:45:50 2012 UTC

# Line 12 | Line 12 | namespace HbbAnalysis {
12      constituents_.clear();
13    }
14  
15 +  void GenJet::Print() const {
16 +    Candidate::Print();
17 +    std::cout << "Flavour: " << genJetVars_.flavour <<
18 +                "nConst: " << genJetVars_.nConstituents <<
19 +              std::endl;
20 +    for (unsigned i = 0; i < constituents_.size(); ++i) {
21 +     std::cout << "Constituent " << i << ":" << std::endl;
22 +     constituents_[i].Print();
23 +    }
24 +  }
25   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines