CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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*) ;
25 
26  virtual TMatrixD* GetInvLorentzBoost() {
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:
50 private:
51  double fMinX, fMinY, fMinZ;
52  double fMaxX, fMaxY, fMaxZ;
53  double fTimeOffset;
54 };
55 
56 #endif
FlatEvtVtxGenerator & operator=(const FlatEvtVtxGenerator &rhs)
virtual TMatrixD * GetInvLorentzBoost()
void minZ(double m=0.0)
set min in Z in cm
void maxZ(double m=0)
set max in Z in cm
FlatEvtVtxGenerator(const edm::ParameterSet &p)
void minX(double m=0.0)
set min in X in cm
void minY(double m=0.0)
set min in Y in cm
void maxX(double m=0)
set max in X in cm
virtual HepMC::FourVector * newVertex(CLHEP::HepRandomEngine *)
return a new event vertex
void maxY(double m=0)
set max in Y in cm