#include <DTTTrigT0SegCorrection.h>
Definition at line 26 of file DTTTrigT0SegCorrection.h.
DTTTrigT0SegCorrection::~DTTTrigT0SegCorrection |
( |
| ) |
|
|
override |
Implements dtCalibration::DTTTrigBaseCorrection.
Definition at line 43 of file DTTTrigT0SegCorrection.cc.
References Exception, DTAnalyzerDetailed_cfi::kFactor, DTTimeUnits::ns, and mps_update::status.
44 float tTrigMean,tTrigSigma,
kFactor;
46 if(status != 0)
throw cms::Exception(
"[DTTTrigT0SegCorrection]") <<
"Could not find tTrig entry in DB for" 49 const TH1F* t0SegHisto =
getHisto(slId);
50 double corrMean = tTrigMean;
51 double corrSigma = tTrigSigma;
53 double corrKFact = (kFactor*tTrigSigma + t0SegHisto->GetMean())/tTrigSigma;
54 return DTTTrigData(corrMean,corrSigma,corrKFact);
const TH1F * getHisto(const DTSuperLayerId &)
int get(int wheelId, int stationId, int sectorId, int slId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
get content
const DTTtrig * tTrigMap_
const TH1F * DTTTrigT0SegCorrection::getHisto |
( |
const DTSuperLayerId & |
slId | ) |
|
|
private |
string DTTTrigT0SegCorrection::getHistoName |
( |
const DTSuperLayerId & |
slID | ) |
|
|
private |
std::string dtCalibration::DTTTrigT0SegCorrection::dbLabel |
|
private |
TFile* dtCalibration::DTTTrigT0SegCorrection::rootFile_ |
|
private |
const DTTtrig* dtCalibration::DTTTrigT0SegCorrection::tTrigMap_ |
|
private |