CMS 3D CMS Logo

GaussEvtVtxGenerator.h
Go to the documentation of this file.
1 #ifndef IOMC_GaussEvtVtxGenerator_H
2 #define IOMC_GaussEvtVtxGenerator_H
3 
11 
12 namespace CLHEP {
13  class HepRandomEngine;
14 }
15 
17 public:
19  ~GaussEvtVtxGenerator() override;
20 
22  //virtual CLHEP::Hep3Vector* newVertex();
23  HepMC::FourVector newVertex(CLHEP::HepRandomEngine*) const override;
24 
25  TMatrixD const* GetInvLorentzBoost() const override { return nullptr; }
26 
28  void sigmaX(double s = 1.0);
30  void sigmaY(double s = 1.0);
32  void sigmaZ(double s = 1.0);
33 
35  void meanX(double m = 0) { fMeanX = m; }
37  void meanY(double m = 0) { fMeanY = m; }
39  void meanZ(double m = 0) { fMeanZ = m; }
40 
41 private:
46 
47 private:
49  double fMeanX, fMeanY, fMeanZ;
50  double fTimeOffset;
51 };
52 
53 #endif
GaussEvtVtxGenerator::fMeanY
double fMeanY
Definition: GaussEvtVtxGenerator.h:49
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
GaussEvtVtxGenerator::sigmaY
void sigmaY(double s=1.0)
set resolution in Y in cm
Definition: GaussEvtVtxGenerator.cc:58
GaussEvtVtxGenerator::fSigmaX
double fSigmaX
Definition: GaussEvtVtxGenerator.h:48
GaussEvtVtxGenerator::fMeanX
double fMeanX
Definition: GaussEvtVtxGenerator.h:49
GaussEvtVtxGenerator::fSigmaY
double fSigmaY
Definition: GaussEvtVtxGenerator.h:48
alignCSCRings.s
s
Definition: alignCSCRings.py:92
GaussEvtVtxGenerator::newVertex
HepMC::FourVector newVertex(CLHEP::HepRandomEngine *) const override
return a new event vertex
Definition: GaussEvtVtxGenerator.cc:39
GaussEvtVtxGenerator::~GaussEvtVtxGenerator
~GaussEvtVtxGenerator() override
Definition: GaussEvtVtxGenerator.cc:37
GaussEvtVtxGenerator::meanZ
void meanZ(double m=0)
set mean in Z in cm
Definition: GaussEvtVtxGenerator.h:39
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
GaussEvtVtxGenerator::operator=
GaussEvtVtxGenerator & operator=(const GaussEvtVtxGenerator &rhs)=delete
GaussEvtVtxGenerator
Definition: GaussEvtVtxGenerator.h:16
GaussEvtVtxGenerator::meanX
void meanX(double m=0)
set mean in X in cm
Definition: GaussEvtVtxGenerator.h:35
GaussEvtVtxGenerator::GaussEvtVtxGenerator
GaussEvtVtxGenerator(const edm::ParameterSet &p)
Definition: GaussEvtVtxGenerator.cc:14
CLHEP
Definition: CocoaGlobals.h:27
GaussEvtVtxGenerator::meanY
void meanY(double m=0)
set mean in Y in cm
Definition: GaussEvtVtxGenerator.h:37
GaussEvtVtxGenerator::sigmaX
void sigmaX(double s=1.0)
set resolution in X in cm
Definition: GaussEvtVtxGenerator.cc:49
edm::ParameterSet
Definition: ParameterSet.h:47
BaseEvtVtxGenerator.h
GaussEvtVtxGenerator::sigmaZ
void sigmaZ(double s=1.0)
set resolution in Z in cm
Definition: GaussEvtVtxGenerator.cc:67
GaussEvtVtxGenerator::fSigmaZ
double fSigmaZ
Definition: GaussEvtVtxGenerator.h:48
GaussEvtVtxGenerator::GetInvLorentzBoost
TMatrixD const * GetInvLorentzBoost() const override
Definition: GaussEvtVtxGenerator.h:25
GaussEvtVtxGenerator::fTimeOffset
double fTimeOffset
Definition: GaussEvtVtxGenerator.h:50
GaussEvtVtxGenerator::fMeanZ
double fMeanZ
Definition: GaussEvtVtxGenerator.h:49
BaseEvtVtxGenerator
Definition: BaseEvtVtxGenerator.h:23