/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

G4DhPrimaryVertexInformation.cc
Go to the documentation of this file.
00001 #include "G4ios.hh"
00002 #include "G4DataHelpers/G4DhPrimaryVertexInformation.h"
00003 #include "HepMC/GenEvent.h"
00004 #include "HepMC/GenVertex.h"
00005 
00006 G4DhPrimaryVertexInformation::G4DhPrimaryVertexInformation(const HepMC::GenEvent *hepEvent, 
00007                                                            const HepMC::GenVertex* hepVertex)
00008 {
00009   mHepEvent = hepEvent;
00010   mHepVertex = hepVertex;
00011 }
00012 
00013 void G4DhPrimaryVertexInformation::Print() const
00014 {
00015   G4cout << "G4DhPrimaryVertexInformation" << std::endl;
00016   if(mHepEvent) mHepEvent->print(G4cout); 
00017   else G4cout << "  HepEvent is null" << std::endl;
00018   if(mHepVertex) mHepVertex->print(G4cout);
00019   else G4cout << "  HepVertex is null" << std::endl;
00020 }
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:05:42 for G4DataHelpers by doxygen 1.7.4