1 |
devildog |
1.1 |
/*
|
2 |
|
|
* File: TCMuon.h
|
3 |
|
|
* Author: S. Won
|
4 |
|
|
*/
|
5 |
|
|
|
6 |
|
|
#ifndef _TCMUON_H
|
7 |
|
|
#define _TCMUON_H
|
8 |
|
|
|
9 |
|
|
#include "TObject.h"
|
10 |
|
|
#include "TLorentzVector.h"
|
11 |
|
|
#include "TVector2.h"
|
12 |
|
|
#include "TVector3.h"
|
13 |
|
|
|
14 |
|
|
class TCMuon : public TObject {
|
15 |
|
|
private:
|
16 |
|
|
TVector3 _position;
|
17 |
|
|
TLorentzVector _p4;
|
18 |
|
|
int charge;
|
19 |
|
|
|
20 |
|
|
float dxy_;
|
21 |
|
|
float dz_;
|
22 |
|
|
float PFiso_Pt03;
|
23 |
|
|
float PFiso_Neutral03;
|
24 |
|
|
float PFiso_Gamma03;
|
25 |
|
|
float PFiso_Pt04;
|
26 |
|
|
float PFiso_Neutral04;
|
27 |
|
|
float PFiso_Gamma04;
|
28 |
|
|
float PFiso_Pt05;
|
29 |
|
|
float PFiso_Neutral05;
|
30 |
|
|
float PFiso_Gamma05;
|
31 |
|
|
|
32 |
|
|
float sumPt03;
|
33 |
|
|
float emEt03;
|
34 |
|
|
float hadEt03;
|
35 |
|
|
int nTracks03;
|
36 |
|
|
int numberOfValidPixelHits_;
|
37 |
|
|
int numberOfValidTrackerHits_;
|
38 |
|
|
int numberOfMissingPixelHits_;
|
39 |
|
|
int numberOfMissingTrackerHits_;
|
40 |
|
|
int numberOfValidMuonHits_;
|
41 |
|
|
float normalizedChi2_;
|
42 |
|
|
|
43 |
|
|
public:
|
44 |
|
|
TCMuon();
|
45 |
|
|
TCMuon(const TCMuon& orig);
|
46 |
|
|
virtual ~TCMuon();
|
47 |
|
|
|
48 |
|
|
TVector3 Position() const;
|
49 |
|
|
TLorentzVector P4() const;
|
50 |
|
|
TVector2 P2() const;
|
51 |
|
|
|
52 |
|
|
float Et() const;
|
53 |
|
|
float Pt() const;
|
54 |
|
|
float Phi() const;
|
55 |
|
|
int Charge() const;
|
56 |
|
|
|
57 |
|
|
float SumPt03() const;
|
58 |
|
|
float EmEt03() const;
|
59 |
|
|
float HadEt03() const;
|
60 |
|
|
int NTracks03() const;
|
61 |
|
|
int numberOfValidPixelHits() const;
|
62 |
|
|
int numberOfValidTrackerHits() const;
|
63 |
|
|
int numberOfMissingPixelHits() const;
|
64 |
|
|
int numberOfMissingTrackerHits() const;
|
65 |
|
|
int numberOfValidMuonHits() const;
|
66 |
|
|
float dxy() const;
|
67 |
|
|
float dz() const;
|
68 |
|
|
float PFRelIso(float coneSize) const;
|
69 |
|
|
float PFSumPt(float coneSize) const; //cone size?
|
70 |
|
|
float PFEGamma(float coneSize) const;
|
71 |
|
|
float PFENeutral(float coneSize) const;
|
72 |
|
|
float normalizedChi2() const;
|
73 |
|
|
|
74 |
|
|
// "set" methods ---------
|
75 |
|
|
void SetPosition(float x, float y, float z);
|
76 |
|
|
void SetP4(TLorentzVector p4);
|
77 |
|
|
void SetP4(float px, float py, float pz, float e);
|
78 |
|
|
void SetsumPt03(float s);
|
79 |
|
|
void SetemEt03(float s);
|
80 |
|
|
void SethadEt03(float s);
|
81 |
|
|
void SetnTracks03(int n);
|
82 |
|
|
void SetPFSumPt(float coneSize, float f); //cone size?
|
83 |
|
|
void SetPFEGamma(float coneSize, float f);
|
84 |
|
|
void SetPFENeutral(float coneSize, float f);
|
85 |
|
|
void SetCharge(int c);
|
86 |
|
|
void SetnumberOfValidPixelHits(int n);
|
87 |
|
|
void SetnumberOfValidTrackerHits(int n);
|
88 |
|
|
void SetnumberOfMissingPixelHits(int n);
|
89 |
|
|
void SetnumberOfMissingTrackerHits(int n);
|
90 |
|
|
void SetnumberOfValidMuonHits(int n);
|
91 |
|
|
void SetnormalizedChi2(float n);
|
92 |
|
|
void SetDxy(float n);
|
93 |
|
|
void SetDz(float n);
|
94 |
|
|
|
95 |
|
|
ClassDef(TCMuon, 2);
|
96 |
|
|
|
97 |
|
|
};
|
98 |
|
|
|
99 |
|
|
#endif /* _TCJET_H */
|