ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/src/Particle.cc
Revision: 1.3
Committed: Fri Nov 21 20:15:02 2008 UTC (16 years, 5 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.2: +3 -1 lines
Log Message:
Include daughter in prinout if "l" is given. Add a couple of useful functions.

File Contents

# User Rev Content
1 loizides 1.3 // $Id: Particle.cc,v 1.2 2008/07/15 11:31:08 loizides Exp $
2 loizides 1.1
3     #include "MitAna/DataTree/interface/Particle.h"
4    
5     ClassImp(mithep::Particle)
6 loizides 1.2
7     using namespace mithep;
8    
9     //--------------------------------------------------------------------------------------------------
10     void Particle::Print(Option_t *opt) const
11     {
12 loizides 1.3 // Print particle kinematics.
13    
14 loizides 1.2 printf("px=%.3f py=%.3f pz=%.3f e=%.3f\n", Px(), Py(), Pz(), E());
15     }