Main Page
Namespaces
Classes
Package Documentation
IOMC
EventVertexGenerators
interface
BeamProfileVtxGenerator.h
Go to the documentation of this file.
1
#ifndef IOMC_BeamProfileVtxGenerator_H
2
#define IOMC_BeamProfileVtxGenerator_H
3
12
#include "
IOMC/EventVertexGenerators/interface/BaseEvtVtxGenerator.h
"
13
#include <vector>
14
15
namespace
CLHEP
{
16
class
HepRandomEngine;
17
}
18
19
class
BeamProfileVtxGenerator
:
public
BaseEvtVtxGenerator
20
{
21
public
:
22
BeamProfileVtxGenerator
(
const
edm::ParameterSet
&
p
);
23
virtual
~
BeamProfileVtxGenerator
();
24
26
//virtual CLHEP::Hep3Vector * newVertex();
27
virtual
HepMC::FourVector newVertex(CLHEP::HepRandomEngine*)
const override
;
28
29
virtual
TMatrixD
const
*
GetInvLorentzBoost
()
const override
{
30
return
0;
31
}
32
33
35
void
sigmaX
(
double
s
=1.0);
37
void
sigmaY
(
double
s
=1.0);
38
40
void
meanX
(
double
m
=0) {fMeanX=
m
;}
42
void
meanY
(
double
m
=0) {fMeanY=
m
;}
44
void
beamPos
(
double
m
=0) {fMeanZ=
m
;}
45
47
void
eta
(
double
m
=0);
49
void
phi
(
double
m
=0) {fPhi=
m
;}
51
void
psi
(
double
m
=999) {fPsi=
m
;}
53
void
setType(
bool
m
=
true
);
54
55
private
:
57
BeamProfileVtxGenerator
(
const
BeamProfileVtxGenerator
&p);
59
BeamProfileVtxGenerator
& operator = (
const
BeamProfileVtxGenerator
& rhs);
60
private
:
61
double
fSigmaX,
fSigmaY
;
62
double
fMeanX, fMeanY,
fMeanZ
;
63
double
fEta, fPhi,
fTheta
;
64
65
double
fPsi
;
66
67
bool
fType
, ffile;
68
int
nBinx,
nBiny
;
69
std::vector<double>
fdistn
;
70
double
fTimeOffset
;
71
};
72
73
#endif
BeamProfileVtxGenerator::meanY
void meanY(double m=0)
set mean in Y in cm
Definition:
BeamProfileVtxGenerator.h:42
BeamProfileVtxGenerator::fType
bool fType
Definition:
BeamProfileVtxGenerator.h:67
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
stringResolutionProvider_cfi.eta
eta
Definition:
stringResolutionProvider_cfi.py:14
fftjetvertexadder_cfi.sigmaX
sigmaX
Definition:
fftjetvertexadder_cfi.py:30
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
BeamProfileVtxGenerator::fTheta
double fTheta
Definition:
BeamProfileVtxGenerator.h:63
BeamProfileVtxGenerator::meanX
void meanX(double m=0)
set mean in X in cm
Definition:
BeamProfileVtxGenerator.h:40
BeamProfileVtxGenerator::fSigmaY
double fSigmaY
Definition:
BeamProfileVtxGenerator.h:61
BeamProfileVtxGenerator::nBiny
int nBiny
Definition:
BeamProfileVtxGenerator.h:68
BaseEvtVtxGenerator.h
BeamProfileVtxGenerator::psi
void psi(double m=999)
set psi in radian
Definition:
BeamProfileVtxGenerator.h:51
BeamProfileVtxGenerator::fdistn
std::vector< double > fdistn
Definition:
BeamProfileVtxGenerator.h:69
CLHEP
Definition:
CocoaGlobals.h:27
BeamProfileVtxGenerator::fPsi
double fPsi
Definition:
BeamProfileVtxGenerator.h:65
fftjetvertexadder_cfi.sigmaY
sigmaY
Definition:
fftjetvertexadder_cfi.py:31
BeamProfileVtxGenerator::fTimeOffset
double fTimeOffset
Definition:
BeamProfileVtxGenerator.h:70
ecalTB2006H4_GenSimDigiReco_cfg.BeamProfileVtxGenerator
BeamProfileVtxGenerator
Definition:
ecalTB2006H4_GenSimDigiReco_cfg.py:304
BeamProfileVtxGenerator::beamPos
void beamPos(double m=0)
set mean in Z in cm
Definition:
BeamProfileVtxGenerator.h:44
BeamProfileVtxGenerator::phi
void phi(double m=0)
set phi in radian
Definition:
BeamProfileVtxGenerator.h:49
BeamProfileVtxGenerator
Definition:
BeamProfileVtxGenerator.h:19
BeamProfileVtxGenerator::fMeanZ
double fMeanZ
Definition:
BeamProfileVtxGenerator.h:62
BaseEvtVtxGenerator
Definition:
BaseEvtVtxGenerator.h:23
funct::m
m
Definition:
Factorize.h:54
BeamProfileVtxGenerator::GetInvLorentzBoost
virtual TMatrixD const * GetInvLorentzBoost() const override
Definition:
BeamProfileVtxGenerator.h:29
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11