38 std::string myname = p.
getParameter<std::string>(
"ComponentName");
40 setWhatProduced(
this,myname);
45 boost::shared_ptr<MeasurementTracker>
48 std::string pixelCPEName = pset_.getParameter<std::string>(
"PixelCPE");
49 std::string stripCPEName = pset_.getParameter<std::string>(
"StripCPE");
50 std::string matcherName = pset_.getParameter<std::string>(
"HitMatcher");
51 bool regional = pset_.getParameter<
bool>(
"Regional");
53 bool onDemand = pset_.getParameter<
bool>(
"OnDemand");
58 int pixelQualityFlags = 0;
59 int pixelQualityDebugFlags = 0;
63 if (pset_.getParameter<
bool>(
"UsePixelModuleQualityDB")) {
65 if (pset_.getUntrackedParameter<
bool>(
"DebugPixelModuleQualityDB",
false)) {
69 if (pset_.getParameter<
bool>(
"UsePixelROCQualityDB")) {
71 if (pset_.getUntrackedParameter<
bool>(
"DebugPixelROCQualityDB",
false)) {
77 if (pixelQualityFlags != 0) {
79 ptr_pixelQuality = pixelQuality.
product();
81 ptr_pixelCabling = pixelCabling.
product();
86 int stripQualityFlags = 0;
87 int stripQualityDebugFlags = 0;
90 if (pset_.getParameter<
bool>(
"UseStripModuleQualityDB")) {
92 if (pset_.getUntrackedParameter<
bool>(
"DebugStripModuleQualityDB",
false)) {
96 if (pset_.getParameter<
bool>(
"UseStripAPVFiberQualityDB")) {
98 if (pset_.getUntrackedParameter<
bool>(
"DebugStripAPVFiberQualityDB",
false)) {
101 if (pset_.existsAs<
bool>(
"MaskBadAPVFibers") && pset_.getParameter<
bool>(
"MaskBadAPVFibers")) {
105 if (pset_.getParameter<
bool>(
"UseStripStripQualityDB")) {
107 if (pset_.getUntrackedParameter<
bool>(
"DebugStripStripQualityDB",
false)) {
112 if (stripQualityFlags != 0) {
113 std::string siStripQualityLabel = pset_.getParameter<std::string>(
"SiStripQualityLabel");
115 ptr_stripQuality = stripQuality.
product();
137 geometricSearchTracker.
product(),
140 stripQualityDebugFlags,
144 pixelQualityDebugFlags,
152 ptr_stripRegionCabling = rcabling.
product();
159 geometricSearchTracker.
product(),
162 stripQualityDebugFlags,
166 pixelQualityDebugFlags,
167 ptr_stripRegionCabling,
171 return _measurementTracker;
T getParameter(std::string const &) const
tuple OnDemandMeasurementTracker
const DepRecordT & getRecord() const
boost::shared_ptr< MeasurementTracker > produce(const CkfComponentsRecord &)
T const * product() const
virtual ~MeasurementTrackerESProducer()
MeasurementTrackerESProducer(const edm::ParameterSet &p)