155 |
|
|
156 |
|
if(!JetTools::passPFLooseId(iJet)) return false; |
157 |
|
if(iJet->Pt() < fJetPtMin) return false; |
158 |
< |
if(fabs(iJet->Eta()) > 4.99) return true; //==> Castor |
159 |
< |
//if(iJet->Pt() > 50) return true; //==> we can raise this |
158 |
> |
if(fabs(iJet->Eta()) > 4.99) return false; |
159 |
|
|
160 |
|
double lMVA = MVAValue (iJet,iVertex,iVertices,iJetCorrector,iPileupEnergyDensity); |
161 |
|
double lPt = correctedPt(iJet, iJetCorrector,iPileupEnergyDensity); |
162 |
< |
|
162 |
> |
if(lPt > 50) return true; //==> we can raise this |
163 |
> |
|
164 |
|
int lPtId = 0; |
165 |
< |
if(lPt > 10 && iJet->Pt() < 20) lPtId = 1; |
166 |
< |
if(lPt > 20 && iJet->Pt() < 30) lPtId = 2; |
165 |
> |
if(lPt > 10 && lPt < 20) lPtId = 1; |
166 |
> |
if(lPt > 20 && lPt < 30) lPtId = 2; |
167 |
|
if(lPt > 30 ) lPtId = 3; |
168 |
|
|
169 |
|
int lEtaId = 0; |
184 |
|
Bool_t JetIDMVA::pass(const PFJet *iJet,const Vertex *iVertex,const VertexCol *iVertices) { |
185 |
|
if(!JetTools::passPFLooseId(iJet)) return false; |
186 |
|
if(iJet->Pt() < fJetPtMin) return false; |
187 |
< |
//if(iJet->Pt() > 50) return true; //==> we can raise this |
188 |
< |
if(fabs(iJet->Eta()) > 4.99) return true; //==> Castor |
187 |
> |
if(iJet->Pt() > 50) return true; //==> we can raise this |
188 |
> |
if(fabs(iJet->Eta()) > 4.99) return false; |
189 |
|
double lMVA = MVAValue(iJet,iVertex,iVertices); |
190 |
|
|
191 |
|
int lPtId = 0; |