- Timestamp:
- Jan 19, 2009, 9:48:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/BFieldProp.cc
r100 r189 46 46 //out of trackibg coverage? 47 47 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;} 49 49 50 50 float Px = Part->Px; … … 83 83 84 84 double Radius=DET->TRACK_radius; 85 double Length=DET->TRACK_length ;85 double Length=DET->TRACK_length/2.; 86 86 87 87 while(k < MAXITERATION){
Note:
See TracChangeset
for help on using the changeset viewer.