test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SkippingLayerCosmicNavigationSchoolESProducer.cc
Go to the documentation of this file.
3 
5  using namespace edm::es;
6 
7  // get the field
9  iRecord.getRecord<IdealMagneticFieldRecord>().get(field);
10 
11  //get the geometricsearch tracker geometry
12  edm::ESHandle<GeometricSearchTracker> geometricSearchTracker;
13  iRecord.getRecord<TrackerRecoGeometryRecord>().get(geometricSearchTracker);
14 
16  theNavigationSchool.reset(new SkippingLayerCosmicNavigationSchool(geometricSearchTracker.product(), field.product(), layerConfig) );
17 
18  return theNavigationSchool;
19 }
boost::shared_ptr< NavigationSchool > ReturnType
boost::shared_ptr< NavigationSchool > theNavigationSchool