# | Line 1 | Line 1 | |
---|---|---|
1 | #ifndef L1Obj_H | |
2 | #define L1Obj_H | |
3 | #include "TObject.h" | |
4 | + | #include <iostream> |
5 | ||
6 | struct L1Obj : public TObject { | |
7 | ||
# | Line 9 | Line 10 | struct L1Obj : public TObject { | |
10 | ||
11 | bool isValid() { return q >= 0;} | |
12 | ||
13 | + | void print() const {std::cout<<"L1Obj pt: "<<pt<<", eta: "<<eta<<", phi: "<<phi<<", q: "<<q<<", bx: "<<bx;} |
14 | + | |
15 | L1Obj() : pt(0.),eta(0.),phi(0.),bx(0),q(-1) {} | |
16 | ClassDef(L1Obj,1) | |
17 | }; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |