Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set HCAL method 3 respons to 1.0 for data and MC. #17872

Merged
merged 1 commit into from Mar 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -88,7 +88,7 @@ def customizeHLTforHEforPhaseI(process):
timeSlewParsType = cms.int32(3), # 0: TestStand, 1:Data, 2:MC, 3:InputPars. Parametrization function is par0 + par1*log(fC+par2).
timeSlewPars = cms.vdouble(12.2999, -2.19142, 0, 12.2999, -2.19142, 0, 12.2999, -2.19142, 0),
# HB par0, HB par1, HB par2, BE par0, BE par1, BE par2, HE par0, HE par1, HE par2
respCorrM3 = cms.double(0.95) # This factor is used to align the the Method3 with the Method2 response
respCorrM3 = cms.double(1.0) # This factor is used to align the the Method3 with the Method2 response
),

# Reconstruction algorithm configuration data to fetch from DB, if any
Expand Down
4 changes: 3 additions & 1 deletion HLTrigger/Configuration/python/customizeHLTforMC.py
Expand Up @@ -28,6 +28,8 @@ def customizeHLTforMC(process):
if 'hltHbhePhase1Reco' in process.__dict__:
if process.hltHbhePhase1Reco._TypedParameterizable__type == 'HBHEPhase1Reconstructor':
# 2017 "plan 1"
process.hltHbhePhase1Reco.algorithm.respCorrM3 = cms.double( 1.0 )
# assume retuning the pulse shapes will give the same response
# in data and MC for Method 2 and Method 3
pass

return process
Expand Up @@ -6,5 +6,5 @@
pedestalUpperLimit = cms.double(2.7),
timeSlewParsType = cms.int32(3), # 0: TestStand, 1:Data, 2:MC, 3:InputPars. Parametrization function is par0 + par1*log(fC+par2).
timeSlewPars = cms.vdouble(12.2999, -2.19142, 0, 12.2999, -2.19142, 0, 12.2999, -2.19142, 0), # HB par0, HB par1, HB par2, BE par0, BE par1, BE par2, HE par0, HE par1, HE par2
respCorrM3 = cms.double(0.95) # This factor is used to align the the Method3 with the Method2 response
respCorrM3 = cms.double(1.0) # This factor is used to align the the Method3 with the Method2 response
)
2 changes: 1 addition & 1 deletion RecoLocalCalo/HcalRecProducers/src/HcalHitReconstructor.cc
Expand Up @@ -295,7 +295,7 @@ void HcalHitReconstructor::fillDescriptions(edm::ConfigurationDescriptions& desc
desc.add<double>("pedestalUpperLimit", 2.7);
desc.add<int>("timeSlewParsType",3);
desc.add<std::vector<double>>("timeSlewPars", { 12.2999, -2.19142, 0, 12.2999, -2.19142, 0, 12.2999, -2.19142, 0 });
desc.add<double>("respCorrM3", 0.95);
desc.add<double>("respCorrM3", 1.0);
descriptions.add("hltHbhereco",desc);
}

Expand Down
Expand Up @@ -66,7 +66,7 @@ void HcalSimpleReconstructor::fillDescriptions(edm::ConfigurationDescriptions& d
desc.add<double>("pedestalUpperLimit", 2.7);
desc.add<int>("timeSlewParsType",3);
desc.add<std::vector<double>>("timeSlewPars", { 12.2999, -2.19142, 0, 12.2999, -2.19142, 0, 12.2999, -2.19142, 0 });
desc.add<double>("respCorrM3", 0.95);
desc.add<double>("respCorrM3", 1.0);
descriptions.add("simpleHbhereco",desc);
}

Expand Down