24 : dbLabel_(pset.getUntrackedParameter<
string>(
"dbLabel",
"")),
25 calibChamber_(pset.getParameter<
string>(
"calibChamber")),
26 value_(pset.getParameter<double>(
"value")) {
27 LogVerbatim(
"Calibration") <<
"[DTTTrigConstantShift] Applying constant correction value: " <<
value_ << endl;
31 int selWheel, selStation, selSector;
33 linestr >> selWheel >> selStation >> selSector;
50 float tTrigMean, tTrigSigma,
kFactor;
53 throw cms::Exception(
"[DTTTrigConstantShift]") <<
"Could not find tTrig entry in DB for" << slId << endl;
55 float tTrigMeanNew = tTrigMean;
58 tTrigMeanNew = tTrigMean +
value_;
62 return DTTTrigData(tTrigMeanNew, tTrigSigma, kFactor);
void setES(const edm::EventSetup &setup) override
const DTTtrig * tTrigMap_
DTChamberId chosenChamberId_
DTChamberId chamberId() const
Return the corresponding ChamberId.
DTTTrigData correction(const DTSuperLayerId &) override
~DTTTrigConstantShift() override
int get(int wheelId, int stationId, int sectorId, int slId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
get content
std::string calibChamber_