Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FastSimulation
Event
interface
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
5
#include "
DataFormats/Math/interface/Vector3D.h
"
6
#include "
DataFormats/Math/interface/Point3D.h
"
7
#include "TMatrixD.h"
8
9
class
RandomEngineAndDistribution
;
10
13
class
PrimaryVertexGenerator
:
public
math::XYZVector
{
14
15
public
:
17
PrimaryVertexGenerator
();
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_
;
36
math::XYZPoint
beamSpot_
;
37
38
};
39
40
#endif // PrimaryVertexGenerator_H
PrimaryVertexGenerator::PrimaryVertexGenerator
PrimaryVertexGenerator()
Default constructor.
Definition:
PrimaryVertexGenerator.cc:4
PrimaryVertexGenerator::~PrimaryVertexGenerator
virtual ~PrimaryVertexGenerator()
Destructor.
Definition:
PrimaryVertexGenerator.cc:10
Point3D.h
PrimaryVertexGenerator::generate
virtual void generate(RandomEngineAndDistribution const *)=0
Generation process (to be implemented)
PrimaryVertexGenerator::beamSpot_
math::XYZPoint beamSpot_
Definition:
PrimaryVertexGenerator.h:36
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition:
Vector3D.h:30
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
Vector3D.h
PrimaryVertexGenerator::beamSpot
const math::XYZPoint & beamSpot() const
Return x0, y0, z0.
Definition:
PrimaryVertexGenerator.h:29
PrimaryVertexGenerator::boost
TMatrixD * boost()
Definition:
PrimaryVertexGenerator.cc:20
PrimaryVertexGenerator
Definition:
PrimaryVertexGenerator.h:13
PrimaryVertexGenerator::setBoost
void setBoost(TMatrixD *)
Definition:
PrimaryVertexGenerator.cc:25
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
PrimaryVertexGenerator::boost_
TMatrixD * boost_
Definition:
PrimaryVertexGenerator.h:35
Generated for CMSSW Reference Manual by
1.8.5