Print

Print


Commit in lcio/src/cpp/src/IMPL on MAIN
ReconstructedParticleImpl.cc+2-11.10 -> 1.11
allow adding PID for 'read only' particles (read from file)

lcio/src/cpp/src/IMPL
ReconstructedParticleImpl.cc 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- ReconstructedParticleImpl.cc	21 Sep 2006 06:10:42 -0000	1.10
+++ ReconstructedParticleImpl.cc	30 May 2008 14:04:51 -0000	1.11
@@ -160,7 +160,8 @@
   }
 
   void ReconstructedParticleImpl::addParticleID( ParticleID* pid ){
-    checkAccess("ReconstructedParticleImpl::addParticleID" );
+    // adding a PID should also be possible w/ read only data
+    //    checkAccess("ReconstructedParticleImpl::addParticleID" );
     _pid.push_back( pid ) ;
     // sort wrt. probability
     sort( _pid.begin() , _pid.end() , PIDSort()  ) ;
CVSspam 0.2.8