00001 #ifndef CondToolsGeometry_PGeometricDetBuilder_h 00002 #define CondToolsGeometry_PGeometricDetBuilder_h 00003 00004 #include "FWCore/Framework/interface/EDAnalyzer.h" 00005 #include "FWCore/Framework/interface/Event.h" 00006 #include "FWCore/Framework/interface/EventSetup.h" 00007 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00008 00009 #include <string> 00010 00011 class GeometricDet; 00012 class PGeometricDet; 00013 00014 class PGeometricDetBuilder : public edm::EDAnalyzer { 00015 00016 public: 00017 explicit PGeometricDetBuilder( const edm::ParameterSet& iConfig ); 00018 ~PGeometricDetBuilder(); 00019 virtual void beginRun( const edm::Run&, edm::EventSetup const& ); 00020 virtual void analyze( const edm::Event&, const edm::EventSetup& ){} 00021 virtual void endJob() {}; 00022 void putOne ( const GeometricDet* gd, PGeometricDet* pgd, int lev ); 00023 private: 00024 }; 00025 00026 #endif