27 : metname_(
"TTrigDBValidation"),
30 lowerLimit_(
pset.getUntrackedParameter<
int>(
"lowerLimit", 1)),
31 higherLimit_(
pset.getUntrackedParameter<
int>(
"higherLimit", 3)),
59 DTSuperLayerId slId((*it).first.wheelId, (*it).first.stationId, (*it).first.sectorId, (*it).first.slId);
64 float tTrigCorr = tTrigMean +
kFactor * tTrigRms;
66 <<
" Ttrig mean (ns): " << tTrigMean <<
" Ttrig rms (ns): " << tTrigRms
67 <<
" Ttrig k-Factor: " <<
kFactor <<
" Ttrig value (ns): " << tTrigCorr;
70 tTrigRefMap_[slId] = pair<float, float>(tTrigCorr, tTrigRms);
75 DTSuperLayerId slId((*it).first.wheelId, (*it).first.stationId, (*it).first.sectorId, (*it).first.slId);
80 float tTrigCorr = tTrigMean +
kFactor * tTrigRms;
82 <<
" Ttrig mean (ns): " << tTrigMean <<
" Ttrig rms (ns): " << tTrigRms
83 <<
" Ttrig k-Factor: " <<
kFactor <<
" Ttrig value (ns): " << tTrigCorr;
86 tTrigMap_[slId] = pair<float, float>(tTrigCorr, tTrigRms);
95 float difference =
tTrigMap_[(*it).first].first - (*it).second.first;
98 int wheel = (*it).first.chamberId().wheel();
99 int sector = (*it).first.chamberId().sector();
103 LogTrace(
metname_) <<
"Filling histos for super-layer: " << (*it).first <<
" difference: " << difference;
107 int station = (*it).first.chamberId().station();
117 int slBin =
entry + (*it).first.superLayer();
137 stringstream str_wheel;
139 stringstream str_sector;
140 str_sector << sector;
142 string lHistoName =
"_W" + str_wheel.str() +
"_Sec" + str_sector.str();
144 iBooker.
setCurrentFolder(
"DT/DtCalib/TTrigDBValidation/Wheel" + str_wheel.str());
148 hDifference = iBooker.
book1D(
"TTrigDifference" + lHistoName,
"difference between the two tTrig values", 11, 0, 11);
150 pair<int, int> mypair(
wheel, sector);
173 "TTrigDifference_W" + wh.str(),
"W" + wh.str() +
": summary of tTrig differences", 11, 1, 12, 14, 1, 15);
191 if (
ret == 0 ||
bin == 11)