Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
()
const
;
26
28
inline
const
math::XYZPoint
&
beamSpot
()
const
{
return
beamSpot_
; }
29
30
protected
:
31
32
void
setBoost
(TMatrixD*);
33
34
TMatrixD*
boost_
;
35
math::XYZPoint
beamSpot_
;
36
37
};
38
39
#endif // PrimaryVertexGenerator_H
PrimaryVertexGenerator::PrimaryVertexGenerator
PrimaryVertexGenerator()
Default constructor.
Definition:
PrimaryVertexGenerator.cc:4
PrimaryVertexGenerator::~PrimaryVertexGenerator
virtual ~PrimaryVertexGenerator()
Destructor.
Definition:
PrimaryVertexGenerator.cc:10
PrimaryVertexGenerator::boost
TMatrixD * boost() const
Definition:
PrimaryVertexGenerator.cc:15
Point3D.h
PrimaryVertexGenerator::generate
virtual void generate(RandomEngineAndDistribution const *)=0
Generation process (to be implemented)
PrimaryVertexGenerator::beamSpot_
math::XYZPoint beamSpot_
Definition:
PrimaryVertexGenerator.h:35
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:28
PrimaryVertexGenerator
Definition:
PrimaryVertexGenerator.h:13
PrimaryVertexGenerator::setBoost
void setBoost(TMatrixD *)
Definition:
PrimaryVertexGenerator.cc:20
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
PrimaryVertexGenerator::boost_
TMatrixD * boost_
Definition:
PrimaryVertexGenerator.h:34
Generated for CMSSW Reference Manual by
1.8.5