Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoDee committed Jul 10, 2024
1 parent 5570bf8 commit d68081c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions RecoLocalTracker/SiPixelRecHits/src/PixelCPEFastParamsHost.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ void PixelCPEFastParamsHost<TrackerTraits>::fillParamsForDevice() {

buffer_->commonParams().theThicknessB = m_DetParams.front().theThickness;
buffer_->commonParams().theThicknessE = m_DetParams.back().theThickness;
// buffer_->commonParams().thePitchX = m_DetParams[0].thePitchX;
// buffer_->commonParams().thePitchY = m_DetParams[0].thePitchY;

buffer_->commonParams().numberOfLaddersInBarrel = TrackerTraits::numberOfLaddersInBarrel;

LogDebug("PixelCPEFastParamsHost") << "thickness " << buffer_->commonParams().theThicknessB << ' '
Expand All @@ -66,10 +63,6 @@ void PixelCPEFastParamsHost<TrackerTraits>::fillParamsForDevice() {

assert(m_DetParams.size() <= TrackerTraits::numberOfModules);

memcpy(buffer_->layerGeometry().layerStart,
TrackerTraits::layerStart,
sizeof(pixelCPEforDevice::LayerGeometryT<TrackerTraits>::layerStart));

for (auto i = 0U; i < m_DetParams.size(); ++i) {
auto& p = m_DetParams[i];
auto& g = buffer_->detParams(i);
Expand All @@ -82,8 +75,6 @@ void PixelCPEFastParamsHost<TrackerTraits>::fillParamsForDevice() {
g.numPixsInModule = g.nRows * g.nCols;

assert(p.theDet->index() == int(i));
// assert(buffer_->commonParams().thePitchY == p.thePitchY);
// assert(buffer_->commonParams().thePitchX == p.thePitchX);

g.isBarrel = GeomDetEnumerators::isBarrel(p.thePart);
g.isPosZ = p.theDet->surface().position().z() > 0;
Expand Down

0 comments on commit d68081c

Please sign in to comment.