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();
26  const TMatrixD* boost() const;
27 
29  inline const math::XYZPoint& beamSpot() const { return beamSpot_; }
30 
31  protected:
32 
33  void setBoost(TMatrixD*);
34 
35  TMatrixD* boost_;
37 
38 };
39 
40 #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.