~jan.greis/maus/1811

« back to all changes in this revision

Viewing changes to src/common_cpp/Recon/SciFi/SciFiClusterRec.cc

  • Committer: Adam Dobbs
  • Date: 2016-01-13 11:31:12 UTC
  • mfrom: (659.2.18 release-candidate)
  • Revision ID: phuccj@gmail.com-20160113113112-bhbguupn50eyvd0z
Tags: MAUS-v1.4, MAUS-v1.4.0
MAUS-v1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
  double Pitch                  = this_plane.Pitch;
117
117
  double CentralFibre           = this_plane.CentralFibre;
118
118
  // alpha is the distance to the central fibre.
119
 
  double alpha   = clust->get_channel() - CentralFibre;
 
119
  double alpha   = CentralFibre - clust->get_channel();
120
120
  double dist_mm = Pitch * (7.0 / 2.0) * alpha;
121
121
 
122
122
  ThreeVector perp = plane_direction.Orthogonal();