File indexing completed on 2024-12-10 02:31:54
0001
0002
0003
0004
0005 #include "IOMC/EventVertexGenerators/interface/PassThroughEvtVtxGenerator.h"
0006
0007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0008
0009 #include "FWCore/ServiceRegistry/interface/Service.h"
0010 #include "FWCore/Utilities/interface/RandomNumberGenerator.h"
0011 #include "FWCore/Utilities/interface/Exception.h"
0012
0013 using namespace edm;
0014
0015 PassThroughEvtVtxGenerator::PassThroughEvtVtxGenerator(const ParameterSet& pset) : BaseEvtVtxGenerator(pset) {
0016 Service<RandomNumberGenerator> rng;
0017 }
0018
0019 PassThroughEvtVtxGenerator::~PassThroughEvtVtxGenerator() {}
0020
0021 ROOT::Math::XYZTVector PassThroughEvtVtxGenerator::vertexShift(CLHEP::HepRandomEngine*) const {
0022 return ROOT::Math::XYZTVector(0., 0., 0., 0.);
0023 }