23 namespace dtCalibration {
25 DTT0ChamberReferenceCorrection::DTT0ChamberReferenceCorrection(
const ParameterSet& pset):
26 calibChamber_( pset.getParameter<
string>(
"calibChamber") ) {
31 int selWheel, selStation, selSector;
33 linestr >> selWheel >> selStation >> selSector;
49 LogVerbatim(
"Calibration") <<
"[DTT0ChamberReferenceCorrection] T0 version: " << t0H->version();
64 throw cms::Exception(
"[DTT0ChamberReferenceCorrection]") <<
"Could not find t0 entry in DB for"
82 throw cms::Exception(
"[DTT0ChamberReferenceCorrection]") <<
"Could not find t0 entry in DB for"
DTChamberId chamberId() const
Return the corresponding ChamberId.
DTT0Data defaultT0(const DTWireId &)
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
DTChamberId chosenChamberId_
virtual DTT0Data correction(const DTWireId &)
std::string calibChamber_
DTLayerId layerId() const
Return the corresponding LayerId.
virtual void setES(const edm::EventSetup &setup)
virtual ~DTT0ChamberReferenceCorrection()
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")