ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/Particle.h
Revision: 1.2
Committed: Mon Jun 2 04:43:14 2008 UTC (16 years, 11 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.1: +2 -2 lines
Log Message:
Replace  SetPxPyPzE  with SetXYZT since the latter exists in ROOT 5.14 which is used in CMSSW 1_6_9

File Contents

# User Rev Content
1 loizides 1.2 // $Id: Particle.h,v 1.1 2008/05/27 19:24:49 loizides Exp $
2 loizides 1.1
3     #ifndef DATATREE_PARTICLE_H
4     #define DATATREE_PARTICLE_H
5    
6     #include "MitAna/DataTree/interface/Types.h"
7     #include <TObject.h>
8    
9     //--------------------------------------------------------------------------------------------------
10     //
11     // Particle
12     //
13     // Details to be worked out...
14     //
15     // Authors: C.Loizides, xxx
16     //
17     //--------------------------------------------------------------------------------------------------
18    
19     namespace mithep
20     {
21     class Particle : public FourVector
22     {
23     public:
24     Particle() {}
25     virtual ~Particle() {}
26    
27     Particle(double x, double y, double z, double t) {
28 loizides 1.2 SetXYZT(x,y,z,t);
29 loizides 1.1 }
30    
31     ClassDef(Particle, 1) // Particle class
32     };
33    
34     } /*namespace mithep*/
35    
36     #endif /*DATATREE_PARTICLE_H*/