25 namespace dtCalibration {
27 DTT0FillChamberFromDB::DTT0FillChamberFromDB(
const ParameterSet& pset):
28 dbLabelRef_( pset.getParameter<
string>(
"dbLabelRef") ),
29 chamberRef_( pset.getParameter<
string>(
"chamberId") ) {
34 int selWheel, selStation, selSector;
36 linestr >> selWheel >> selStation >> selSector;
52 LogVerbatim(
"Calibration") <<
"[DTT0FillChamberFromDB] T0 version: " << t0H->version();
58 LogVerbatim(
"Calibration") <<
"[DTT0FillChamberFromDB] Reference T0 version: " << t0RefH->version();
70 float t0MeanRef,t0RMSRef;
76 throw cms::Exception(
"[DTT0FillChamberFromDB]") <<
"Could not find t0 entry in reference DB for"
87 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="")