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.2 by konec, Sun Jun 13 17:27:01 2010 UTC vs.
Revision 1.3 by konec, Mon Nov 28 18:31:03 2011 UTC

# 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   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines