CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/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.5 2011/05/20 17:17:34 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 "FWCore/Framework/interface/Event.h"
00016 #include "DataFormats/Common/interface/Handle.h"
00017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00018 #include "FWCore/Framework/interface/ESHandle.h"
00019 #include "FWCore/Framework/interface/EventSetup.h"
00020 #include "FWCore/Framework/interface/MakerMacros.h"
00021 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00022 
00023 #include "SimDataFormats/EcalTestBeam/interface/PEcalTBInfo.h"
00024 #include "TBDataFormats/EcalTBObjects/interface/EcalTBEventHeader.h"
00025 #include "Geometry/EcalTestBeam/interface/EcalTBHodoscopeGeometry.h"
00026 
00027 class FakeTBEventHeaderProducer: public edm::EDProducer{
00028 
00029   
00030  public:
00031   
00033   FakeTBEventHeaderProducer(const edm::ParameterSet& ps);
00034   
00036   virtual ~FakeTBEventHeaderProducer();
00037   
00039   void produce(edm::Event & event, const edm::EventSetup& eventSetup);
00040   
00041   // BeginJob
00042   //void beginJob();
00043   
00044   // EndJob
00045   //void endJob(void);
00046   
00047 
00048 private:
00049 
00050   std::string ecalTBInfoLabel_;
00051 
00052 };
00053 
00054 #endif