Print

Print


Commit in slic on MAIN
include/LcioEventSource.hh+2-21.5 -> 1.6
src/LcioEventSource.cc+6-61.5 -> 1.6
+8-8
2 modified files
JM: Fix SLIC-109; removed redundant deletion of MCParticle collection (already done by LcioMcpManager)

slic/include
LcioEventSource.hh 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- LcioEventSource.hh	19 Oct 2005 22:51:08 -0000	1.5
+++ LcioEventSource.hh	23 Feb 2006 00:00:06 -0000	1.6
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/include/LcioEventSource.hh,v 1.5 2005/10/19 22:51:08 jeremy Exp $
+// $Header: /cvs/lcd/slic/include/LcioEventSource.hh,v 1.6 2006/02/23 00:00:06 jeremy Exp $
 #ifndef slic_LcioEventSource_hh
 #define slic_LcioEventSource_hh 1
 
@@ -46,7 +46,7 @@
 
     virtual void beginEvent(const G4Event* anEvent);
 
-    virtual void endEvent(const G4Event*);
+    //virtual void endEvent(const G4Event*);
 
     EVENT::LCCollection* getCurrentMcpLCCollection() const;
 

slic/src
LcioEventSource.cc 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- LcioEventSource.cc	19 Oct 2005 22:51:16 -0000	1.5
+++ LcioEventSource.cc	23 Feb 2006 00:00:06 -0000	1.6
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/LcioEventSource.cc,v 1.5 2005/10/19 22:51:16 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/LcioEventSource.cc,v 1.6 2006/02/23 00:00:06 jeremy Exp $
 #include "LcioEventSource.hh"
 
 // slic
@@ -89,11 +89,11 @@
       ->setInitialMcpCollection( m_filter->filterSimParticles( getCurrentMcpLCCollection() ) );
   }
 
-  void LcioEventSource::endEvent(const G4Event*)
-  {
-    // delete reader's coll (should no longer be needed)
-    delete getCurrentMcpLCCollection();
-  }
+  //void LcioEventSource::endEvent(const G4Event*)
+  //{
+  // delete reader's coll (should no longer be needed)
+  //delete getCurrentMcpLCCollection();
+  //}
 
   EVENT::LCCollection* LcioEventSource::getCurrentMcpLCCollection() const
   {
CVSspam 0.2.8