slic/include
diff -N PhysicsListBuilder.hh
--- PhysicsListBuilder.hh 6 Nov 2013 00:23:35 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,75 +0,0 @@
-#ifndef SLIC_PHYSICSLISTBUILDER_HH
-#define SLIC_PHYSICSLISTBUILDER_HH 1
-
-#include "G4VUserPhysicsList.hh"
-
-namespace slic {
-
-/**
- * @class VPhysicsListBuilder
- * @brief Abstract class for building a single physics list such as LHEP.
- */
-class VPhysicsListBuilder {
-
-public:
-
- /**
- * Class constructor.
- * @param[in] name The name of the VPhysicsListBuilder.
- * @param[in] description The description of the builder.
- */
- VPhysicsListBuilder(const G4String& name, const G4String& description) :
- m_name(name), m_description(description) {
- }
-
- /**
- *
- */
- virtual ~VPhysicsListBuilder() {
- ;
- }
-
-public:
-
- const G4String& getName() {
- return m_name;
- }
-
- const G4String& getDescription() {
- return m_description;
- }
-
- virtual G4VUserPhysicsList* create() const = 0;
-
-private:
-
- G4String m_name;
- G4String m_description;
-
-};
-
-/**
- * @class TPhysicsListBuilder
- * @brief Templated VPhysicsListBuilder for returning a concrete
- * physics list object, such as LHEP.
- */
-template<class T>
-class TPhysicsListBuilder: public VPhysicsListBuilder {
-public:
- TPhysicsListBuilder(const G4String& name, const G4String& description) :
- VPhysicsListBuilder(name, description) {
- }
-
- virtual ~TPhysicsListBuilder() {
- ;
- }
-
-public:
-
- virtual G4VUserPhysicsList* create() const {
- return new T();
- }
-};
-} // namespace slic
-
-#endif
slic/src
diff -u -r1.28 -r1.29
--- PhysicsListManager.cc 27 Nov 2012 19:32:19 -0000 1.28
+++ PhysicsListManager.cc 6 Nov 2013 16:24:10 -0000 1.29
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/PhysicsListManager.cc,v 1.28 2012/11/27 19:32:19 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/PhysicsListManager.cc,v 1.29 2013/11/06 16:24:10 jeremy Exp $
#include "PhysicsListManager.hh"
// geant4
@@ -48,7 +48,6 @@
#endif
// Create the physics list from the name argument.
- //m_currentList = PhysicsListFactory::instance()->create(m_currentListName);
m_currentList = m_factory->GetReferencePhysList(m_currentListName);
// Enable optical processes.