Definition at line 11 of file MTDTimeCalib.h.
float MTDTimeCalib::getTimeCalib |
( |
const MTDDetId & |
id | ) |
const |
Definition at line 19 of file MTDTimeCalib.cc.
References BTLDetId::barphiflat, MTDDetId::BTL, btlLightCollSlope_, btlTimeOffset_, MTDTopologyMode::crysLayoutFromTopoMode(), TauDecayModes::dec, MTDDetId::ETL, etlTimeOffset_, Exception, MTDDetId::FastTime, BTLDetId::geographicalId(), geom_, MTDTopology::getMTDTopologyMode(), MTDGeometry::idToDet(), RectangularMTDTopology::pitch(), DetId::rawId(), ProxyMTDTopology::specificTopology(), topo_, and GeomDet::topology().
Referenced by MTDRecHitAlgo::makeRecHit().
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;
47 <<
"BTL topology mode " <<
static_cast<int>(btlL) <<
" unsupported! Aborting";
52 throw cms::Exception(
"MTDTimeCalib") <<
"MTDDetId: " << std::hex <<
id.rawId() <<
" is invalid!" <<
std::dec int getMTDTopologyMode() const
virtual const Topology & topology() const
virtual const PixelTopology & specificTopology() const
const MTDGeomDet * idToDet(DetId) const override
const MTDTopology * topo_
constexpr uint32_t rawId() const
get the raw id
std::pair< float, float > pitch() const override
const MTDGeometry * geom_
Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0...
BTLDetId::CrysLayout crysLayoutFromTopoMode(const int &topoMode)