00001 #ifndef FastSimulation_TrackerSetup_TrackerInteractionGeometryESProducer_H 00002 #define FastSimulation_TrackerSetup_TrackerInteractionGeometryESProducer_H 00003 00004 #include "FWCore/Framework/interface/ESProducer.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 #include "FastSimulation/TrackerSetup/interface/TrackerInteractionGeometryRecord.h" 00007 #include "FastSimulation/TrackerSetup/interface/TrackerInteractionGeometry.h" 00008 #include <boost/shared_ptr.hpp> 00009 #include <string> 00010 00011 class TrackerInteractionGeometryESProducer: public edm::ESProducer{ 00012 public: 00013 TrackerInteractionGeometryESProducer(const edm::ParameterSet & p); 00014 virtual ~TrackerInteractionGeometryESProducer(); 00015 boost::shared_ptr<TrackerInteractionGeometry> produce(const TrackerInteractionGeometryRecord &); 00016 private: 00017 boost::shared_ptr<TrackerInteractionGeometry> _tracker; 00018 std::string _label; 00019 edm::ParameterSet theTrackerMaterial; 00020 }; 00021 00022 00023 #endif 00024 00025 00026 00027