ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/L1Obj.h
Revision: 1.9
Committed: Thu Jul 11 11:25:21 2013 UTC (11 years, 9 months ago) by akalinow
Content type: text/plain
Branch: MAIN
CVS Tags: Artur_11_07_2013_B, Artur_11_07_2013_A, Artur_11_07_2013, HEAD
Changes since 1.8: +2 -2 lines
Log Message:
*last commit before migration to Git.

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.7 enum TYPE { NONE, RPCb, RPCf, DT, CSC, GMT, RPCb_emu, RPCf_emu, GMT_emu, OTF };
9 konec 1.4
10 konec 1.1 float pt, eta, phi;
11 akalinow 1.9 int bx, q, charge;
12 konec 1.4 TYPE type;
13 konec 1.2
14 akalinow 1.9 L1Obj() : pt(0.),eta(0.),phi(0.),bx(0),q(-1), charge(99), type(NONE) {}
15 konec 1.8 bool isValid() const { return q >= 0;}
16 konec 1.2
17 konec 1.6 friend ostream & operator<< (ostream &out, const L1Obj &o);
18 konec 1.3
19 konec 1.2 ClassDef(L1Obj,1)
20 konec 1.1 };
21     #endif