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 {
24 public:
26  ~FlatEvtVtxGenerator() override;
27 
29  //virtual CLHEP::Hep3Vector* newVertex();
30  HepMC::FourVector newVertex(CLHEP::HepRandomEngine*) const override ;
31 
32  const TMatrixD* GetInvLorentzBoost() const override {
33  return nullptr;
34  }
35 
36 
38  void minX(double m=0.0);
40  void minY(double m=0.0);
42  void minZ(double m=0.0);
43 
45  void maxX(double m=0);
47  void maxY(double m=0);
49  void maxZ(double m=0);
50 
51 private:
53  FlatEvtVtxGenerator(const FlatEvtVtxGenerator &p) = delete;
55  FlatEvtVtxGenerator& operator = (const FlatEvtVtxGenerator & rhs ) = delete;
56 private:
57  double fMinX, fMinY, fMinZ, fMinT;
58  double fMaxX, fMaxY, fMaxZ, fMaxT;
59 };
60 
61 #endif
const TMatrixD * GetInvLorentzBoost() const override