Skip to content

Commit

Permalink
fix flipped name for photon pt sum calculation in endcaps
Browse files Browse the repository at this point in the history
  • Loading branch information
webermat committed Jul 23, 2015
1 parent fa2727a commit 6047510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DQMOffline/JetMET/src/METAnalyzer.cc
Expand Up @@ -1781,15 +1781,15 @@ void METAnalyzer::fillMonitorElement(const edm::Event& iEvent, std::string DirNa
if(c.eta()>(-3.0)&& c.eta()<(-1.479)){
px_PhotonsEndcapMinus-=c.px();
py_PhotonsEndcapMinus-=c.py();
pt_sum_PhF_Endcap_plus+=c.et();
pt_sum_PhF_Endcap_minus+=c.et();
}else if(c.eta()>=(-1.479)&& c.eta()<=1.479){
px_PhotonsBarrel-=c.px();
py_PhotonsBarrel-=c.py();
pt_sum_PhF_Barrel+=c.et();
}else if(c.eta()>1.479 && c.eta()<3.0){
px_PhotonsEndcapPlus-=c.px();
py_PhotonsEndcapPlus-=c.py();
pt_sum_PhF_Endcap_minus+=c.et();
pt_sum_PhF_Endcap_plus+=c.et();
}
}
if(c.particleId()==6){//HFHadrons
Expand Down

0 comments on commit 6047510

Please sign in to comment.