Skip to content

Commit

Permalink
Fix undefined reference bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkio committed Aug 1, 2024
1 parent 2ee7e76 commit af38ede
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/TMS_ChargeID.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "TMS_ChargeID.h"

//TODO??? TMS_ChargeID::TMS_ChargeID() :
TMS_ChargeID::TMS_ChargeID() {

}

// Check if hit is in the far negative region of x (detector)
bool TMS_ChargeID::region1(const TMS_Hit &Hit) {
Expand Down
5 changes: 3 additions & 2 deletions src/TMS_ChargeID.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ class TMS_ChargeID {
int ID_Track_Charge(const std::vector<TMS_Hit> &Track);

private:
TMS_Hit Hit;
std::vector<TMS_Hit> Track;
// These are never used, todo delete?
//TMS_Hit Hit;
//std::vector<TMS_Hit> Track;
};

#endif

0 comments on commit af38ede

Please sign in to comment.