39 float tTrigMean,tTrigSigma,kFactor;
43 if(status != 0)
throw cms::Exception(
"[DTTTrigMatchRPhi]") <<
"Could not find tTrig entry in DB for"
45 return DTTTrigData(tTrigMean,tTrigSigma,kFactor);
48 float tTrigMeanNew,tTrigSigmaNew,kFactorNew;
51 tTrigMeanNew = (tTrigMean + tTrigMeanNew)/2.;
53 tTrigSigmaNew = (tTrigSigmaNew + tTrigSigma)/2.;
56 return DTTTrigData(tTrigMeanNew,tTrigSigmaNew,kFactorNew);
57 }
else return DTTTrigData(tTrigMean,tTrigSigma,kFactor);
60 return DTTTrigData(tTrigMeanNew,tTrigSigmaNew,kFactorNew);
62 throw cms::Exception(
"[DTTTrigMatchRPhi]") <<
"Could not find tTrig entry in DB for"
63 << slId <<
"\n" << partnerSLId << endl;
const DTTtrig * tTrigMap_
DTChamberId chamberId() const
Return the corresponding ChamberId.
int superLayer() const
Return the superlayer number.
int get(int wheelId, int stationId, int sectorId, int slId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
get content