Skip to content

Commit

Permalink
Cast the right thing
Browse files Browse the repository at this point in the history
  • Loading branch information
simonge committed Aug 26, 2024
1 parent 3d7fce6 commit 3139ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/fardetectors/FarDetectorTrackerCluster.cc
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ FarDetectorTrackerCluster::ClusterHits(const edm4eic::RawTrackerHitCollection& i
clusterList.erase(clusterList.begin());

// Adds raw hit to TrackerHit contribution
edm4hep::ObjectID hitID = static_cast<edm4hep::ObjectID >(inputHits)[index].getObjectID();
edm4hep::ObjectID hitID = static_cast<edm4hep::ObjectID >((inputHits)[index].getObjectID());
clusterHits.push_back(hitID);

// Energy
Expand Down

0 comments on commit 3139ed5

Please sign in to comment.