CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
GaussianPrimaryVertexGenerator Class Reference

#include <GaussianPrimaryVertexGenerator.h>

Inheritance diagram for GaussianPrimaryVertexGenerator:
PrimaryVertexGenerator

Public Member Functions

 GaussianPrimaryVertexGenerator (const edm::ParameterSet &vtx)
 Default constructor. More...
 
virtual void generate (RandomEngineAndDistribution const *)
 Generation process (to be implemented) More...
 
 ~GaussianPrimaryVertexGenerator ()
 Destructor. More...
 
- Public Member Functions inherited from PrimaryVertexGenerator
const math::XYZPointbeamSpot () const
 Return x0, y0, z0. More...
 
TMatrixD * boost () const
 
 PrimaryVertexGenerator ()
 Default constructor. More...
 
virtual ~PrimaryVertexGenerator ()
 Destructor. More...
 

Private Attributes

double meanX
 
double meanY
 
double meanZ
 
double sigmaX
 
double sigmaY
 
double sigmaZ
 

Additional Inherited Members

- Protected Member Functions inherited from PrimaryVertexGenerator
void setBoost (TMatrixD *)
 
- Protected Attributes inherited from PrimaryVertexGenerator
math::XYZPoint beamSpot_
 
TMatrixD * boost_
 

Detailed Description

Definition at line 15 of file GaussianPrimaryVertexGenerator.h.

Constructor & Destructor Documentation

GaussianPrimaryVertexGenerator::GaussianPrimaryVertexGenerator ( const edm::ParameterSet vtx)

Default constructor.

Definition at line 9 of file GaussianPrimaryVertexGenerator.cc.

References PrimaryVertexGenerator::beamSpot_, meanX, meanY, and meanZ.

10  :
11  meanX(vtx.getParameter<double>("MeanX")),
12  meanY(vtx.getParameter<double>("MeanY")),
13  meanZ(vtx.getParameter<double>("MeanZ")),
14  sigmaX(vtx.getParameter<double>("SigmaX")),
15  sigmaY(vtx.getParameter<double>("SigmaY")),
16  sigmaZ(vtx.getParameter<double>("SigmaZ"))
17 {
19 }
T getParameter(std::string const &) const
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
GaussianPrimaryVertexGenerator::~GaussianPrimaryVertexGenerator ( )
inline

Destructor.

Definition at line 22 of file GaussianPrimaryVertexGenerator.h.

22 {;}

Member Function Documentation

void GaussianPrimaryVertexGenerator::generate ( RandomEngineAndDistribution const *  random)
virtual

Member Data Documentation

double GaussianPrimaryVertexGenerator::meanX
private

Definition at line 30 of file GaussianPrimaryVertexGenerator.h.

Referenced by GaussianPrimaryVertexGenerator(), and generate().

double GaussianPrimaryVertexGenerator::meanY
private

Definition at line 31 of file GaussianPrimaryVertexGenerator.h.

Referenced by GaussianPrimaryVertexGenerator(), and generate().

double GaussianPrimaryVertexGenerator::meanZ
private

Definition at line 32 of file GaussianPrimaryVertexGenerator.h.

Referenced by GaussianPrimaryVertexGenerator(), and generate().

double GaussianPrimaryVertexGenerator::sigmaX
private

Definition at line 33 of file GaussianPrimaryVertexGenerator.h.

Referenced by generate().

double GaussianPrimaryVertexGenerator::sigmaY
private

Definition at line 34 of file GaussianPrimaryVertexGenerator.h.

Referenced by generate().

double GaussianPrimaryVertexGenerator::sigmaZ
private

Definition at line 35 of file GaussianPrimaryVertexGenerator.h.

Referenced by generate(), and BeamSpotObj.BeamSpot::Reset().