Skip to content
Snippets Groups Projects
Commit d3b6c815 authored by Eric Pooser's avatar Eric Pooser Committed by Mark K Jones
Browse files

Fix bug in secondary kinematic class

parent e547eda1
No related branches found
No related tags found
No related merge requests found
......@@ -145,8 +145,7 @@ Int_t THcSecondaryKine::Process( const THaEvData& )
if( !IsOK() ) return -1;
//Get secondary particle mass
fMX = fHC_Spectro->GetParticleMass();
fMX = dynamic_cast <THcHallCSpectrometer*> (fSpectro)->GetParticleMass();
// Tracking information from the secondary spectrometer
THaTrackInfo* trkifo = fSpectro->GetTrackInfo();
......
......@@ -106,7 +106,6 @@ public:
TString fSpectroName; // Name of spectrometer for secondary particle
THaTrackingModule* fSpectro; // Pointer to spectrometer object
THcHallCSpectrometer* fHC_Spectro;
TString fPrimaryName; // Name of module for primary interaction kinematics
THcPrimaryKine* fPrimary; // Pointer to primary kinematics module
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment