Print

Print


Commit in lcio/src on MAIN
aid/EVENT/ParticleID.aid+5-41.10 -> 1.11
cpp/include/IMPL/ParticleIDImpl.h+9-41.10 -> 1.11
cpp/src/IMPL/ParticleIDImpl.cc+41.7 -> 1.8
+18-8
3 modified files
clarified documentation for collection parameters

lcio/src/aid/EVENT
ParticleID.aid 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- ParticleID.aid	3 Aug 2006 16:53:35 -0000	1.10
+++ ParticleID.aid	30 May 2008 13:23:27 -0000	1.11
@@ -13,7 +13,7 @@
  *  for different hypotheses on the particle type.
  * 
  * @author gaede
- * @version $Id: ParticleID.aid,v 1.10 2006/08/03 16:53:35 gaede Exp $
+ * @version $Id: ParticleID.aid,v 1.11 2008/05/30 13:23:27 gaede Exp $
  * @see ReconstructedParticle.getParticleIDs()
  * @see Cluster.getParticleIDs()
  */
@@ -48,13 +48,14 @@
      */
     public float getLikelihood() const ;	
     
-    /** Type of the algorithm/module that created this hypothesis. 
-     * Check/set collection parameters PIDAlgorithmTypeName and PIDAlgorithmTypeID.
+    /** Type of the algorithm/module that created this hypothesis - NOTE: must be unique within one 
+     *  collection.  
+     *  Check/set collection parameters PIDAlgorithmTypeName and PIDAlgorithmTypeID.
      */
     public  int getAlgorithmType() const ;	
     
     /** Parameters associated with this hypothesis.
-     * Check/set collection paramter PIDParameterNames for decoding the indices.
+     * Check/set collection parameters ParameterNames_PIDAlgorithmTypeName for decoding the indices.
      */
     public const FloatVec& getParameters() const ;
     

lcio/src/cpp/include/IMPL
ParticleIDImpl.h 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- ParticleIDImpl.h	4 Aug 2006 16:52:46 -0000	1.10
+++ ParticleIDImpl.h	30 May 2008 13:23:27 -0000	1.11
@@ -23,7 +23,7 @@
  *
  * @see ParticleID
  * @author gaede
- * @version $Id: ParticleIDImpl.h,v 1.10 2006/08/04 16:52:46 gaede Exp $
+ * @version $Id: ParticleIDImpl.h,v 1.11 2008/05/30 13:23:27 gaede Exp $
  */
 
   class ParticleIDImpl : public EVENT::ParticleID, public AccessChecked {
@@ -51,16 +51,21 @@
      */
     virtual float getLikelihood() const ;
 
-    /** Type of the algorithm/module that created this hypothesis. 
-     * Check/set collection parameters PIDAlgorithmTypeName and PIDAlgorithmTypeID.
+    /** Type of the algorithm/module that created this hypothesis - NOTE: must be unique within one 
+     *  collection.  
+     *  Check/set collection parameters PIDAlgorithmTypeName and PIDAlgorithmTypeID.
      */
     virtual  int getAlgorithmType() const ;
 
     /** Parameters associated with this hypothesis.
-     * Check/set collection paramter PIDParameterNames for decoding the indices.
+     * Check/set collection parameter ParameterNames_PIDAlgorithmTypeName for decoding the indices.
      */
     virtual const EVENT::FloatVec & getParameters() const ;
 
+    /**Access to parameters associated with this hypothesis.
+     */
+    virtual EVENT::FloatVec& parameters() ;
+
     // setters
     void setType( int type ) ;
     void setPDG( int pdg ) ;

lcio/src/cpp/src/IMPL
ParticleIDImpl.cc 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- ParticleIDImpl.cc	15 Apr 2005 08:37:46 -0000	1.7
+++ ParticleIDImpl.cc	30 May 2008 13:23:27 -0000	1.8
@@ -27,6 +27,10 @@
     return _parameters ;
   }
 
+  EVENT::FloatVec& ParticleIDImpl::parameters() {
+    return _parameters ;
+  }
+
   void ParticleIDImpl::setType( int type ){
     checkAccess("ParticleIDImpl::setType") ;
     _type = type ;
CVSspam 0.2.8