File indexing completed on 2024-04-06 12:19:00
0001 #ifndef IOMC_FlatEvtVtxGenerator_H
0002 #define IOMC_FlatEvtVtxGenerator_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "IOMC/EventVertexGenerators/interface/BaseEvtVtxGenerator.h"
0017
0018 namespace CLHEP {
0019 class HepRandomEngine;
0020 }
0021
0022 class FlatEvtVtxGenerator : public BaseEvtVtxGenerator {
0023 public:
0024 FlatEvtVtxGenerator(const edm::ParameterSet& p);
0025
0026 FlatEvtVtxGenerator(const FlatEvtVtxGenerator& p) = delete;
0027
0028 FlatEvtVtxGenerator& operator=(const FlatEvtVtxGenerator& rhs) = delete;
0029 ~FlatEvtVtxGenerator() override;
0030
0031
0032
0033 HepMC::FourVector newVertex(CLHEP::HepRandomEngine*) const override;
0034
0035 const TMatrixD* GetInvLorentzBoost() const override { return nullptr; }
0036
0037
0038 void minX(double m = 0.0);
0039
0040 void minY(double m = 0.0);
0041
0042 void minZ(double m = 0.0);
0043
0044
0045 void maxX(double m = 0);
0046
0047 void maxY(double m = 0);
0048
0049 void maxZ(double m = 0);
0050
0051 private:
0052 double fMinX, fMinY, fMinZ, fMinT;
0053 double fMaxX, fMaxY, fMaxZ, fMaxT;
0054 };
0055
0056 #endif