lcio/src/cpp/src/UTIL
diff -u -r1.61 -r1.62
--- LCTOOLS.cc 26 Jun 2008 09:01:20 -0000 1.61
+++ LCTOOLS.cc 18 Nov 2008 10:57:47 -0000 1.62
@@ -1258,14 +1258,20 @@
pid->getAlgorithmType()
) ;
- const StringVec& pNames = pidH.getParameterNames( pid->getAlgorithmType() ) ;
-
- for(unsigned j=0;j< pNames.size() ;++j){
+ try{
+ const StringVec& pNames = pidH.getParameterNames( pid->getAlgorithmType() ) ;
+
+ for(unsigned j=0;j< pNames.size() ;++j){
- cout << " " << pNames[j]
- << " : " << pid->getParameters()[j] << "," ;
+ cout << " " << pNames[j]
+ << " : " << pid->getParameters()[j] << "," ;
- }
+ }
+ }
+ catch( UnknownAlgorithm &e ){
+ cout << "- NA - ";
+ }
+
cout << "]"<< endl ;