Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:54

0001 #ifndef gen_Pythia6EGun_h
0002 #define gen_Pythia6EGun_h
0003 
0004 #include "Pythia6ParticleGun.h"
0005 
0006 namespace CLHEP {
0007   class HepRandomEngine;
0008 }
0009 
0010 namespace gen {
0011 
0012   class Pythia6EGun : public Pythia6ParticleGun {
0013   public:
0014     Pythia6EGun(const edm::ParameterSet&);
0015     ~Pythia6EGun() 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 fMinE;
0025     double fMaxE;
0026     bool fAddAntiParticle;
0027   };
0028 
0029 }  // namespace gen
0030 
0031 #endif