CMS 3D CMS Logo

PrimaryVertexGenerator.cc

Go to the documentation of this file.
00001 #include "FastSimulation/Event/interface/PrimaryVertexGenerator.h"
00002 
00004 PrimaryVertexGenerator::PrimaryVertexGenerator() : 
00005   math::XYZVector(), 
00006   random(0),
00007   boost_(0)
00008 {
00009 }
00010 
00011 PrimaryVertexGenerator::PrimaryVertexGenerator(const RandomEngine* engine) : 
00012   math::XYZVector(), 
00013   random(engine),
00014   boost_(0)
00015 {
00016 }
00017 
00018 PrimaryVertexGenerator::~PrimaryVertexGenerator() { 
00019   if ( boost_ ) delete boost_; 
00020 }
00021 
00022 TMatrixD* 
00023 PrimaryVertexGenerator::boost() const { 
00024   return boost_;
00025 }
00026 
00027 void 
00028 PrimaryVertexGenerator::setBoost(TMatrixD* aBoost) {
00029   boost_ = aBoost;
00030 }

Generated on Tue Jun 9 17:35:08 2009 for CMSSW by  doxygen 1.5.4