Skip to content

Commit

Permalink
fix name BranchState
Browse files Browse the repository at this point in the history
  • Loading branch information
timadye authored and Tim Adye committed Oct 9, 2024
1 parent fc21c84 commit f5a07f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Examples/Algorithms/TrackFinding/src/TrackFindingAlgorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@ class BranchStopper {
using BranchStopperResult =
Acts::CombinatorialKalmanFilterBranchStopperResult;

struct BrachState {
struct BranchState {
std::size_t nPixelHoles = 0;
std::size_t nStripHoles = 0;
};

static constexpr Acts::ProxyAccessor<BrachState> branchStateAccessor =
Acts::ProxyAccessor<BrachState>(Acts::hashString("MyBranchState"));
static constexpr Acts::ProxyAccessor<BranchState> branchStateAccessor =
Acts::ProxyAccessor<BranchState>(Acts::hashString("MyBranchState"));

mutable std::atomic<std::size_t> m_nStoppedBranches{0};

Expand Down Expand Up @@ -403,8 +403,8 @@ ProcessCode TrackFindingAlgorithm::execute(const AlgorithmContext& ctx) const {
TrackContainer tracksTemp(trackContainerTemp, trackStateContainerTemp);

// Note that not all backends support PODs as column types
tracks.addColumn<BranchStopper::BrachState>("MyBranchState");
tracksTemp.addColumn<BranchStopper::BrachState>("MyBranchState");
tracks.addColumn<BranchStopper::BranchState>("MyBranchState");
tracksTemp.addColumn<BranchStopper::BranchState>("MyBranchState");

tracks.addColumn<unsigned int>("trackGroup");
tracksTemp.addColumn<unsigned int>("trackGroup");
Expand Down

0 comments on commit f5a07f8

Please sign in to comment.