23 namespace dtCalibration {
25 DTT0FillChamberFromDB::DTT0FillChamberFromDB(
const ParameterSet& pset):
26 dbLabelRef_( pset.getParameter<
string>(
"dbLabelRef") ),
27 chamberRef_( pset.getParameter<
string>(
"chamberId") ) {
32 int selWheel, selStation, selSector;
34 linestr >> selWheel >> selStation >> selSector;
50 LogVerbatim(
"Calibration") <<
"[DTT0FillChamberFromDB] T0 version: " << t0H->version();
56 LogVerbatim(
"Calibration") <<
"[DTT0FillChamberFromDB] Reference T0 version: " << t0RefH->version();
68 float t0MeanRef,t0RMSRef;
74 throw cms::Exception(
"[DTT0FillChamberFromDB]") <<
"Could not find t0 entry in reference DB for"
85 throw cms::Exception(
"[DTT0FillChamberFromDB]") <<
"Could not find t0 entry in DB for"
DTChamberId chosenChamberId_
virtual DTT0Data correction(const DTWireId &)
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
DTLayerId layerId() const
Return the corresponding LayerId.
virtual void setES(const edm::EventSetup &setup)
virtual ~DTT0FillChamberFromDB()
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")