Skip to content

Commit

Permalink
Merge pull request #17 from PFCal-dev/hgcal_eol_pulse_update_112X_six
Browse files Browse the repository at this point in the history
Minor edits to tester
  • Loading branch information
Giovanni Franzoni authored Jul 16, 2020
2 parents 846f094 + a22c7f7 commit b43af76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions SimCalorimetry/HGCalSimAlgos/test/HGCSiNoiseMapAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ HGCSiNoiseMapAnalyzer::HGCSiNoiseMapAnalyzer(const edm::ParameterSet &iConfig) {
//configure the dose map
std::string doseMapURL(iConfig.getParameter<std::string>("doseMap"));
unsigned int doseMapAlgo(iConfig.getParameter<unsigned int>("doseMapAlgo"));
double scaleByDoseFactor =
iConfig.getParameter<edm::ParameterSet>("noise_fC").getParameter<double>("scaleByDoseFactor");
double scaleByDoseFactor(iConfig.getParameter<double>("scaleByDoseFactor"));
std::vector<double> ileakParam(
iConfig.getParameter<edm::ParameterSet>("ileakParam").template getParameter<std::vector<double>>("ileakParam"));
std::vector<double> cceParamFine(
Expand Down
3 changes: 2 additions & 1 deletion SimCalorimetry/HGCalSimAlgos/test/hgcsiNoiseMapTester_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
process = cms.Process("demo",eras.Phase2C8)

process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
process.load('Configuration.Geometry.GeometryExtended2026D41Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')

Expand All @@ -20,6 +20,7 @@

from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import HGCAL_ileakParam_toUse, HGCAL_cceParams_toUse
process.plotter_eol = cms.EDAnalyzer("HGCSiNoiseMapAnalyzer",
scaleByDoseFactor = cms.double(1.),
doseMap = cms.string( options.doseMap ),
doseMapAlgo = cms.uint32(0),
ileakParam = HGCAL_ileakParam_toUse,
Expand Down

0 comments on commit b43af76

Please sign in to comment.