1 |
loizides |
1.2 |
// $Id: GenericParticle.cc,v 1.1 2009/04/09 10:26:24 ceballos Exp $
|
2 |
ceballos |
1.1 |
|
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 |
loizides |
1.2 |
printf("pt=%.3f eta=%.3f phi=%.3f c=%.1f t=%d\n", Pt(), Eta(), Phi(), Charge(), RecoObjType());
|
15 |
ceballos |
1.1 |
}
|