![]() |
![]() |
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