ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/TrackObj.h
Revision: 1.5
Committed: Fri May 17 13:02:11 2013 UTC (11 years, 11 months ago) by konec
Content type: text/plain
Branch: MAIN
CVS Tags: Artur_11_07_2013_B, Artur_11_07_2013_A, Artur_11_07_2013, Artur_28_06_2013, HEAD
Changes since 1.4: +5 -4 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 #ifndef TrackObj_H
2 #define TrackObj_H
3 #include "TObject.h"
4 #include <ostream>
5
6 class TrackObj : public TObject {
7 public:
8 TrackObj(float pt=0., float eta=0., float phi=0., int charge=0) : thePt(pt), theEta(eta), thePhi(phi), theCharge(charge) {}
9 void setKine(float pt, float eta, float phi, int charge) { thePt=pt; theEta=eta; thePhi=phi; theCharge=charge;}
10 virtual ~TrackObj(){}
11 float pt() const { return thePt;}
12 float eta() const { return theEta;}
13 float phi() const { return thePhi;}
14 int charge() const { return theCharge;}
15 private:
16 float thePt, theEta, thePhi;
17 int theCharge;
18 friend ostream & operator<< (ostream &out, const TrackObj &o);
19 public:
20 ClassDef(TrackObj,1)
21 };
22 #endif