Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:27

0001 #ifndef LaserAlignmentSimulation_LaserAlignmentProducer_H
0002 #define LaserAlignmentSimulation_LaserAlignmentProducer_H
0003 
0004 /** \class LaserAlignmentProducer
0005  *  Producer to be used for the Simulation of the Laser Alignment System
0006  *  an empty MCHepEvent will be generated (needed by OscarProducer). The actual
0007  * simulation of the laser beams is done in the SimWatcher attached to
0008  * OscarProducer
0009  *
0010  *  $Date: 2007/12/04 23:53:06 $
0011  *  $Revision: 1.3 $
0012  *  \author Maarten Thomas
0013  */
0014 
0015 // system include files
0016 #include <memory>
0017 
0018 // user include files
0019 #include "FWCore/Framework/interface/Frameworkfwd.h"
0020 #include "FWCore/Framework/interface/one/EDProducer.h"
0021 
0022 #include "HepMC/GenEvent.h"
0023 
0024 //
0025 // class decleration
0026 //
0027 class LaserAlignmentProducer : public edm::one::EDProducer<> {
0028 public:
0029   /// constructor
0030   explicit LaserAlignmentProducer(const edm::ParameterSet &);
0031   /// destructor
0032   ~LaserAlignmentProducer() override;
0033 
0034 private:
0035   /// produce the HepMCProduct
0036   void produce(edm::Event &, const edm::EventSetup &) override;
0037 
0038   // the event format itself
0039   HepMC::GenEvent *theEvent;
0040 };
0041 #endif