ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/L1Obj.h
(Generate patch)

Comparing UserCode/L1RpcTriggerAnalysis/interface/L1Obj.h (file contents):
Revision 1.1 by konec, Mon Jun 7 22:03:21 2010 UTC vs.
Revision 1.2 by konec, Sun Jun 13 17:27:01 2010 UTC

# Line 1 | Line 1
1   #ifndef L1Obj_H
2   #define L1Obj_H
3 < struct L1Obj {
3 > #include "TObject.h"
4 >
5 > struct L1Obj : public TObject {
6 >
7    float pt, eta, phi;
8    int   bx, q;
9 +
10    bool isValid() { return q >= 0;}
11 +
12    L1Obj() : pt(0.),eta(0.),phi(0.),bx(0),q(-1) {}
13 +  ClassDef(L1Obj,1)
14   };
15   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines