ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/PollackPrograms/src/TCJet.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: +76 -95 lines
Log Message:
commiting moriond analysis package

File Contents

# Content
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 #include "TCPhysObject.h"
15
16 class TCJet : public TCPhysObject {
17 private:
18 float _vtxSumPtFrac;
19 float _vtxSumPt;
20 float _vtxTrackFrac;
21 float _vtxNTracks;
22 unsigned int _vtxSumPtIndex;
23 unsigned int _vtxCountIndex;
24
25 float _jesUncertainty;
26
27 float _chHadFrac;
28 float _neuHadFrac;
29 float _chEmFrac;
30 float _neuEmFrac;
31
32 unsigned int _numConstit;
33 unsigned int _numChPart;
34
35 // b tagging discriminators
36 map<string, float> _bDiscrMap;
37
38 // Jet flavor
39 int _jetFlavor;
40
41 public:
42 TCJet();
43 virtual ~TCJet();
44
45
46 float ChHadFrac() const;
47 float NeuHadFrac() const;
48 float ChEmFrac() const;
49 float NeuEmFrac() const;
50
51 unsigned int NumConstit() const;
52 unsigned int NumChPart() const;
53
54 float VtxSumPtFrac() const;
55 float VtxSumPt() const;
56 float VtxTrackFrac() const;
57 int VtxNTracks() const;
58 unsigned int VtxSumPtIndex() const;
59 unsigned int VtxCountIndex() const;
60
61 float UncertaintyJES() const;
62
63 // b tagging discriminators
64 float BDiscriminatorMap(string key);
65
66 // Jet flavor
67 int JetFlavor() const;
68
69 // "set" methods ---------
70 void SetVtxSumPtFrac(float f);
71 void SetVtxSumPt(float p);
72 void SetVtxTrackFrac(float f);
73 void SetVtxNTracks(int n);
74 void SetVtxSumPtIndex(unsigned int i);
75 void SetVtxCountIndex(unsigned int i);
76
77 void SetChHadFrac(float c);
78 void SetNeuHadFrac(float n);
79 void SetChEmFrac(float c);
80 void SetNeuEmFrac(float n);
81 void SetNumConstit(unsigned int n);
82 void SetNumChPart(unsigned int n);
83 void SetUncertaintyJES(float u);
84
85 // b tagging discriminators
86 // see the corresponding class members for description
87 void SetBDiscriminatorMap(string key, float val);
88
89 // Jet flavor
90 void SetJetFlavor(float f);
91
92 ClassDef(TCJet, 1);
93
94 };
95
96 #endif /* _TCJET_H */
97