Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ public void setInputHitCollection(String inputHitCollection) {


// Time resolution as derived for 2016 data
//Factor 1.98 derived after running over MC. Probably due to
//lack of trigger jitter in simulation.
private static double calcSmear(double energy, double time){
Random r = new Random();
double sigT = r.nextGaussian()*Math.sqrt(Math.pow(0.188/energy, 2) + Math.pow(0.152, 2));
double sigT = r.nextGaussian()*Math.sqrt(Math.pow(0.188/energy, 2) + Math.pow(0.152, 2))/1.98;
return time + sigT;
}

Expand Down