25 namespace dtCalibration {
28 : chamberRef_(pset.getParameter<
string>(
"chamberId")),
35 int selWheel, selStation, selSector;
37 linestr >> selWheel >> selStation >> selSector;
50 LogVerbatim(
"Calibration") <<
"[DTT0FillChamberFromDB] T0 version: " << t0H->version();
55 LogVerbatim(
"Calibration") <<
"[DTT0FillChamberFromDB] Reference T0 version: " << t0RefH->version();
66 float t0MeanRef, t0RMSRef;
69 return DTT0Data(t0MeanRef, t0RMSRef);
73 <<
"Could not find t0 entry in reference DB for" << wireId << endl;
83 throw cms::Exception(
"[DTT0FillChamberFromDB]") <<
"Could not find t0 entry in DB for" << wireId << endl;
Log< level::Info, true > LogVerbatim
edm::ESGetToken< DTT0, DTT0Rcd > t0Token_
DTChamberId chosenChamberId_
~DTT0FillChamberFromDB() override
DTT0Data correction(const DTWireId &) override
DTChamberId chamberId() const
Return the corresponding ChamberId.
DTSuperLayerId superlayerId() const
Return the corresponding SuperLayerId.
int get(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &t0mean, float &t0rms, DTTimeUnits::type unit) const
edm::ESGetToken< DTT0, DTT0Rcd > t0RefToken_
DTLayerId layerId() const
Return the corresponding LayerId.
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
void setES(const edm::EventSetup &setup) override