Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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