Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FastSimulation
Event
src
PrimaryVertexGenerator.cc
Go to the documentation of this file.
1
#include "
FastSimulation/Event/interface/PrimaryVertexGenerator.h
"
2
4
PrimaryVertexGenerator::PrimaryVertexGenerator
() :
5
math::
XYZVector
(),
6
random
(0),
7
boost_(0)
8
{
9
}
10
11
PrimaryVertexGenerator::PrimaryVertexGenerator
(
const
RandomEngine
* engine) :
12
math::
XYZVector
(),
13
random
(engine),
14
boost_(0)
15
{
16
}
17
18
PrimaryVertexGenerator::~PrimaryVertexGenerator
() {
19
if
(
boost_
)
delete
boost_
;
20
}
21
22
TMatrixD*
23
PrimaryVertexGenerator::boost
()
const
{
24
return
boost_
;
25
}
26
27
void
28
PrimaryVertexGenerator::setBoost
(TMatrixD* aBoost) {
29
boost_
= aBoost;
30
}
RandomEngine
Definition:
RandomEngine.h:18
PrimaryVertexGenerator::PrimaryVertexGenerator
PrimaryVertexGenerator()
Default constructor.
Definition:
PrimaryVertexGenerator.cc:4
random
TRandom random
Definition:
MVATrainer.cc:138
PrimaryVertexGenerator::~PrimaryVertexGenerator
virtual ~PrimaryVertexGenerator()
Destructor.
Definition:
PrimaryVertexGenerator.cc:18
PrimaryVertexGenerator::boost
TMatrixD * boost() const
Definition:
PrimaryVertexGenerator.cc:23
XYZVector
math::XYZVector XYZVector
Definition:
CalorimetryManager.cc:62
PrimaryVertexGenerator.h
PrimaryVertexGenerator::setBoost
void setBoost(TMatrixD *)
Definition:
PrimaryVertexGenerator.cc:28
PrimaryVertexGenerator::boost_
TMatrixD * boost_
Definition:
PrimaryVertexGenerator.h:36
Generated for CMSSW Reference Manual by
1.8.5