Skip to content

Commit

Permalink
Merge pull request #465 from kutschke/ExtMonSD_hotfix
Browse files Browse the repository at this point in the history
Only enable ExtMonFNALPixelSD when it is configured to be enabled.
  • Loading branch information
brownd1978 authored May 28, 2021
2 parents 17e70a2 + 6e22069 commit 244a330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mu2eG4/src/Mu2eWorld.cc
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ namespace mu2e {


/************************** ExtMonFNALPixelSD **************************/
if(true) { // this SD does not derive from Mu2eG4SensitiveDetector as it does not produce StepPointMCCollection
if( sdHelper_->extMonPixelsEnabled() ) {
GeomHandle<mu2e::ExtMonFNAL::ExtMon> extmon;
//SDman->AddNewDetector(new ExtMonFNALPixelSD(_config, *extmon));

Expand Down

0 comments on commit 244a330

Please sign in to comment.