38 float tTrigMean,tTrigSigma, kFactor;
53 vector<DTSuperLayer*> dtSupLylist =
muonGeom_->superLayers();
62 for(vector<DTSuperLayer*>::const_iterator sl =
muonGeom_->superLayers().begin();
63 sl !=
muonGeom_->superLayers().end(); ++sl) {
64 float tTrigMean,tTrigSigma,kFactor;
69 ave2Mean += tTrigMean*tTrigMean;
70 aveSigma += tTrigSigma;
71 ave2Sigma += tTrigSigma*tTrigSigma;
72 aveKFactor += kFactor;
78 float rmsMean = ave2Mean/(nIter - 1) - aveMean*aveMean;
79 rmsMean =
sqrt(rmsMean);
81 float rmsSigma = ave2Sigma/(nIter - 1) - aveSigma*aveSigma;
82 rmsSigma =
sqrt(rmsSigma);
91 LogVerbatim(
"Calibration") <<
"[DTTTrigFillWithAverage] Found from " << nIter <<
" SL's\n"
92 <<
" average tTrig mean: " << aveMean <<
"\n"
93 <<
" tTrig mean RMS: " << rmsMean <<
"\n"
94 <<
" average tTrig sigma: " << aveSigma <<
"\n"
95 <<
" tTrig sigma RMS: " << rmsSigma <<
"\n"
T getUntrackedParameter(std::string const &, T const &) const
DTTTrigFillWithAverage(const edm::ParameterSet &)
edm::ESHandle< DTGeometry > muonGeom_
virtual void setES(const edm::EventSetup &setup)
struct DTTTrigFillWithAverage::@59 initialTTrig_
const DTTtrig * tTrigMap_
virtual DTTTrigData correction(const DTSuperLayerId &)
int get(int wheelId, int stationId, int sectorId, int slId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
get content
virtual ~DTTTrigFillWithAverage()
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")