ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/src/GenericParticle.cc
Revision: 1.1
Committed: Thu Apr 9 10:26:24 2009 UTC (16 years, 1 month ago) by ceballos
Content type: text/plain
Branch: MAIN
Log Message:
new GenParticle object

File Contents

# Content
1 // $Id: GenericParticle.cc,v 1.5 2009/03/20 18:23:27 loizides Exp $
2
3 #include "MitAna/DataTree/interface/GenericParticle.h"
4
5 ClassImp(mithep::GenericParticle)
6
7 using namespace mithep;
8
9 //--------------------------------------------------------------------------------------------------
10 void GenericParticle::Print(Option_t */*opt*/) const
11 {
12 // Print particle kinematics.
13
14 printf("pt=%.3f eta=%.3f phi=%.3f\n", Pt(), Eta(), Phi());
15 }