ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/PollackPrograms/src/TCMuon.h
Revision: 1.2
Committed: Wed Feb 20 21:39:43 2013 UTC (12 years, 2 months ago) by bpollack
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +63 -44 lines
Error occurred while calculating annotation data.
Log Message:
commiting moriond analysis package

File Contents

# Content
1 #ifndef _TCMUON_H
2 #define _TCMUON_H
3
4 #include "TObject.h"
5 #include "TLorentzVector.h"
6 #include "TVector2.h"
7 #include "TVector3.h"
8 #include "TCPhysObject.h"
9
10 class TCMuon : public TCPhysObject {
11 private:
12
13 float _ptError;
14 bool _isPF;
15 bool _isTRK;
16 bool _isGLB;
17 float _caloComp;
18 float _segComp;
19
20 int _numberOfMatches;
21 int _numberOfMatchedStations;
22 int _numberOfValidPixelHits;
23 int _numberOfValidTrackerHits;
24 int _numberOfLostPixelHits;
25 int _numberOfLostTrackerHits;
26 int _numberOfValidMuonHits;
27 int _trackLayersWithMeasurement;
28 float _normalizedChi2;
29
30 public:
31 TCMuon();
32 virtual ~TCMuon();
33
34 // "get" methods -----------
35
36 float PtError() const;
37
38 bool IsGLB() const;
39 bool IsTRK() const;
40 bool IsPF() const;
41 float CaloComp() const;
42 float SegComp() const;
43
44 int NumberOfValidPixelHits() const;
45 int NumberOfValidTrackerHits() const;
46 int NumberOfLostPixelHits() const;
47 int NumberOfLostTrackerHits() const;
48 int NumberOfValidMuonHits() const;
49 float NormalizedChi2() const;
50 int NumberOfMatches() const;
51 int NumberOfMatchedStations() const;
52 int TrackLayersWithMeasurement() const;
53
54 void SetPtError(float er);
55 void SetIsGLB(bool t);
56 void SetIsTRK(bool t);
57 void SetIsPF(bool t);
58 void SetCaloComp(float c);
59 void SetSegComp(float s);
60
61 void SetNumberOfMatches(int n);
62 void SetNumberOfMatchedStations(int n);
63 void SetNumberOfValidPixelHits(int n);
64 void SetNumberOfValidTrackerHits(int n);
65 void SetNumberOfValidMuonHits(int n);
66 void SetNumberOfLostPixelHits(int n);
67 void SetNumberOfLostTrackerHits(int n);
68 void SetNormalizedChi2(float n);
69 void SetTrackLayersWithMeasurement(int n);
70
71 ClassDef(TCMuon, 1);
72 };
73
74 #endif /* _TCMUON_H */
75
76