CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/SimG4Core/Application/interface/G4SimVertex.h

Go to the documentation of this file.
00001 #ifndef SimG4Core_G4SimVertex_H
00002 #define SimG4Core_G4SimVertex_H
00003 
00004 #include "DataFormats/Math/interface/Vector3D.h"
00005 #include "DataFormats/Math/interface/LorentzVector.h"
00006 #include <vector> 
00007 #include <cmath>
00008 
00009 class G4SimVertex
00010 {
00011 public:
00012     G4SimVertex() {}
00013     G4SimVertex(const math::XYZVectorD & ip, double it, int iv) : 
00014         ilv_(ip),itime_(it),itrack_(iv) {}
00016     const math::XYZVectorD & vertexPosition() const { return  ilv_; }
00017     const double vertexGlobalTime() const     { return  itime_; }
00018     const int parentIndex() const             { return  itrack_; }
00019 private:
00020     math::XYZVectorD ilv_;
00021     double itime_;
00022     int itrack_;
00023 };
00024 
00025 #endif