CMS 3D CMS Logo

SimVertex.h

Go to the documentation of this file.
00001 #ifndef SimVertex_H
00002 #define SimVertex_H
00003 
00004 #include "SimDataFormats/Vertex/interface/CoreSimVertex.h"
00005 class SimVertex : public CoreSimVertex
00006 {
00007 
00008  public:
00009   
00010   typedef CoreSimVertex Core;
00012   SimVertex();
00013   SimVertex( const math::XYZVectorD& v, float tof ) ;
00014 
00016   SimVertex( const math::XYZVectorD& v, float tof, int it ) ;
00017 
00019   SimVertex(const CoreSimVertex & t, int it);
00020 
00023   int parentIndex() const { return  itrack; }
00024   bool noParent() const { return  itrack==-1; }
00025 
00026 private: 
00027   int itrack;
00028 
00029 };
00030 
00031 #include <iosfwd>
00032 std::ostream & operator <<(std::ostream & o , const SimVertex& v);
00033  
00034 
00035 #endif

Generated on Tue Jun 9 17:46:48 2009 for CMSSW by  doxygen 1.5.4