Skip to content

Commit

Permalink
Merge pull request #140 from JeffersonLab/DIRC_extrpo_track
Browse files Browse the repository at this point in the history
Dirc extrpo track
  • Loading branch information
jrstevenjlab authored Jan 12, 2021
2 parents b0defec + 0d479d1 commit 7b108a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/DSelector/DChargedTrackHypothesis.h
Original file line number Diff line number Diff line change
Expand Up @@ -573,23 +573,23 @@ inline Float_t DChargedTrackHypothesis::Get_TrackFCAL_DOCA(void) const
inline Int_t DChargedTrackHypothesis::Get_Track_NumPhotons_DIRC(void) const
{
if(dBranch_Track_NumPhotons_DIRC)
return ((Int_t*)dBranch_Track_NumPhotons_DIRC->GetAddress())[dMeasuredArrayIndex];
return ((Int_t*)dBranch_Track_NumPhotons_DIRC->GetAddress())[dMeasuredArrayIndex];
else
return 0;
}

inline Float_t DChargedTrackHypothesis::Get_Track_ExtrapolatedX_DIRC(void) const
{
if(dBranch_Track_ExtrapolatedX_DIRC)
return ((Int_t*)dBranch_Track_ExtrapolatedX_DIRC->GetAddress())[dMeasuredArrayIndex];
return ((Float_t*)dBranch_Track_ExtrapolatedX_DIRC->GetAddress())[dMeasuredArrayIndex];
else
return 0;
}

inline Float_t DChargedTrackHypothesis::Get_Track_ExtrapolatedY_DIRC(void) const
{
if(dBranch_Track_ExtrapolatedY_DIRC)
return ((Int_t*)dBranch_Track_ExtrapolatedY_DIRC->GetAddress())[dMeasuredArrayIndex];
return ((Float_t*)dBranch_Track_ExtrapolatedY_DIRC->GetAddress())[dMeasuredArrayIndex];
else
return 0;
}
Expand Down

0 comments on commit 7b108a9

Please sign in to comment.