24 dbLabel_( pset.getUntrackedParameter<
string>(
"dbLabel",
"") ),
25 calibChamber_( pset.getParameter<
string>(
"calibChamber") ),
26 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;
52 float tTrigMean,tTrigSigma,
kFactor;
54 if(status != 0)
throw cms::Exception(
"[DTTTrigConstantShift]") <<
"Could not find tTrig entry in DB for" 57 float tTrigMeanNew = tTrigMean;
61 tTrigMeanNew = tTrigMean +
value_;
65 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
def setup(process, global_tag, zero_tesla=False)
~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_