Project

General

Profile

Bug #381

MICEDetectorConstruction.cc pStepper always NULL before trying to find stepping type

Added by Tunnell, Christopher over 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Simulation
Target version:
Start date:
19 March 2011
Due date:
% Done:

100%

Estimated time:
Workflow:
Awaiting Merge

Description

in 348, pStepper is set to NULL. However, a few lines later at 368 the value of pStepper is checked if it is null in an If then there is a long long list of elses that can never be seen. The whole 'if' statement in the first place doesn't do anything.

Suggestion: delete all the else's until we need them since I think they are dead relics of G4MICE (or we can always bring them back).

Also available in: Atom PDF