Skip to content

Commit

Permalink
Fix pu geometry bug (cms-sw#245)
Browse files Browse the repository at this point in the history
* fix pu geometry bug

* temporary JEC payloads
  • Loading branch information
stepobr authored Jul 29, 2019
1 parent 266063b commit 153b789
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@
process.akPu4Calocorr.payload = "AK4Calo"
process.akPu4PFcorr.payload = "AK4PF"
process.akCs4PFcorr.payload = "AK4PF"
process.akFlowPuCs4PFcorr.payload = "AK4PF"
process.akPu3Calocorr.payload = "AK4Calo"
process.akPu3PFcorr.payload = "AK3PF"
process.akCs3PFcorr.payload = "AK3PF"
process.akFlowPuCs3PFcorr.payload = "AK3PF"
process.akPu3PFJets.jetPtMin = 1
process.akPu4PFJets.jetPtMin = 1

process.load('HeavyIonsAnalysis.JetAnalysis.hiFJRhoAnalyzer_cff')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,14 @@
process.akPu4Calocorr.payload = "AK4Calo"
process.akPu4PFcorr.payload = "AK4PF"
process.akCs4PFcorr.payload = "AK4PF"
process.akFlowPuCs4PFcorr.payload = "AK4PF"
process.akPu3Calocorr.payload = "AK4Calo"
process.akPu3PFcorr.payload = "AK3PF"
process.akCs3PFcorr.payload = "AK3PF"
process.akFlowPuCs3PFcorr.payload = "AK3PF"
process.akPu3PFJets.jetPtMin = 1
process.akPu4PFJets.jetPtMin = 1


process.load('HeavyIonsAnalysis.JetAnalysis.hiFJRhoAnalyzer_cff')
process.load("HeavyIonsAnalysis.JetAnalysis.pfcandAnalyzer_cfi")
process.pfcandAnalyzer.doTrackMatching = cms.bool(True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@
process.akPu4PFcorr.payload = "AK4PF"
process.akCs4PFcorr.payload = "AK4PF"
process.ak4PFcorr.payload = "AK4PF"
process.akFlowPuCs4PFcorr.payload = "AK4PF"
process.akPu3Calocorr.payload = "AK4Calo"
process.akPu3PFcorr.payload = "AK3PF"
process.akCs3PFcorr.payload = "AK3PF"
process.ak3PFcorr.payload = "AK3PF"
process.akFlowPuCs3PFcorr.payload = "AK3PF"
process.akPu3PFJets.jetPtMin = 1
process.akPu4PFJets.jetPtMin = 1


Expand Down
2 changes: 0 additions & 2 deletions RecoHI/HiJetAlgos/src/ParametrizedSubtractor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ void ParametrizedSubtractor::setupGeometryMap(edm::Event& iEvent,const edm::Even
for(std::vector<DetId>::const_iterator did=alldid.begin(); did != alldid.end(); did++){
if( (*did).det() == DetId::Hcal ){
HcalDetId hid = HcalDetId(*did);
if( (hid).depth() == 1 ) {
allgeomid_.push_back(*did);

if((hid).ieta() != ietaold){
Expand All @@ -89,7 +88,6 @@ void ParametrizedSubtractor::setupGeometryMap(edm::Event& iEvent,const edm::Even
else{
geomtowers_[(hid).ieta()]++;
}
}
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions RecoJets/JetProducers/src/PileUpSubtractor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ void PileUpSubtractor::setupGeometryMap(edm::Event& iEvent,const edm::EventSetup
for(std::vector<DetId>::const_iterator did=alldid.begin(); did != alldid.end(); did++){
if( (*did).det() == DetId::Hcal ){
HcalDetId hid = HcalDetId(*did);
if( (hid).depth() == 1 ) {
allgeomid_.push_back(*did);

if((hid).ieta() != ietaold){
Expand All @@ -85,7 +84,6 @@ void PileUpSubtractor::setupGeometryMap(edm::Event& iEvent,const edm::EventSetup
else{
geomtowers_[(hid).ieta()]++;
}
}
}
}
}
Expand Down

0 comments on commit 153b789

Please sign in to comment.