Skip to content

Commit

Permalink
Hiding cluster sctruc definition in algoritm (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt authored Jan 24, 2024
1 parent 695c4d7 commit d439179
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions RecCalorimeter/src/components/CreateCaloClustersSlidingWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ namespace edm4hep {
class ClusterCollection;
}

// Cluster
struct cluster {
float transEnergy;
float eta;
float phi;
};

/** @class CreateCaloClustersSlidingWindow
*
* Algorithm for creating calorimeter clusters from cells.
Expand Down Expand Up @@ -81,6 +74,13 @@ class CreateCaloClustersSlidingWindow : public GaudiAlgorithm {
StatusCode finalize();

private:
// Cluster
struct cluster {
float transEnergy;
float eta;
float phi;
};

/** Correct way to access the neighbour of the phi tower, taking into account the full coverage in phi.
* Full coverage means that first tower in phi, with ID = 0 is a direct neighbour
* of the last tower in phi with ID = m_nPhiTower - 1).
Expand Down

0 comments on commit d439179

Please sign in to comment.