Print

Print


Commit in lcio on MAIN
config/lcio.properties+2-11.52 -> 1.53
src/aid/EVENT/Vertex.aid+83added 1.1
+85-1
1 added + 1 modified, total 2 files
intitial proposal of/for a vertex class

lcio/config
lcio.properties 1.52 -> 1.53
diff -u -r1.52 -r1.53
--- lcio.properties	24 Apr 2006 22:08:33 -0000	1.52
+++ lcio.properties	24 May 2006 15:17:08 -0000	1.53
@@ -1,7 +1,7 @@
 # ANT property file for LCIO
 #
 # Author: Mark Donszelmann
-# Version: $Id: lcio.properties,v 1.52 2006/04/24 22:08:33 jeremy Exp $
+# Version: $Id: lcio.properties,v 1.53 2006/05/24 15:17:08 gaede Exp $
 #
 debug=true
 
@@ -56,6 +56,7 @@
 		src/aid/EVENT/LCRunHeader.aid \
 		src/aid/EVENT/LCFlag.aid \
                 src/aid/EVENT/ParticleID.aid \
+                src/aid/EVENT/Vertex.aid \
                 src/aid/EVENT/ReconstructedParticle.aid \
 		src/aid/IO/LCReader.aid \
                 src/aid/IO/LCWriter.aid \

lcio/src/aid/EVENT
Vertex.aid added at 1.1
diff -N Vertex.aid
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Vertex.aid	24 May 2006 15:17:09 -0000	1.1
@@ -0,0 +1,83 @@
+package hep.lcio.event;
+
+@ifdef cpp
+@cpp{
+class Vertex ;
+typedef std::vector<Vertex*> VertexVec ;
+}
+@endif
+
+/** A Vertex class for LCIO, as proposed by Sonja Hillert for the LCFI working group.
+ *  see: <a href="http://forum.linearcollider.org/index.php?t=tree&goto=473">here</a><br>
+ *
+ *  <p>UNDER DEVELOPMENT!</p>
+ *  
+ * @author gaede
+ * @version $Id: Vertex.aid,v 1.1 2006/05/24 15:17:09 gaede Exp $
+ */
+
+public interface Vertex extends LCObject {
+    
+
+@ifdef cpp
+@cpp{
+    /** Useful typedef for template programming with LCIO */
+    typedef Vertex lcobject_type ;
+}
+@endif
+    
+    /** The vertex' 3-momentum, i.e. the sum of all track momenta.
+     */
+    public const float3V getMomentum() const ;	
+    
+    /** Mass of the  vertex
+     */
+    public float getMass() const ;	
+    
+    /** Charge of the vertex.
+     */
+    public float getCharge() const ;	
+    
+    /** Position of the cluster.
+     */
+    public const float3V getPosition() const;
+
+    /** Covariance matrix of the position (stored as lower triangle matrix, i.e. 
+     *  cov(xx),cov(y,x),cov(y,y) ).
+     */
+    public const FloatVec& getCovMatrix() const ;
+
+    /** Chi squared of the vertex fit.
+     */
+    public float getChi2() const ;	
+
+    /** Probability of the vertex fit.
+     */
+    public float getProbability() const ;	
+
+    /** Link to previous vertex in chain of vertices.
+     */
+    public Vertex* getPreviousVertex() const; 
+
+    /** Additional parameters related to this vertex - check/set the collection
+     *  parameter "VertexParameterNames" for the parameters' meaning.
+     */
+    public const FloatVec& getParameters() const ;
+
+    /** The tracks that have been used for this vertex.
+     */
+    public const TrackVec& getTracks() const ; 
+    
+    /** Add a track to this vertex.
+     */
+    public void addTrack( Track* track ) ;
+
+//     /** Distance to previous vertex - computed from  getPreviousVertex().getPosition() ???
+//      */
+//     public float getDistanceToPreviousVertex() const ;
+//     /** Error of distance to previous vertex - computed from  getPreviousVertex().getPosition() ??
+//      */
+//     public float getErrorOfDistance() const ;
+
+}
+
CVSspam 0.2.8