25 : calibChamber_(
pset.getParameter<
string>(
"calibChamber")), value_(
pset.getParameter<double>(
"value")) {
28 LogVerbatim(
"Calibration") <<
"[DTTTrigConstantShift] Applying constant correction value: " <<
value_ << endl;
32 int selWheel, selStation, selSector;
34 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_;
Log< level::Info, true > LogVerbatim
void setES(const edm::EventSetup &setup) override
const DTTtrig * tTrigMap_
DTChamberId chosenChamberId_
uint32_t cc[maxCellsPerHit]
DTTTrigData correction(const DTSuperLayerId &) override
~DTTTrigConstantShift() override
DTChamberId chamberId() const
Return the corresponding ChamberId.
edm::ESGetToken< DTTtrig, DTTtrigRcd > ttrigToken_
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_