#include <PrimaryVertexGenerator.h>
Public Member Functions | |
const math::XYZPoint & | beamSpot () const |
Return x0, y0, z0. | |
TMatrixD * | boost () const |
virtual void | generate ()=0 |
Generation process (to be implemented) | |
PrimaryVertexGenerator (const RandomEngine *engine) | |
PrimaryVertexGenerator () | |
Default constructor. | |
virtual | ~PrimaryVertexGenerator () |
Destructor. | |
Protected Member Functions | |
void | setBoost (TMatrixD *) |
Protected Attributes | |
math::XYZPoint | beamSpot_ |
TMatrixD * | boost_ |
const RandomEngine * | random |
A class that generates a primary vertex for the event, in cm
Definition at line 13 of file PrimaryVertexGenerator.h.
PrimaryVertexGenerator::PrimaryVertexGenerator | ( | ) |
Default constructor.
Definition at line 4 of file PrimaryVertexGenerator.cc.
: math::XYZVector(), random(0), boost_(0) { }
PrimaryVertexGenerator::PrimaryVertexGenerator | ( | const RandomEngine * | engine | ) |
Definition at line 11 of file PrimaryVertexGenerator.cc.
: math::XYZVector(), random(engine), boost_(0) { }
PrimaryVertexGenerator::~PrimaryVertexGenerator | ( | ) | [virtual] |
const math::XYZPoint& PrimaryVertexGenerator::beamSpot | ( | void | ) | const [inline] |
Return x0, y0, z0.
Definition at line 29 of file PrimaryVertexGenerator.h.
References beamSpot_.
Referenced by FBaseSimEvent::addParticles().
{ return beamSpot_; }
TMatrixD * PrimaryVertexGenerator::boost | ( | ) | const |
Definition at line 23 of file PrimaryVertexGenerator.cc.
References boost_.
Referenced by PileUpProducer::produce().
{ return boost_; }
virtual void PrimaryVertexGenerator::generate | ( | ) | [pure virtual] |
Generation process (to be implemented)
Implemented in BetaFuncPrimaryVertexGenerator, FlatPrimaryVertexGenerator, GaussianPrimaryVertexGenerator, and NoPrimaryVertexGenerator.
Referenced by FBaseSimEvent::addParticles(), and PileUpProducer::produce().
void PrimaryVertexGenerator::setBoost | ( | TMatrixD * | aBoost | ) | [protected] |
Definition at line 28 of file PrimaryVertexGenerator.cc.
References boost_.
Referenced by BetaFuncPrimaryVertexGenerator::BetaFuncPrimaryVertexGenerator().
{ boost_ = aBoost; }
math::XYZPoint PrimaryVertexGenerator::beamSpot_ [protected] |
Definition at line 37 of file PrimaryVertexGenerator.h.
Referenced by beamSpot(), BetaFuncPrimaryVertexGenerator::BetaFuncPrimaryVertexGenerator(), FlatPrimaryVertexGenerator::FlatPrimaryVertexGenerator(), GaussianPrimaryVertexGenerator::GaussianPrimaryVertexGenerator(), and NoPrimaryVertexGenerator::NoPrimaryVertexGenerator().
TMatrixD* PrimaryVertexGenerator::boost_ [protected] |
Definition at line 36 of file PrimaryVertexGenerator.h.
Referenced by boost(), setBoost(), and ~PrimaryVertexGenerator().
const RandomEngine* PrimaryVertexGenerator::random [protected] |
Definition at line 35 of file PrimaryVertexGenerator.h.
Referenced by BetaFuncPrimaryVertexGenerator::generate(), GaussianPrimaryVertexGenerator::generate(), and FlatPrimaryVertexGenerator::generate().