Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:01

0001 #ifndef ExpoRandomPGunProducer_H
0002 #define ExpoRandomPGunProducer_H
0003 
0004 /** \class ExpoRandomPGunProducer
0005  *
0006  * Generates single particle gun in HepMC format
0007  * Jean-Roch Vlimant
0008  * modificed by S.Abdulin 04/02/2011 
0009  ***************************************/
0010 
0011 #include "IOMC/ParticleGuns/interface/BaseFlatGunProducer.h"
0012 
0013 namespace edm {
0014 
0015   class ExpoRandomPGunProducer : public BaseFlatGunProducer {
0016   public:
0017     ExpoRandomPGunProducer(const ParameterSet& pset);
0018     ~ExpoRandomPGunProducer() override;
0019 
0020   private:
0021     void produce(Event& e, const EventSetup& es) override;
0022 
0023   protected:
0024     // data members
0025 
0026     double fMinP;
0027     double fMaxP;
0028   };
0029 }  // namespace edm
0030 
0031 #endif