CMS 3D CMS Logo

FlatEvtVtxGenerator.h
Go to the documentation of this file.
1 #ifndef IOMC_FlatEvtVtxGenerator_H
2 #define IOMC_FlatEvtVtxGenerator_H
3 
11 
12 namespace CLHEP {
13  class HepRandomEngine;
14 }
15 
17 {
18 public:
20  virtual ~FlatEvtVtxGenerator();
21 
23  //virtual CLHEP::Hep3Vector* newVertex();
24  virtual HepMC::FourVector newVertex(CLHEP::HepRandomEngine*) const override ;
25 
26  virtual const TMatrixD* GetInvLorentzBoost() const override {
27  return 0;
28  }
29 
30 
32  void minX(double m=0.0);
34  void minY(double m=0.0);
36  void minZ(double m=0.0);
37 
39  void maxX(double m=0);
41  void maxY(double m=0);
43  void maxZ(double m=0);
44 
45 private:
49  FlatEvtVtxGenerator& operator = (const FlatEvtVtxGenerator & rhs );
50 private:
51  double fMinX, fMinY, fMinZ;
52  double fMaxX, fMaxY, fMaxZ;
53  double fTimeOffset;
54 };
55 
56 #endif
virtual const TMatrixD * GetInvLorentzBoost() const override