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.6 by konec, Tue Nov 6 12:56:50 2012 UTC

# Line 1 | Line 1
1   #ifndef L1Obj_H
2   #define L1Obj_H
3 < struct L1Obj {
3 > #include "TObject.h"
4 > #include <iostream>
5 >
6 > struct L1Obj : public TObject {
7 >
8 >  enum TYPE { NONE, RPCb, RPCf, DT, CSC, GMT, RPCb_emu, RPCf_emu, GMT_emu };
9 >
10    float pt, eta, phi;
11    int   bx, q;
12 +  TYPE  type;
13 +
14 +  L1Obj() : pt(0.),eta(0.),phi(0.),bx(0),q(-1), type(NONE) {}
15    bool isValid() { return q >= 0;}
16 <  L1Obj() : pt(0.),eta(0.),phi(0.),bx(0),q(-1) {}
16 >
17 >  friend ostream & operator<< (ostream &out, const L1Obj &o);
18 >
19 >  ClassDef(L1Obj,1)
20   };
21   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines