23 dbLabel =
pset.getUntrackedParameter<
string>(
"dbLabel",
"");
26 DTTTrigMatchRPhi::~DTTTrigMatchRPhi() {}
36 float tTrigMean, tTrigSigma,
kFactor;
41 throw cms::Exception(
"[DTTTrigMatchRPhi]") <<
"Could not find tTrig entry in DB for" << slId << endl;
45 float tTrigMeanNew, tTrigSigmaNew, kFactorNew;
47 if (!tTrigMap_->get(partnerSLId, tTrigMeanNew, tTrigSigmaNew, kFactorNew,
DTTimeUnits::ns)) {
48 tTrigMeanNew = (tTrigMean + tTrigMeanNew) / 2.;
50 tTrigSigmaNew = (tTrigSigmaNew + tTrigSigma) / 2.;
53 return DTTTrigData(tTrigMeanNew, tTrigSigmaNew, kFactorNew);
57 if (!tTrigMap_->get(partnerSLId, tTrigMeanNew, tTrigSigmaNew, kFactorNew,
DTTimeUnits::ns))
58 return DTTTrigData(tTrigMeanNew, tTrigSigmaNew, kFactorNew);
60 throw cms::Exception(
"[DTTTrigMatchRPhi]") <<
"Could not find tTrig entry in DB for" << slId <<
"\n"
61 << partnerSLId << endl;