CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/Geometry/TrackerGeometryBuilder/plugins/TrackerDigiGeometryESModule.h

Go to the documentation of this file.
00001 #ifndef Geometry_TrackerGeometryBuilder_TrackerDigiGeometryESModule_H
00002 #define Geometry_TrackerGeometryBuilder_TrackerDigiGeometryESModule_H
00003 
00004 #include "FWCore/Framework/interface/ESProducer.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
00007 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
00008 #include <boost/shared_ptr.hpp>
00009 
00010 #include <string>
00011 
00012 class  TrackerDigiGeometryESModule: public edm::ESProducer{
00013  public:
00014   TrackerDigiGeometryESModule(const edm::ParameterSet & p);
00015   virtual ~TrackerDigiGeometryESModule(); 
00016   boost::shared_ptr<TrackerGeometry> produce(const TrackerDigiGeometryRecord &);
00017  private:
00019   boost::shared_ptr<TrackerGeometry> _tracker;
00020   bool applyAlignment_; // Switch to apply alignment corrections
00021   bool fromDDD_;
00022   const std::string alignmentsLabel_;
00023   const std::string myLabel_;
00024 };
00025 
00026 
00027 #endif
00028 
00029 
00030 
00031