~c-tunnell1/maus/devel2

« back to all changes in this revision

Viewing changes to src/legacy/DetModel/SciFi/SciFiSD.cc

  • Committer: Edward Santos
  • Date: 2011-06-20 14:09:34 UTC
  • mto: This revision was merged to the branch mainline in revision 557.
  • Revision ID: e.santos10@imperial.ac.uk-20110620140934-rf70fnfwwsdwuarp
Closes #501 - Fix double pushback.
Closes #334 - Fix fake energy deposits. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
  G4double edep = aStep->GetTotalEnergyDeposit();
29
29
 
30
30
  if( edep == 0. ) return false;
31
 
  else if( edep == 0. ) edep = 1.0 * MeV;       // fake energy deposit just so that we get some photons digitised out of this hit!
32
 
 
33
 
  _hits.push_back(Json::Value());
34
31
 
35
32
  // determine the fibre number based on the position in the tracker and the
36
33
  // MiceModule information about the fibre orientation and numbering scheme