Skip to content
Snippets Groups Projects
Commit 1bcec1b9 authored by Mark K Jones's avatar Mark K Jones Committed by GitHub
Browse files

Merge pull request #204 from MarkKJones/scint-fix

Fix mistake in THcScintillatorPlane::ProcessHits
parents 2580abac a28af4c2
No related branches found
No related tags found
No related merge requests found
...@@ -677,6 +677,7 @@ Int_t THcScintillatorPlane::ProcessHits(TClonesArray* rawhits, Int_t nexthit) ...@@ -677,6 +677,7 @@ Int_t THcScintillatorPlane::ProcessHits(TClonesArray* rawhits, Int_t nexthit)
for(UInt_t thit=0; thit<hit->GetRawTdcHitPos().GetNHits(); thit++) { for(UInt_t thit=0; thit<hit->GetRawTdcHitPos().GetNHits(); thit++) {
tdc_pos = hit->GetRawTdcHitPos().GetTime(thit)+fTdcOffset; tdc_pos = hit->GetRawTdcHitPos().GetTime(thit)+fTdcOffset;
if(tdc_pos >= fScinTdcMin && tdc_pos <= fScinTdcMax) { if(tdc_pos >= fScinTdcMin && tdc_pos <= fScinTdcMax) {
btdcraw_pos = kTRUE;
break; break;
} }
} }
......
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