CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/SimG4CMS/EcalTestBeam/interface/FakeTBEventHeaderProducer.h

Go to the documentation of this file.
00001 #ifndef FakeTBEventHeaderProducer_H
00002 #define FakeTBEventHeaderProducer_H
00003 /*
00004  * \file FakeTBEventHeaderProducer.h
00005  *
00006  * $Id: FakeTBEventHeaderProducer.h,v 1.4 2009/12/14 22:24:19 wmtan Exp $
00007  *
00008  * Mimic the event header information
00009  * for the test beam simulation 
00010  *
00011  */
00012 
00013 
00014 #include "FWCore/Framework/interface/EDProducer.h"
00015 #include "DataFormats/Common/interface/EDProduct.h"
00016 #include "FWCore/Framework/interface/Event.h"
00017 #include "DataFormats/Common/interface/Handle.h"
00018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00019 #include "FWCore/Framework/interface/ESHandle.h"
00020 #include "FWCore/Framework/interface/EventSetup.h"
00021 #include "FWCore/Framework/interface/MakerMacros.h"
00022 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00023 
00024 #include "SimDataFormats/EcalTestBeam/interface/PEcalTBInfo.h"
00025 #include "TBDataFormats/EcalTBObjects/interface/EcalTBEventHeader.h"
00026 #include "Geometry/EcalTestBeam/interface/EcalTBHodoscopeGeometry.h"
00027 
00028 class FakeTBEventHeaderProducer: public edm::EDProducer{
00029 
00030   
00031  public:
00032   
00034   FakeTBEventHeaderProducer(const edm::ParameterSet& ps);
00035   
00037   virtual ~FakeTBEventHeaderProducer();
00038   
00040   void produce(edm::Event & event, const edm::EventSetup& eventSetup);
00041   
00042   // BeginJob
00043   //void beginJob();
00044   
00045   // EndJob
00046   //void endJob(void);
00047   
00048 
00049 private:
00050 
00051   std::string ecalTBInfoLabel_;
00052 
00053 };
00054 
00055 #endif