#include <SkippingLayerCosmicNavigationSchoolESProducer.h>
Public Member Functions | |
ReturnType | produce (const NavigationSchoolRecord &) |
SkippingLayerCosmicNavigationSchoolESProducer (const edm::ParameterSet &iConfig) | |
~SkippingLayerCosmicNavigationSchoolESProducer () |
Definition at line 10 of file SkippingLayerCosmicNavigationSchoolESProducer.h.
SkippingLayerCosmicNavigationSchoolESProducer::SkippingLayerCosmicNavigationSchoolESProducer | ( | const edm::ParameterSet & | iConfig | ) | [inline] |
Definition at line 12 of file SkippingLayerCosmicNavigationSchoolESProducer.h.
: NavigationSchoolESProducer(iConfig){}
SkippingLayerCosmicNavigationSchoolESProducer::~SkippingLayerCosmicNavigationSchoolESProducer | ( | ) | [inline] |
Definition at line 14 of file SkippingLayerCosmicNavigationSchoolESProducer.h.
{}
NavigationSchoolESProducer::ReturnType SkippingLayerCosmicNavigationSchoolESProducer::produce | ( | const NavigationSchoolRecord & | iRecord | ) | [virtual] |
Reimplemented from NavigationSchoolESProducer.
Definition at line 4 of file SkippingLayerCosmicNavigationSchoolESProducer.cc.
References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), NavigationSchoolESProducer::theNavigationPSet, and NavigationSchoolESProducer::theNavigationSchool.
{ using namespace edm::es; // get the field edm::ESHandle<MagneticField> field; iRecord.getRecord<IdealMagneticFieldRecord>().get(field); //get the geometricsearch tracker geometry edm::ESHandle<GeometricSearchTracker> geometricSearchTracker; iRecord.getRecord<TrackerRecoGeometryRecord>().get(geometricSearchTracker); CosmicNavigationSchool::CosmicNavigationSchoolConfiguration layerConfig(theNavigationPSet); theNavigationSchool.reset(new SkippingLayerCosmicNavigationSchool(geometricSearchTracker.product(), field.product(), layerConfig) ); return theNavigationSchool; }