CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/Geometry/TrackerNumberingBuilder/plugins/TrackerGeometricDetESModule.h

Go to the documentation of this file.
00001 #ifndef Geometry_TrackerNumberingBuilder_TrackerGeometricDetESModule_H
00002 #define Geometry_TrackerNumberingBuilder_TrackerGeometricDetESModule_H
00003 
00004 #include "FWCore/Framework/interface/ESProducer.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 #include "Geometry/Records/interface/IdealGeometryRecord.h"
00007 #include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h"
00008 #include "Geometry/TrackerNumberingBuilder/interface/GeometricDetExtra.h"
00009 
00010 namespace edm {
00011   class ConfigurationDescriptions;
00012 }
00013 
00014 class  TrackerGeometricDetESModule: public edm::ESProducer
00015 {
00016 public:
00017   TrackerGeometricDetESModule( const edm::ParameterSet & p );
00018   virtual ~TrackerGeometricDetESModule( void ); 
00019   std::auto_ptr<GeometricDet>       produce( const IdealGeometryRecord & );
00020 
00021   static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
00022   
00023 private:
00024   bool fromDDD_;
00025   unsigned int layerNumberPXB_; // default 16; 18 for SLHC
00026   unsigned int totalBlade_;     // default 24; 56 for SLHC
00027 };
00028 
00029 
00030 #endif
00031 
00032 
00033 
00034