Skip to content

Commit

Permalink
Weight bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaracarbonell committed Dec 20, 2024
1 parent 3bed33e commit 193cfbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void OMSimEffiCaliAnalyisis::writePositionPulseStatistics(double x, double y, do
for (int i = 0; i < (int)hits.eventId.size(); i++)
{
gain.push_back(hits.PMTresponse.at(i).PE);
weigth.push_back(1/(hits.PMTresponse.at(i).detectionProbability*hits.PMTresponse.at(i).detectionProbability));
weigth.push_back(hits.PMTresponse.at(i).detectionProbability);
transit_time.push_back(hits.PMTresponse.at(i).transitTime);
}

Expand Down

0 comments on commit 193cfbe

Please sign in to comment.