CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/SimG4CMS/EcalTestBeam/interface/FakeTBHodoscopeRawInfoProducer.h

Go to the documentation of this file.
00001 #ifndef FakeTBHodoscopeRawInfoProducer_H
00002 #define FakeTBHodoscopeRawInfoProducer_H
00003 /*
00004  * \file FakeTBHodoscopeRawInfoProducer.h
00005  *
00006  * $Id: FakeTBHodoscopeRawInfoProducer.h,v 1.5 2011/05/20 17:17:34 wmtan Exp $
00007  *
00008  * Mimic the hodoscope raw information using 
00009  * the generated vertex of 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/EcalTBHodoscopePlaneRawHits.h"
00025 #include "TBDataFormats/EcalTBObjects/interface/EcalTBHodoscopeRawInfo.h"
00026 #include "Geometry/EcalTestBeam/interface/EcalTBHodoscopeGeometry.h"
00027 
00028 class FakeTBHodoscopeRawInfoProducer: public edm::EDProducer{
00029 
00030   
00031  public:
00032   
00034   FakeTBHodoscopeRawInfoProducer(const edm::ParameterSet& ps);
00035   
00037   virtual ~FakeTBHodoscopeRawInfoProducer();
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   EcalTBHodoscopeGeometry * theTBHodoGeom_;
00052 
00053   std::string ecalTBInfoLabel_;
00054 
00055 };
00056 
00057 #endif