Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef FlatRandomPtGunProducer_H
0002 #define FlatRandomPtGunProducer_H
0003 
0004 /** \class FlatRandomPtGunProducer
0005  *
0006  * Generates single particle gun in HepMC format
0007  * Julia Yarba 12/2005 
0008  ***************************************/
0009 
0010 #include "IOMC/ParticleGuns/interface/BaseFlatGunProducer.h"
0011 
0012 namespace edm {
0013 
0014   class FlatRandomPtGunProducer : public BaseFlatGunProducer {
0015   public:
0016     FlatRandomPtGunProducer(const ParameterSet& pset);
0017     ~FlatRandomPtGunProducer() override;
0018 
0019     void produce(Event& e, const EventSetup& es) override;
0020 
0021   private:
0022     // data members
0023 
0024     double fMinPt;
0025     double fMaxPt;
0026   };
0027 }  // namespace edm
0028 
0029 #endif