Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TrackingTools
KalmanUpdators
plugins
Chi2MeasurementEstimatorESProducer.cc
Go to the documentation of this file.
1
#include "
TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimatorESProducer.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
Chi2MeasurementEstimatorESProducer::Chi2MeasurementEstimatorESProducer
(
const
edm::ParameterSet
&
p
)
16
{
17
std::string
myname = p.
getParameter
<
std::string
>(
"ComponentName"
);
18
pset_ =
p
;
19
setWhatProduced(
this
,myname);
20
}
21
22
Chi2MeasurementEstimatorESProducer::~Chi2MeasurementEstimatorESProducer
() {}
23
24
boost::shared_ptr<Chi2MeasurementEstimatorBase>
25
Chi2MeasurementEstimatorESProducer::produce
(
const
TrackingComponentsRecord
& iRecord){
26
// if (_updator){
27
// delete _updator;
28
// _updator = 0;
29
// }
30
double
maxChi2
= pset_.getParameter<
double
>(
"MaxChi2"
);
31
double
nSigma
= pset_.getParameter<
double
>(
"nSigma"
);
32
33
34
_estimator = boost::shared_ptr<Chi2MeasurementEstimatorBase>(
new
Chi2MeasurementEstimator
(maxChi2,nSigma));
35
return
_estimator;
36
}
37
38
HLT_25ns14e33_v1_cff.nSigma
tuple nSigma
Definition:
HLT_25ns14e33_v1_cff.py:1017
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
TrackingComponentsRecord
Definition:
TrackingComponentsRecord.h:13
EventSetup.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
MagneticField.h
Chi2MeasurementEstimatorESProducer::Chi2MeasurementEstimatorESProducer
Chi2MeasurementEstimatorESProducer(const edm::ParameterSet &p)
Definition:
Chi2MeasurementEstimatorESProducer.cc:15
ESHandle.h
HLT_25ns14e33_v1_cff.maxChi2
tuple maxChi2
Definition:
HLT_25ns14e33_v1_cff.py:4483
Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator
tuple Chi2MeasurementEstimator
Definition:
Chi2MeasurementEstimatorESProducer_cfi.py:3
Chi2MeasurementEstimatorESProducer::produce
boost::shared_ptr< Chi2MeasurementEstimatorBase > produce(const TrackingComponentsRecord &)
Definition:
Chi2MeasurementEstimatorESProducer.cc:25
ESProducer.h
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
edm::ParameterSet
Definition:
ParameterSet.h:35
ModuleFactory.h
Chi2MeasurementEstimatorESProducer::~Chi2MeasurementEstimatorESProducer
virtual ~Chi2MeasurementEstimatorESProducer()
Definition:
Chi2MeasurementEstimatorESProducer.cc:22
Chi2MeasurementEstimatorESProducer.h
IdealMagneticFieldRecord.h
Generated for CMSSW Reference Manual by
1.8.5