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
uint32_t cc[maxCellsPerHit]
DTChamberId chamberId() const
Return the corresponding ChamberId.
edm::ESGetToken< DTT0, DTT0Rcd > t0RefToken_
const std::string & version() const
access version
int get(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &t0mean, float &t0rms, DTTimeUnits::type unit) const
DTSuperLayerId superlayerId() const
Return the corresponding SuperLayerId.
DTLayerId layerId() const
Return the corresponding LayerId.
void setES(const edm::EventSetup &setup) override