31 |
|
public: |
32 |
|
RecoilTools(TString iJetLowPtMVAFile ="$CMSSW_BASE/src/MitPhysics/data/mva_JetID_lowpt.weights.xml", |
33 |
|
TString iJetHighPtMVAFile="$CMSSW_BASE/src/MitPhysics/data/mva_JetID_highpt.weights.xml", |
34 |
< |
TString iCutFile ="$CMSSW_BASE/src/MitPhysics/Utils/python/JetIdParams_cfi.py"); |
34 |
> |
TString iCutFile ="$CMSSW_BASE/src/MitPhysics/Utils/python/JetIdParams_cfi.py", |
35 |
> |
bool i42=false,JetIDMVA::MVAType iType=JetIDMVA::kBaseline); |
36 |
|
~RecoilTools(); |
37 |
|
JetIDMVA *fJetIDMVA; |
38 |
|
|
39 |
|
Met pfRecoil(Double_t iVisPt,Double_t iVisPhi,Double_t iVisSumEt,const PFCandidateCol *iCands); |
40 |
+ |
void addType1(FourVectorM &iVec,Double_t &iSumEt, |
41 |
+ |
const PFJetCol *iJets,FactorizedJetCorrector *iJetCorrector,const PileupEnergyDensityCol *iPUEnergyDensity, |
42 |
+ |
double iPhi1,double iEta1,double iPhi2,double iEta2); |
43 |
+ |
|
44 |
+ |
Met pfRecoilType1(Double_t iVisPt,Double_t iVisPhi,Double_t iVisSumEt, |
45 |
+ |
const PFCandidateCol *iCands,const PFJetCol *iJets, |
46 |
+ |
FactorizedJetCorrector *iJetCorrector,const PileupEnergyDensityCol *iPUEnergyDensity, |
47 |
+ |
double iPhi1,double iEta1,double iPhi2,double iEta2); |
48 |
+ |
|
49 |
|
//Candidate filtered |
50 |
|
Met pfRecoil(double iPhi1,double iEta1,double iPhi2,double iEta2,const PFCandidateCol *iCands); |
51 |
+ |
Met pfCone (double iPhi1,double iEta1,const PFCandidateCol *iCands,const Vertex *iVertex,bool iCharge=false,Double_t iDZCut=0.3); |
52 |
|
|
53 |
|
Met trackMet(const PFCandidateCol *iCands,const Vertex *iVertex,Double_t iDZCut=0.1); |
54 |
|
|
176 |
|
const PFCandidateCol *iCands,const Vertex *iVertex,const VertexCol *iVertices,Double_t iRho, |
177 |
|
Double_t iPhi1=1000,Double_t iEta1=1000,Double_t iPhi2=1000,Double_t iEta2=1000, |
178 |
|
Double_t iDZCut=0.1); |
179 |
< |
|
179 |
> |
|
180 |
> |
bool f42; |
181 |
|
ClassDef(RecoilTools, 0) // Recoil tools |
182 |
|
}; |
183 |
|
} |