Fork me on GitHub

Changeset 189 in svn for trunk/src/BFieldProp.cc


Ignore:
Timestamp:
Jan 19, 2009, 9:48:48 AM (16 years ago)
Author:
Xavier Rouby
Message:

Bfield: the propagation along z axis was twice too big. Corrected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/BFieldProp.cc

    r100 r189  
    4646  //out of trackibg coverage?
    4747  if(sqrt(Xvertex1*Xvertex1+Yvertex1*Yvertex1) > DET->TRACK_radius){return;}
    48   if(fabs(Zvertex1) > DET->TRACK_length){return;}
     48  if(fabs(Zvertex1) > DET->TRACK_length/2.){return;}
    4949 
    5050  float Px = Part->Px;
     
    8383     
    8484     double Radius=DET->TRACK_radius;
    85      double Length=DET->TRACK_length;
     85     double Length=DET->TRACK_length/2.;
    8686
    8787     while(k < MAXITERATION){
Note: See TracChangeset for help on using the changeset viewer.