Revision: | 1.1 |
Committed: | Thu Apr 9 10:26:24 2009 UTC (16 years ago) by ceballos |
Content type: | text/plain |
Branch: | MAIN |
Log Message: | new GenParticle object |
# | User | Rev | Content |
---|---|---|---|
1 | ceballos | 1.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 | } |