CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PrimaryVertexGenerator.h
Go to the documentation of this file.
1 #ifndef FastSimulation_Event_PrimaryVertexGenerator_H
2 #define FastSimulation_Event_PrimaryVertexGenerator_H
3 
4 // Data Format Headers
7 #include "TMatrixD.h"
8 
10 
14 
15 public:
18 
20  virtual ~PrimaryVertexGenerator();
21 
23  virtual void generate(RandomEngineAndDistribution const*) = 0;
24 
25  TMatrixD* boost() const;
26 
28  inline const math::XYZPoint& beamSpot() const { return beamSpot_; }
29 
30  protected:
31 
32  void setBoost(TMatrixD*);
33 
34  TMatrixD* boost_;
36 
37 };
38 
39 #endif // PrimaryVertexGenerator_H
PrimaryVertexGenerator()
Default constructor.
virtual ~PrimaryVertexGenerator()
Destructor.
virtual void generate(RandomEngineAndDistribution const *)=0
Generation process (to be implemented)
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:30
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
const math::XYZPoint & beamSpot() const
Return x0, y0, z0.