Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing struct tower from the tower tool interface #175

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions k4Interface/include/k4Interface/ITowerTool.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
#include "edm4hep/CalorimeterHitCollection.h"
#include "edm4hep/Cluster.h"

struct tower {
int eta;
int phi;
};

/** @class ITowerTool RecInterface/RecInterface/ITowerTool.h ITowerTool.h
*
* Abstract interface to tower building tool.
Expand All @@ -41,10 +36,13 @@ struct tower {
class ITowerTool : virtual public IAlgTool {
public:
DeclareInterfaceID(ITowerTool, 1, 0);

/** Find number of calorimeter towers.
* @return Struct containing number of towers in eta and phi.
* @param[out] nEta number of towers in eta.
* @param[out] nPhi number of towers in phi.
*/
virtual tower towersNumber() = 0;
virtual void towersNumber(int& nEta, int& nPhi) = 0;

/** Build calorimeter towers.
* @param[out] aTowers Calorimeter towers.
* @param[in] fillTowersCells Whether to fill maps of cells into towers, for later use in attachCells
Expand Down
Loading