# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |