Skip to content

Commit

Permalink
Merge pull request #4867 from zhenbinwu/JetMET_TP_SLHC16
Browse files Browse the repository at this point in the history
Turn off MET significance calculation in CaloMETs for SLHC
  • Loading branch information
cmsbuild committed Aug 7, 2014
2 parents 3860b31 + ce95529 commit 6206ac9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion RecoMET/METAlgorithms/interface/SignAlgoResolutions.h
Expand Up @@ -38,7 +38,7 @@

namespace metsig {

enum resolutionType { caloEE, caloEB, caloHE, caloHO, caloHF, caloHB, jet, electron, tau, muon,PFtype1,PFtype2, PFtype3, PFtype4, PFtype5, PFtype6, PFtype7, caloEK};
enum resolutionType { caloEE, caloEB, caloHE, caloHO, caloHF, caloHB, jet, electron, tau, muon,PFtype1,PFtype2, PFtype3, PFtype4, PFtype5, PFtype6, PFtype7 };
enum resolutionFunc { ET, PHI,TRACKP,CONSTPHI };

class SignAlgoResolutions{
Expand Down
6 changes: 0 additions & 6 deletions RecoMET/METAlgorithms/src/SignCaloSpecificAlgo.cc
Expand Up @@ -130,12 +130,6 @@ SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(edm::Handle<edm::View<reco::Cand
sign_tower_sigma_phi = resolutions.eval(metsig::caloEE,metsig::PHI,sign_tower_et,calotower->phi(),calotower->eta());

}
else if(subdet == EcalShashlik ){
sign_tower_type = "emcalotower";
sign_tower_et = calotower->emEt();
sign_tower_sigma_et = resolutions.eval(metsig::caloEK,metsig::ET,sign_tower_et,calotower->phi(),calotower->eta());
sign_tower_sigma_phi = resolutions.eval(metsig::caloEK,metsig::PHI,sign_tower_et,calotower->phi(),calotower->eta());
}
else{
edm::LogWarning("SignCaloSpecificAlgo") << " ECAL tower cell not assigned to an ECAL subdetector!!!" << std::endl;
}
Expand Down
8 changes: 4 additions & 4 deletions RecoMET/METProducers/python/CaloMET_cfi.py
Expand Up @@ -24,7 +24,7 @@
noHF = cms.bool(False),
globalThreshold = cms.double(0.3),
InputType = cms.string('CandidateCollection'),
calculateSignificance = cms.bool(True)
calculateSignificance = cms.bool(False)
)

metHO = met.clone()
Expand All @@ -40,7 +40,7 @@
noHF = cms.bool(False),
globalThreshold = cms.double(0.0),
InputType = cms.string('CandidateCollection'),
calculateSignificance = cms.bool(True)
calculateSignificance = cms.bool(False)
)

metOptHO = metOpt.clone()
Expand All @@ -56,7 +56,7 @@
noHF = cms.bool(True),
globalThreshold = cms.double(0.3),
InputType = cms.string('CandidateCollection'),
calculateSignificance = cms.bool(True)
calculateSignificance = cms.bool(False)
)

metNoHFHO = metNoHF.clone()
Expand All @@ -72,7 +72,7 @@
noHF = cms.bool(True),
globalThreshold = cms.double(0.0),
InputType = cms.string('CandidateCollection'),
calculateSignificance = cms.bool(True)
calculateSignificance = cms.bool(False)
)
metOptNoHFHO = metOptNoHF.clone()
metOptNoHFHO.src = "calotoweroptmakerWithHO"
Expand Down

0 comments on commit 6206ac9

Please sign in to comment.