14 btlTimeOffset_(conf.getParameter<double>(
"BTLTimeOffset")),
15 etlTimeOffset_(conf.getParameter<double>(
"ETLTimeOffset")),
16 btlLightCollTime_(conf.getParameter<double>(
"BTLLightCollTime")),
17 btlLightCollSlope_(conf.getParameter<double>(
"BTLLightCollSlope")) {}
21 throw cms::Exception(
"MTDTimeCalib") <<
"MTDDetId: " << std::hex <<
id.rawId() <<
" is invalid!" <<
std::dec 25 float time_calib = 0.;
34 if (thedet ==
nullptr) {
35 throw cms::Exception(
"MTDTimeCalib") <<
"GeographicalID: " << std::hex << geoId.
rawId() <<
" (" <<
id.rawId()
36 <<
") is invalid!" <<
std::dec << std::endl;
54 throw cms::Exception(
"MTDTimeCalib") <<
"MTDDetId: " << std::hex <<
id.rawId() <<
" is invalid!" <<
std::dec
virtual const Topology & topology() const
int getMTDTopologyMode() const
constexpr uint32_t rawId() const
get the raw id
std::pair< float, float > pitch() const override
Detector identifier base class for the MIP Timing Layer.
const MTDGeomDet * idToDet(DetId) const override
BTLDetId geographicalId(CrysLayout lay) const
MTDTimeCalib(edm::ParameterSet const &conf, const MTDGeometry *geom, const MTDTopology *topo)
virtual const PixelTopology & specificTopology() const
const MTDTopology * topo_
#define TYPELOOKUP_DATA_REG(_dataclass_)
float getTimeCalib(const MTDDetId &id) const
const MTDGeometry * geom_
Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0...