27 DTT0AbsoluteReferenceCorrection::DTT0AbsoluteReferenceCorrection(
const ParameterSet&
pset):
28 calibChamber_( pset.getParameter<
string>(
"calibChamber") ),
29 reference_( pset.getParameter<double>(
"reference") ) {
34 int selWheel, selStation, selSector;
36 linestr >> selWheel >> selStation >> selSector;
51 LogVerbatim(
"Calibration") <<
"[DTT0AbsoluteReferenceCorrection] T0 version: " << t0H->
version();
66 throw cms::Exception(
"[DTT0AbsoluteReferenceCorrection]") <<
"Could not find t0 entry in DB for" 70 float t0RMSNew = t0RMS;
82 throw cms::Exception(
"[DTT0AbsoluteReferenceCorrection]") <<
"Could not find t0 entry in DB for"
~DTT0AbsoluteReferenceCorrection() override
DTT0Data correction(const DTWireId &) override
DTChamberId chamberId() const
Return the corresponding ChamberId.
def setup(process, global_tag, zero_tesla=False)
DTChamberId chosenChamberId_
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
void setES(const edm::EventSetup &setup) override
DTLayerId layerId() const
Return the corresponding LayerId.
std::string calibChamber_
DTT0Data defaultT0(const DTWireId &)
const std::string & version() const
access version