CMS 3D CMS Logo

FlatEvtVtxGenerator.h
Go to the documentation of this file.
1 #ifndef IOMC_FlatEvtVtxGenerator_H
2 #define IOMC_FlatEvtVtxGenerator_H
3 
17 
18 namespace CLHEP {
19  class HepRandomEngine;
20 }
21 
23 public:
25  ~FlatEvtVtxGenerator() override;
26 
28  //virtual CLHEP::Hep3Vector* newVertex();
29  HepMC::FourVector newVertex(CLHEP::HepRandomEngine*) const override;
30 
31  const TMatrixD* GetInvLorentzBoost() const override { return nullptr; }
32 
34  void minX(double m = 0.0);
36  void minY(double m = 0.0);
38  void minZ(double m = 0.0);
39 
41  void maxX(double m = 0);
43  void maxY(double m = 0);
45  void maxZ(double m = 0);
46 
47 private:
49  FlatEvtVtxGenerator(const FlatEvtVtxGenerator& p) = delete;
52 
53 private:
54  double fMinX, fMinY, fMinZ, fMinT;
55  double fMaxX, fMaxY, fMaxZ, fMaxT;
56 };
57 
58 #endif
FlatEvtVtxGenerator::maxY
void maxY(double m=0)
set max in Y in cm
Definition: FlatEvtVtxGenerator.cc:63
FlatEvtVtxGenerator::fMinZ
double fMinZ
Definition: FlatEvtVtxGenerator.h:54
FlatEvtVtxGenerator::~FlatEvtVtxGenerator
~FlatEvtVtxGenerator() override
Definition: FlatEvtVtxGenerator.cc:42
FlatEvtVtxGenerator::minY
void minY(double m=0.0)
set min in Y in cm
Definition: FlatEvtVtxGenerator.cc:57
FlatEvtVtxGenerator::newVertex
HepMC::FourVector newVertex(CLHEP::HepRandomEngine *) const override
return a new event vertex
Definition: FlatEvtVtxGenerator.cc:45
FlatEvtVtxGenerator::fMaxX
double fMaxX
Definition: FlatEvtVtxGenerator.h:55
FlatEvtVtxGenerator::minZ
void minZ(double m=0.0)
set min in Z in cm
Definition: FlatEvtVtxGenerator.cc:59
FlatEvtVtxGenerator::fMinY
double fMinY
Definition: FlatEvtVtxGenerator.h:54
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
FlatEvtVtxGenerator::fMaxT
double fMaxT
Definition: FlatEvtVtxGenerator.h:55
CLHEP
Definition: CocoaGlobals.h:27
FlatEvtVtxGenerator::fMinT
double fMinT
Definition: FlatEvtVtxGenerator.h:54
edm::ParameterSet
Definition: ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
FlatEvtVtxGenerator::GetInvLorentzBoost
const TMatrixD * GetInvLorentzBoost() const override
Definition: FlatEvtVtxGenerator.h:31
FlatEvtVtxGenerator::FlatEvtVtxGenerator
FlatEvtVtxGenerator(const edm::ParameterSet &p)
Definition: FlatEvtVtxGenerator.cc:14
FlatEvtVtxGenerator
Definition: FlatEvtVtxGenerator.h:22
FlatEvtVtxGenerator::operator=
FlatEvtVtxGenerator & operator=(const FlatEvtVtxGenerator &rhs)=delete
BaseEvtVtxGenerator.h
FlatEvtVtxGenerator::minX
void minX(double m=0.0)
set min in X in cm
Definition: FlatEvtVtxGenerator.cc:55
FlatEvtVtxGenerator::fMaxZ
double fMaxZ
Definition: FlatEvtVtxGenerator.h:55
FlatEvtVtxGenerator::maxX
void maxX(double m=0)
set max in X in cm
Definition: FlatEvtVtxGenerator.cc:61
BaseEvtVtxGenerator
Definition: BaseEvtVtxGenerator.h:23
FlatEvtVtxGenerator::fMaxY
double fMaxY
Definition: FlatEvtVtxGenerator.h:55
FlatEvtVtxGenerator::maxZ
void maxZ(double m=0)
set max in Z in cm
Definition: FlatEvtVtxGenerator.cc:65
FlatEvtVtxGenerator::fMinX
double fMinX
Definition: FlatEvtVtxGenerator.h:54