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