Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTracker
TkNavigation
plugins
SkippingLayerCosmicNavigationSchoolESProducer.cc
Go to the documentation of this file.
1
#include "
RecoTracker/TkNavigation/plugins/SkippingLayerCosmicNavigationSchoolESProducer.h
"
2
#include "
RecoTracker/TkNavigation/interface/SkippingLayerCosmicNavigationSchool.h
"
3
4
NavigationSchoolESProducer::ReturnType
SkippingLayerCosmicNavigationSchoolESProducer::produce
(
const
NavigationSchoolRecord
& iRecord){
5
using namespace
edm::es;
6
7
// get the field
8
edm::ESHandle<MagneticField>
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
15
CosmicNavigationSchool::CosmicNavigationSchoolConfiguration
layerConfig(
theNavigationPSet
);
16
theNavigationSchool
.reset(
new
SkippingLayerCosmicNavigationSchool
(geometricSearchTracker.product(), field.product(), layerConfig) );
17
18
return
theNavigationSchool
;
19
}
CosmicNavigationSchool::CosmicNavigationSchoolConfiguration
Definition:
CosmicNavigationSchool.h:23
TrackerRecoGeometryRecord
Definition:
TrackerRecoGeometryRecord.h:12
IdealMagneticFieldRecord
Definition:
IdealMagneticFieldRecord.h:12
NavigationSchoolESProducer::ReturnType
boost::shared_ptr< NavigationSchool > ReturnType
Definition:
NavigationSchoolESProducer.h:25
edm::eventsetup::DependentRecordImplementation::getRecord
const DepRecordT & getRecord() const
Definition:
DependentRecordImplementation.h:46
NavigationSchoolRecord
Definition:
NavigationSchoolRecord.h:14
edm::ESHandle< MagneticField >
SkippingLayerCosmicNavigationSchoolESProducer::produce
ReturnType produce(const NavigationSchoolRecord &)
Definition:
SkippingLayerCosmicNavigationSchoolESProducer.cc:4
SkippingLayerCosmicNavigationSchoolESProducer.h
NavigationSchoolESProducer::theNavigationSchool
boost::shared_ptr< NavigationSchool > theNavigationSchool
Definition:
NavigationSchoolESProducer.h:32
SkippingLayerCosmicNavigationSchool.h
SkippingLayerCosmicNavigationSchool
Definition:
SkippingLayerCosmicNavigationSchool.h:15
NavigationSchoolESProducer::theNavigationPSet
edm::ParameterSet theNavigationPSet
Definition:
NavigationSchoolESProducer.h:30
Generated for CMSSW Reference Manual by
1.8.5