19 namespace dtCalibration {
38 float tTrigMean,tTrigSigma, kFactor;
53 vector<const DTSuperLayer*> dtSupLylist =
muonGeom_->superLayers();
62 for(
auto 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
virtual ~DTTTrigFillWithAverage()
virtual void setES(const edm::EventSetup &setup)
edm::ESHandle< DTGeometry > muonGeom_
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_
volatile std::atomic< bool > shutdown_flag false
struct dtCalibration::DTTTrigFillWithAverage::@61 initialTTrig_
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
virtual DTTTrigData correction(const DTSuperLayerId &)