Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
TrackingTools
KalmanUpdators
plugins
KFSwitching1DUpdatorESProducer.cc
Go to the documentation of this file.
1
#include "
TrackingTools/KalmanUpdators/interface/KFSwitching1DUpdatorESProducer.h
"
2
#include "
MagneticField/Engine/interface/MagneticField.h
"
3
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
4
5
#include "
FWCore/Framework/interface/EventSetup.h
"
6
#include "
FWCore/Framework/interface/ESHandle.h
"
7
#include "
FWCore/Framework/interface/ModuleFactory.h
"
8
#include "
FWCore/Framework/interface/ESProducer.h
"
9
10
#include <string>
11
#include <memory>
12
13
using namespace
edm;
14
15
KFSwitching1DUpdatorESProducer::KFSwitching1DUpdatorESProducer
(
const
edm::ParameterSet
&
p
)
16
{
17
std::string
myname = p.
getParameter
<
std::string
>(
"ComponentName"
);
18
pset_ =
p
;
19
setWhatProduced(
this
,myname);
20
}
21
22
KFSwitching1DUpdatorESProducer::~KFSwitching1DUpdatorESProducer
() {}
23
24
boost::shared_ptr<TrajectoryStateUpdator>
25
KFSwitching1DUpdatorESProducer::produce
(
const
TrackingComponentsRecord
& iRecord){
26
// if (_updator){
27
// delete _updator;
28
// _updator = 0;
29
// }
30
31
_updator = boost::shared_ptr<TrajectoryStateUpdator>(
new
KFSwitching1DUpdator
(&pset_));
32
return
_updator;
33
}
34
35
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
KFSwitching1DUpdator
TrackingComponentsRecord
Definition:
TrackingComponentsRecord.h:13
EventSetup.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
MagneticField.h
KFSwitching1DUpdatorESProducer::~KFSwitching1DUpdatorESProducer
virtual ~KFSwitching1DUpdatorESProducer()
Definition:
KFSwitching1DUpdatorESProducer.cc:22
KFSwitching1DUpdatorESProducer::KFSwitching1DUpdatorESProducer
KFSwitching1DUpdatorESProducer(const edm::ParameterSet &p)
Definition:
KFSwitching1DUpdatorESProducer.cc:15
ESHandle.h
KFSwitching1DUpdatorESProducer.h
ESProducer.h
KFSwitching1DUpdatorESProducer::produce
boost::shared_ptr< TrajectoryStateUpdator > produce(const TrackingComponentsRecord &)
Definition:
KFSwitching1DUpdatorESProducer.cc:25
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
edm::ParameterSet
Definition:
ParameterSet.h:35
ModuleFactory.h
IdealMagneticFieldRecord.h
Generated for CMSSW Reference Manual by
1.8.5