Author: [log in to unmask]
Date: Tue Sep 29 16:36:11 2015
New Revision: 3663
Log:
Initialize TrackManager and MCParticleManager so log macros are accessible in preinit.
Modified:
projects/slic/trunk/src/SlicApplication.cc
Modified: projects/slic/trunk/src/SlicApplication.cc
=============================================================================
--- projects/slic/trunk/src/SlicApplication.cc (original)
+++ projects/slic/trunk/src/SlicApplication.cc Tue Sep 29 16:36:11 2015
@@ -5,9 +5,11 @@
#include "FieldManager.hh"
#include "SlicApplicationMessenger.hh"
#include "LcioManager.hh"
+#include "MCParticleManager.hh"
#include "ModuleRegistry.hh"
#include "PackageInfo.hh"
#include "RunManager.hh"
+#include "TrackManager.hh"
#include "TimeUtil.hh"
#include "HepPDTManager.hh"
#include "VRML2WriterMessenger.hh"
@@ -100,6 +102,12 @@
// Setup the LCDD subsystem.
initializeLCDD();
+
+ // Initialize the tracker manager.
+ TrackManager::instance();
+
+ // Initialize the MCParticle manager.
+ MCParticleManager::instance();
// Initialize visualization.
#ifdef G4VIS_USE
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1
|