CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/Alignment/LaserAlignmentSimulation/plugins/LaserAlignmentSource.h

Go to the documentation of this file.
00001 #ifndef LaserAlignmentSimulation_LaserAlignmentSource_H
00002 #define LaserAlignmentSimulation_LaserAlignmentSource_H
00003 
00014 // system include files
00015 #include <memory>
00016 
00017 // user include files
00018 #include "FWCore/Framework/interface/Frameworkfwd.h"
00019 #include "FWCore/Framework/interface/GeneratedInputSource.h"
00020 
00021 #include "HepMC/GenEvent.h"
00022 
00023 //
00024 // class decleration
00025 //
00026 class LaserAlignmentSource : public edm::GeneratedInputSource {
00027  public:
00029   explicit LaserAlignmentSource(const edm::ParameterSet&, const edm::InputSourceDescription&);
00031   ~LaserAlignmentSource();
00032 
00033   
00034  private:
00036   virtual bool produce(edm::Event&);
00037   
00038   // the event format itself
00039   HepMC::GenEvent* theEvent;
00040 };
00041 #endif