41 setWhatProduced(
this,myname);
46 boost::shared_ptr<MeasurementTracker>
56 int pixelQualityFlags = 0;
57 int pixelQualityDebugFlags = 0;
61 if (pset_.getParameter<
bool>(
"UsePixelModuleQualityDB")) {
63 if (pset_.getUntrackedParameter<
bool>(
"DebugPixelModuleQualityDB",
false)) {
67 if (pset_.getParameter<
bool>(
"UsePixelROCQualityDB")) {
69 if (pset_.getUntrackedParameter<
bool>(
"DebugPixelROCQualityDB",
false)) {
75 if (pixelQualityFlags != 0) {
77 ptr_pixelQuality = pixelQuality.
product();
79 ptr_pixelCabling = pixelCabling.
product();
84 int stripQualityFlags = 0;
85 int stripQualityDebugFlags = 0;
88 if (pset_.getParameter<
bool>(
"UseStripModuleQualityDB")) {
90 if (pset_.getUntrackedParameter<
bool>(
"DebugStripModuleQualityDB",
false)) {
94 if (pset_.getParameter<
bool>(
"UseStripAPVFiberQualityDB")) {
96 if (pset_.getUntrackedParameter<
bool>(
"DebugStripAPVFiberQualityDB",
false)) {
99 if (pset_.getParameter<
bool>(
"MaskBadAPVFibers")) {
103 if (pset_.getParameter<
bool>(
"UseStripStripQualityDB")) {
105 if (pset_.getUntrackedParameter<
bool>(
"DebugStripStripQualityDB",
false)) {
110 if (stripQualityFlags != 0) {
113 ptr_stripQuality = stripQuality.
product();
134 geometricSearchTracker.
product(),
137 stripQualityDebugFlags,
141 pixelQualityDebugFlags) );
142 return _measurementTracker;
T getParameter(std::string const &) const
const DepRecordT & getRecord() const
boost::shared_ptr< MeasurementTracker > produce(const CkfComponentsRecord &)
T const * product() const
virtual ~MeasurementTrackerESProducer()
MeasurementTrackerESProducer(const edm::ParameterSet &p)