diff --git a/GenieGenerator_8cxx_source.html b/GenieGenerator_8cxx_source.html index bd73aed18..0c5a089b8 100644 --- a/GenieGenerator_8cxx_source.html +++ b/GenieGenerator_8cxx_source.html @@ -635,7 +635,7 @@
548  //cout << "Info GenieGenerator: prob2int " << prob2int << ", " << count << endl;
549 
550  Double_t zrelative=z-ztarget;
-
551  Double_t tof=TMath::Sqrt(x*x+y*y+zrelative*zrelative)/2.99792458e+6;
+
551  Double_t tof = TMath::Sqrt(x * x + y * y + zrelative * zrelative) / 2.99792458e+10; // speed of light in cm/s
552  cpg->AddTrack(neu,pout[0],pout[1],pout[2],x,y,z,-1,false,TMath::Sqrt(pout[0]*pout[0]+pout[1]*pout[1]+pout[2]*pout[2]),tof,mparam[0]*mparam[4]);
553  if (not fNuOnly){
554  // second, outgoing lepton
diff --git a/classGenieGenerator.html b/classGenieGenerator.html index 10c69bb58..2bcdf05be 100644 --- a/classGenieGenerator.html +++ b/classGenieGenerator.html @@ -1115,7 +1115,7 @@

548  //cout << "Info GenieGenerator: prob2int " << prob2int << ", " << count << endl;
549 
550  Double_t zrelative=z-ztarget;
-
551  Double_t tof=TMath::Sqrt(x*x+y*y+zrelative*zrelative)/2.99792458e+6;
+
551  Double_t tof = TMath::Sqrt(x * x + y * y + zrelative * zrelative) / 2.99792458e+10; // speed of light in cm/s
552  cpg->AddTrack(neu,pout[0],pout[1],pout[2],x,y,z,-1,false,TMath::Sqrt(pout[0]*pout[0]+pout[1]*pout[1]+pout[2]*pout[2]),tof,mparam[0]*mparam[4]);
553  if (not fNuOnly){
554  // second, outgoing lepton
diff --git a/md_CHANGELOG.html b/md_CHANGELOG.html index ed5bffe0d..1c3d29bab 100644 --- a/md_CHANGELOG.html +++ b/md_CHANGELOG.html @@ -97,6 +97,7 @@

  • Use ConstructedAt instead of remove pythonization for TClonesArray
  • Octant symmetry was incorrect for B_z when using field maps (reported and fixed by M. Ferro-Luzzi)
  • +
  • Tof calculation corrected in GenieGenerator.cxx, wrong units previously used.

Changed