Print

Print


Commit in slic on MAIN
src/SlicApplication.cc+2-31.60 -> 1.61
include/LCDD.hh-331.3 removed
+2-36
1 removed + 1 modified, total 2 files
remove unnecessary wrapper class

slic/src
SlicApplication.cc 1.60 -> 1.61
diff -u -r1.60 -r1.61
--- SlicApplication.cc	26 Jun 2013 01:57:02 -0000	1.60
+++ SlicApplication.cc	29 Oct 2013 20:29:43 -0000	1.61
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/SlicApplication.cc,v 1.60 2013/06/26 01:57:02 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/SlicApplication.cc,v 1.61 2013/10/29 20:29:43 jeremy Exp $
 
 // SLIC
 #include "SlicApplication.hh"
@@ -7,7 +7,6 @@
 #include "EventDebugger.hh"
 #include "FieldManager.hh"
 #include "SlicApplicationMessenger.hh"
-#include "LCDD.hh"
 #include "LcioManager.hh"
 #include "ModuleRegistry.hh"
 #include "PackageInfo.hh"
@@ -144,7 +143,7 @@
 
 void SlicApplication::initializeLCDD() {
 	// LCDD geometry subsystem.
-	m_runManager->SetUserInitialization((new LCDD())->getDetectorConstruction());
+	m_runManager->SetUserInitialization(new LCDDDetectorConstruction());
 }
 
 void SlicApplication::setMode(SlicApplication::ERunMode rmode) {

slic/include
LCDD.hh removed after 1.3
diff -N LCDD.hh
--- LCDD.hh	26 Jun 2013 01:57:02 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,33 +0,0 @@
-// $Id: LCDD.hh,v 1.3 2013/06/26 01:57:02 jeremy Exp $
-#ifndef SLIC_LCDD_HH
-#define SLIC_LCDD_HH 1
-
-// SLIC
-#include "Module.hh"
-
-// LCDD
-#include "lcdd/core/LCDDDetectorConstruction.hh"
-
-namespace slic {
-/**
- * The LCDDDetectorConstruction wrapped via a Module.
- */
-class LCDD: public Module {
-
-public:
-
-	LCDD() :
-			Module("LCDD"), m_det(0) {
-		m_det = new LCDDDetectorConstruction();
-	}
-
-	LCDDDetectorConstruction* getDetectorConstruction() {
-		return m_det;
-	}
-
-private:
-	LCDDDetectorConstruction* m_det;
-};
-}
-
-#endif
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1