Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTracker
TkNavigation
plugins
CfgNavigationSchoolESProducer.cc
Go to the documentation of this file.
1
#include "
RecoTracker/TkNavigation/plugins/CfgNavigationSchoolESProducer.h
"
2
#include "
RecoTracker/TkNavigation/interface/CfgNavigationSchool.h
"
3
4
NavigationSchoolESProducer::ReturnType
CfgNavigationSchoolESProducer::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
theNavigationSchool
.reset(
new
CfgNavigationSchool
(
theNavigationPSet
,
16
geometricSearchTracker.product(),
17
field.product()) );
18
19
return
theNavigationSchool
;
20
}
CfgNavigationSchoolESProducer::produce
ReturnType produce(const NavigationSchoolRecord &)
Definition:
CfgNavigationSchoolESProducer.cc:4
TrackerRecoGeometryRecord
Definition:
TrackerRecoGeometryRecord.h:12
IdealMagneticFieldRecord
Definition:
IdealMagneticFieldRecord.h:11
CfgNavigationSchoolESProducer.h
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 >
CfgNavigationSchool.h
NavigationSchoolESProducer::theNavigationSchool
boost::shared_ptr< NavigationSchool > theNavigationSchool
Definition:
NavigationSchoolESProducer.h:32
NavigationSchoolESProducer::theNavigationPSet
edm::ParameterSet theNavigationPSet
Definition:
NavigationSchoolESProducer.h:30
CfgNavigationSchool
Definition:
CfgNavigationSchool.h:13
Generated for CMSSW Reference Manual by
1.8.5