00001 #ifndef FlatRandomEGunSource_H 00002 #define FlatRandomEGunSource_H 00003 00010 #include "IOMC/ParticleGuns/interface/BaseFlatGunSource.h" 00011 00012 namespace edm 00013 { 00014 00015 class FlatRandomEGunSource : public BaseFlatGunSource 00016 { 00017 00018 public: 00019 FlatRandomEGunSource(const ParameterSet &, const InputSourceDescription& ); 00020 virtual ~FlatRandomEGunSource(); 00021 00022 private: 00023 00024 virtual bool produce(Event &e); 00025 00026 protected : 00027 00028 // data members 00029 00030 double fMinE ; 00031 double fMaxE ; 00032 00033 }; 00034 } 00035 00036 #endif