Skip to content

Commit

Permalink
Merge pull request #56 from DUNE/fix_fox_asa
Browse files Browse the repository at this point in the history
added extra X/Y vars to TMS_Hit, for post-reco hit position
  • Loading branch information
LiamOS authored Jan 16, 2024
2 parents 8d53d43 + d531caf commit 728003f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/TMS_Hit.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ class TMS_Hit {
double GetZw() const { return Bar.GetZw(); };
double GetNotZw() const { return Bar.GetNotZw(); };

// Reconstructed position of the hit WITHIN a TMS hit, using the reconstructed track
void SetRecoX(double x) { RecoX = x; };
void SetRecoY(double y) { RecoY = y; };

double GetRecoX() { return RecoX; };
double GetRecoY() { return RecoY; };

int GetPlaneNumber() const {return Bar.GetPlaneNumber(); };
int GetBarNumber() const {return Bar.GetBarNumber(); };

Expand All @@ -111,6 +118,8 @@ class TMS_Hit {
double EnergyDepositVisible;
// The timing of the hit
double Time;
// Reconstructed position of the hit WITHIN a TMS hit, using the reconstructed track
double RecoX, RecoY; // Only to be filled after tracking performed

int Slice;

Expand Down

0 comments on commit 728003f

Please sign in to comment.