Skip to content

Commit

Permalink
code-format
Browse files Browse the repository at this point in the history
  • Loading branch information
martinamalberti committed Nov 21, 2024
1 parent de2b85d commit 550e9be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions RecoMTD/TrackExtender/plugins/TrackExtenderWithMTD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,8 @@ class TrackExtenderWithMTDT : public edm::stream::EDProducer<> {
const bool useSimVertex_;
const float dzCut_;
const float bsTimeSpread_;

static constexpr float trackMaxBtlEta_ = 1.5;
};

template <class TrackCollection>
Expand Down Expand Up @@ -1010,8 +1012,8 @@ void TrackExtenderWithMTDT<TrackCollection>::produce(edm::Event& ev, const edm::
mBTL.hit ? (float)(*track).outerRadius()
: (float)(*track).outerZ()); // save R of the outermost hit for BTL, z for ETL.
} else {
outermostHitPosition.push_back(std::abs(track->eta()) < 1.48 ? (float)(*track).outerRadius()
: (float)(*track).outerZ());
outermostHitPosition.push_back(std::abs(track->eta()) < trackMaxBtlEta_ ? (float)(*track).outerRadius()
: (float)(*track).outerZ());
}

LogTrace("TrackExtenderWithMTD") << "TrackExtenderWithMTD: tmtd " << tmtdMap << " +/- " << sigmatmtdMap
Expand Down

0 comments on commit 550e9be

Please sign in to comment.