CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/FastSimulation/Event/interface/GaussianPrimaryVertexGenerator.h

Go to the documentation of this file.
00001 #ifndef FastSimulation_Event_GaussianPrimaryVertexGenerator_H
00002 #define FastSimulation_Event_GaussianPrimaryVertexGenerator_H
00003 
00004 // Famos Headers
00005 #include "FastSimulation/Event/interface/PrimaryVertexGenerator.h"
00006 
00009 class RandomEngine;
00010 
00011 namespace edm { 
00012   class ParameterSet;
00013 }
00014 
00015 class GaussianPrimaryVertexGenerator : public PrimaryVertexGenerator {
00016 
00017 public:
00019   GaussianPrimaryVertexGenerator(const edm::ParameterSet& vtx,
00020                                  const RandomEngine* engine);
00021 
00023   ~GaussianPrimaryVertexGenerator() {;}
00024   
00026   virtual void generate();
00027 
00028  private:
00029 
00030   // The smearing quantities in all three directions
00031   double meanX;
00032   double meanY;
00033   double meanZ;
00034   double sigmaX;
00035   double sigmaY;
00036   double sigmaZ;
00037 
00038 };
00039 
00040 #endif // GaussianPrimaryVertexGenerator_H