Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
civanch committed Nov 20, 2022
1 parent 07e50c7 commit 841fbf2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion SimG4Core/Application/python/g4SimHits_cfi.py
Expand Up @@ -91,7 +91,6 @@
ThresholdForGeometryExceptions = cms.double(0.1), ## in GeV
TraceExceptions = cms.bool(False),
DefaultVoxelDensity = cms.double(2.0),
NumberOfVoxelRegions = cms.int32(0),
VoxelRegions = cms.vstring(),
VoxelDensityPerRegion = cms.vdouble(),
CheckGeometry = cms.untracked.bool(False),
Expand Down
2 changes: 1 addition & 1 deletion SimG4Core/Application/src/RunManagerMT.cc
Expand Up @@ -336,7 +336,7 @@ void RunManagerMT::checkVoxels() {
void RunManagerMT::setupVoxels() {
double density = m_p.getParameter<double>("DefaultVoxelDensity");
std::vector<std::string> rnames = m_p.getParameter<std::vector<std::string> >("VoxelRegions");
std::vector<double> rdensities = m_p.getParameter<std::vector<double> >("VoxelDensityPerRegions");
std::vector<double> rdensities = m_p.getParameter<std::vector<double> >("VoxelDensityPerRegion");
int nr = 0;
std::size_t n = rnames.size();
if (n == rdensities.size()) {
Expand Down

0 comments on commit 841fbf2

Please sign in to comment.