ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/L1Obj.h
Revision: 1.3
Committed: Mon Nov 28 18:31:03 2011 UTC (13 years, 5 months ago) by konec
Content type: text/plain
Branch: MAIN
CVS Tags: Mikolaj_cmssw533, Mikolaj_cmssw52x
Changes since 1.2: +3 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 konec 1.1 #ifndef L1Obj_H
2     #define L1Obj_H
3 konec 1.2 #include "TObject.h"
4 konec 1.3 #include <iostream>
5 konec 1.2
6     struct L1Obj : public TObject {
7    
8 konec 1.1 float pt, eta, phi;
9     int bx, q;
10 konec 1.2
11 konec 1.1 bool isValid() { return q >= 0;}
12 konec 1.2
13 konec 1.3 void print() const {std::cout<<"L1Obj pt: "<<pt<<", eta: "<<eta<<", phi: "<<phi<<", q: "<<q<<", bx: "<<bx;}
14    
15 konec 1.1 L1Obj() : pt(0.),eta(0.),phi(0.),bx(0),q(-1) {}
16 konec 1.2 ClassDef(L1Obj,1)
17 konec 1.1 };
18     #endif