Skip to content

Commit

Permalink
Merge pull request #142 from JeffersonLab/RemoveCDCDiffusion
Browse files Browse the repository at this point in the history
remove hard coded longitudinal diffusion.
  • Loading branch information
sdobbs authored Jan 9, 2020
2 parents 5dd79dd + 631c839 commit 8b04914
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/GlueXSensitiveDetectorCDC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -661,11 +661,6 @@ void GlueXSensitiveDetectorCDC::add_cluster(hit_vector_t &hits,
}
double tdrift_ns = my_t_ns / (fBscale_par1 + fBscale_par2 * BmagT);

// Longitudinal diffusion

double dt_ns = (7.515 * dradius_cm - 2.139 * d2 + 12.63 * d3) * ns;
tdrift_ns += dt_ns * G4RandGauss::shoot();

// Prevent unphysical times (drift electrons arriving
// at wire before particle passes the doca to the wire)
double v_max = 0.08; // guess for now based on Garfield, near wire
Expand Down

0 comments on commit 8b04914

Please sign in to comment.