1 |
/*
|
2 |
* File: TCJet.h
|
3 |
* Author: Anton A.
|
4 |
*
|
5 |
* Created on April 30, 2010, 2:49 PM
|
6 |
*/
|
7 |
|
8 |
#ifndef _TCJET_H
|
9 |
#define _TCJET_H
|
10 |
|
11 |
#include "TObject.h"
|
12 |
#include "TLorentzVector.h"
|
13 |
#include "TVector2.h"
|
14 |
|
15 |
class TCJet : public TLorentzVector {
|
16 |
private:
|
17 |
TVector3 _vtx;
|
18 |
// TVector3 _assocPV;
|
19 |
float _vtxSumPtFrac;
|
20 |
float _vtxSumPt;
|
21 |
float _vtxTrackFrac;
|
22 |
float _vtxNTracks;
|
23 |
unsigned int _vtxSumPtIndex;
|
24 |
unsigned int _vtxCountIndex;
|
25 |
|
26 |
float _jesUncertainty;
|
27 |
|
28 |
float _chHadFrac;
|
29 |
float _neuHadFrac;
|
30 |
float _chEmFrac;
|
31 |
float _neuEmFrac;
|
32 |
|
33 |
unsigned int _numConstit;
|
34 |
unsigned int _numChPart;
|
35 |
|
36 |
// b tagging discriminators
|
37 |
float _bDiscrTCHP;
|
38 |
float _bDiscrTCHE;
|
39 |
float _bDiscrSSVHE;
|
40 |
float _bDiscrSSVHP;
|
41 |
float _bDiscrJP;
|
42 |
float _bDiscrJBP;
|
43 |
float _bDiscrCSV;
|
44 |
int _jetFlavor;
|
45 |
|
46 |
public:
|
47 |
TCJet();
|
48 |
virtual ~TCJet();
|
49 |
|
50 |
// "get" methods -----------
|
51 |
|
52 |
TVector2 P2() const;
|
53 |
|
54 |
float ChHadFrac() const;
|
55 |
float NeuHadFrac() const;
|
56 |
float ChEmFrac() const;
|
57 |
float NeuEmFrac() const;
|
58 |
|
59 |
unsigned int NumConstit() const;
|
60 |
unsigned int NumChPart() const;
|
61 |
|
62 |
TVector3 Vtx() const;
|
63 |
float VtxSumPtFrac() const;
|
64 |
float VtxSumPt() const;
|
65 |
float VtxTrackFrac() const;
|
66 |
int VtxNTracks() const;
|
67 |
unsigned int VtxSumPtIndex() const;
|
68 |
unsigned int VtxCountIndex() const;
|
69 |
// TVector3 AssocVtx() const;
|
70 |
float UncertaintyJES() const;
|
71 |
|
72 |
// b tagging discriminators
|
73 |
float BDiscrTCHP() const;
|
74 |
float BDiscrTCHE() const;
|
75 |
float BDiscrSSVHE() const;
|
76 |
float BDiscrSSVHP() const;
|
77 |
float BDiscrJP() const;
|
78 |
float BDiscrJBP() const;
|
79 |
float BDiscrCSV() const;
|
80 |
int JetFlavor() const;
|
81 |
|
82 |
// "set" methods ---------
|
83 |
void SetVtx(float vx, float vy, float vz);
|
84 |
void SetVtxSumPtFrac(float f);
|
85 |
void SetVtxSumPt(float p);
|
86 |
void SetVtxTrackFrac(float f);
|
87 |
void SetVtxNTracks(int n);
|
88 |
void SetVtxSumPtIndex(unsigned int i);
|
89 |
void SetVtxCountIndex(unsigned int i);
|
90 |
|
91 |
void SetChHadFrac(float c);
|
92 |
void SetNeuHadFrac(float n);
|
93 |
void SetChEmFrac(float c);
|
94 |
void SetNeuEmFrac(float n);
|
95 |
void SetNumConstit(unsigned int n);
|
96 |
void SetNumChPart(unsigned int n);
|
97 |
void SetUncertaintyJES(float u);
|
98 |
|
99 |
// b tagging discriminators
|
100 |
// see the corresponding class members for description
|
101 |
void SetBDiscrTCHE(float d);
|
102 |
void SetBDiscrTCHP(float d);
|
103 |
void SetBDiscrSSVHE(float d);
|
104 |
void SetBDiscrSSVHP(float d);
|
105 |
void SetBDiscrJP(float d);
|
106 |
void SetBDiscrJBP(float d);
|
107 |
void SetBDiscrCSV(float d);
|
108 |
|
109 |
void SetJetFlavor(float f);
|
110 |
|
111 |
ClassDef(TCJet, 1);
|
112 |
|
113 |
};
|
114 |
|
115 |
#endif /* _TCJET_H */
|
116 |
|