Skip to content
Snippets Groups Projects
Commit f64afe8c authored by hallc-online's avatar hallc-online
Browse files

Fix problem in THcAerogel::CoarseProcess with fNpeSum

The line fNpeSum += fNegNpeSum
was basically double counting the fNegNpeSum
Same for fNpeSum += fPosNpeSum
since they were in a loop over Neg and Pos hits.

Just set
fNpeSum = fNegNpeSum + fPosNpeSum
after the two loops over Neg and Pos hits
parent 354fd669
No related branches found
No related tags found
No related merge requests found
Loading
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