Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:24

0001 #ifndef gen_Pythia6PtGun_h
0002 #define gen_Pythia6PtGun_h
0003 
0004 #include "Pythia6ParticleGun.h"
0005 
0006 namespace CLHEP {
0007   class HepRandomEngine;
0008 }
0009 
0010 namespace gen {
0011 
0012   class Pythia6PtGun : public Pythia6ParticleGun {
0013   public:
0014     Pythia6PtGun(const edm::ParameterSet&);
0015     ~Pythia6PtGun() override;
0016     // void produce( edm::Event&, const edm::EventSetup& ) ;
0017 
0018   protected:
0019     void generateEvent(CLHEP::HepRandomEngine*) override;
0020 
0021   private:
0022     double fMinEta;
0023     double fMaxEta;
0024     double fMinPt;
0025     double fMaxPt;
0026     bool fAddAntiParticle;
0027   };
0028 
0029 }  // namespace gen
0030 
0031 #endif