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;
55 throw cms::Exception(
"MTDTimeCalib") <<
"MTDDetId: " << std::hex <<
id.rawId() <<
" is invalid!" <<
std::dec uint8_t geoId(const VFATFrame &frame)
retrieve the GEO information for this channel
int getMTDTopologyMode() const
virtual const Topology & topology() const
virtual const PixelTopology & specificTopology() const
Detector identifier base class for the MIP Timing Layer.
MTDTimeCalib(edm::ParameterSet const &conf, const MTDGeometry *geom, const MTDTopology *topo)
const MTDGeomDet * idToDet(DetId) const override
const MTDTopology * topo_
std::pair< float, float > pitch() const override
#define TYPELOOKUP_DATA_REG(_dataclass_)
const MTDGeometry * geom_
Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0...
BTLDetId::CrysLayout crysLayoutFromTopoMode(const int &topoMode)
BTLDetId geographicalId(CrysLayout lay) const
float getTimeCalib(const MTDDetId &id) const