| Summary: | G4ScoringBox.cc bug | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Li Chuanlong <chuanlong.li> |
| Component: | digits_hits/utils | Assignee: | asai |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | ||
| Priority: | P5 | ||
| Version: | 9.6 | ||
| Hardware: | All | ||
| OS: | All | ||
in example RE03, in run2.mac boxMesh_2c nbins is 50 50 25. when use cmd "/score/drawColumn boxMesh_2c nOfStepGamma 0 49" the column with xy plane will be out of the mesh box_2c. but the bins along z axes is 25 and bins along x axes is 50 ,it can only draw "/score/drawColumn boxMesh_2c nOfStepGamma 2 24" "/score/drawColumn boxMesh_2c nOfStepGamma 2 49" with get error messeage "49 is out of 24". Thank you for reporting this issue. Makoto Thank you once again for reporting this issue. The fix will be delivered with the next public release. Makoto |
423 if(idxColumn<0 || idxColumn>=fNSegment[idxProj]) 424 { 425 G4cerr << "ERROR : Column number " << idxColumn << " is out of scoring mesh [0," << fNSegment[idxProj]-1 << 426 "]. Method ignored." << G4endl; 427 return; 428 } "fNSegment[idxProj]" in line 423 and 425 should be "fNSegment[2-idxProj]" The bug will make draw wrong position column with cmd "score/drawColumn".