Changeset 19546


Ignore:
Timestamp:
Jun 4, 2019, 10:29:54 AM (5 months ago)
Author:
tbretz
Message:
No shadowing if the camera.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mgeom/MGeomCamFAMOUS.cc

    r18785 r19546  
    7171Bool_t MGeomCamFAMOUS::HitFrame(MQuaternion p, const MQuaternion &u) const
    7272{
     73    // It's a lens, there is no camera shadow
     74
    7375    // z is defined from the mirror (0) to the camera (z>0).
    7476    // Thus we just propagate to the focal plane (z=fDist)
    7577    //p -= 1700./u.Z()*u;
    76     p.PropagateZ(u, GetCameraDist()*100); // m->cm
     78    //p.PropagateZ(u, GetCameraDist()*100); // m->cm
    7779
    7880    // Add 10% to the max radius and convert from mm to cm
    79     return p.R()<GetMaxRadius()*0.11;//TMath::Abs(p.X())<65 && TMath::Abs(p.Y())<65;
     81    return kFALSE;//p.R()<GetMaxRadius()*0.11;//TMath::Abs(p.X())<65 && TMath::Abs(p.Y())<65;
    8082}
    8183
Note: See TracChangeset for help on using the changeset viewer.