Skip to content

Commit d5e6468

Browse files
authored
Merge pull request #27 from JeffersonLab/iss26
implemented timing correction again due to svn not transferring over …
2 parents 5621ca4 + 9c43092 commit d5e6468

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ecal-recon/src/main/java/org/hps/recon/ecal/cluster/HitTMCSmearDriver.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ public void setInputHitCollection(String inputHitCollection) {
3030

3131

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

0 commit comments

Comments
 (0)