39 |
|
kBaseline = 0, |
40 |
|
k42 = 1, |
41 |
|
k52 = 2, |
42 |
< |
kCut = 3 |
42 |
> |
kCut = 3, |
43 |
> |
kQGP = 4 |
44 |
|
}; |
45 |
|
|
46 |
|
enum CutType { |
55 |
|
TString iHighPtWeights="$CMSSW_BASE/src/MitPhysics/data/mva_JetID_highpt.weights.xml", |
56 |
|
JetIDMVA::MVAType iType=kBaseline, |
57 |
|
TString iCutFileName ="$CMSSW_BASE/src/MitPhysics/Utils/python/JetIdParams_cfi.py"); |
58 |
< |
|
58 |
> |
|
59 |
|
Bool_t IsInitialized() const { return fIsInitialized; } |
60 |
|
Double_t MVAValue( |
61 |
|
Float_t iNPV , |
79 |
|
//Cut Based |
80 |
|
Bool_t passCut(const PFJet *iJet,const Vertex *iVertex,const VertexCol *iVertices); |
81 |
|
|
82 |
+ |
Bool_t passPt(const PFJet *iJet, FactorizedJetCorrector *iJetCorrector=0, |
83 |
+ |
const PileupEnergyDensityCol *iPileupEnergyDensity=0, |
84 |
+ |
RhoUtilities::RhoType type=RhoUtilities::DEFAULT); |
85 |
|
//UNcorrected Jets |
86 |
|
Bool_t pass(const PFJet *iJet,const Vertex *iVertex,const VertexCol *iVertices, |
87 |
|
FactorizedJetCorrector *iJetCorrector, |
97 |
|
const PileupEnergyDensityCol *iPileupEnergyDensity, |
98 |
|
Bool_t printDebug=false); |
99 |
|
|
100 |
+ |
Double_t* QGValue(const PFJet *iJet,const Vertex *iVertex,const VertexCol *iVertices, //Vertex here is the PV |
101 |
+ |
FactorizedJetCorrector *iJetCorrector, |
102 |
+ |
const PileupEnergyDensityCol *iPileupEnergyDensity, |
103 |
+ |
Bool_t printDebug); |
104 |
+ |
|
105 |
|
//Corrected Jets |
106 |
|
Double_t MVAValue(const PFJet *iJet,const Vertex *iVertex,const VertexCol *iVertices, |
107 |
|
Bool_t printDebug=false); |
109 |
|
|
110 |
|
double correctedPt(const PFJet *iJet, FactorizedJetCorrector *iJetCorrector, |
111 |
|
const PileupEnergyDensityCol *iPUEnergyDensity, |
112 |
< |
RhoUtilities::RhoType type = RhoUtilities::DEFAULT); |
112 |
> |
RhoUtilities::RhoType type = RhoUtilities::DEFAULT,int iId=-1); |
113 |
|
|
114 |
|
Float_t fJetPtMin; |
115 |
|
Float_t fDZCut; |
136 |
|
Float_t fBetaStar ; |
137 |
|
Float_t fNCharged ; |
138 |
|
Float_t fNNeutrals; |
139 |
+ |
Float_t fNParticles; |
140 |
|
Float_t fDRMean ; |
141 |
+ |
Float_t fPtD ; |
142 |
|
Float_t fFrac01 ; |
143 |
|
Float_t fFrac02 ; |
144 |
|
Float_t fFrac03 ; |