Changeset 19131 for trunk/Mars


Ignore:
Timestamp:
08/03/18 13:53:34 (6 years ago)
Author:
tbretz
Message:
Added a function to return the Sign of fCosDeltaAlpha as 1 or -1.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mimage/MHillasSrc.h

    r18751 r19131  
    4747    Float_t GetDist()          const { return fDist; }
    4848    Float_t GetCosDeltaAlpha() const { return fCosDeltaAlpha; }
     49    Int_t   GetSign()          const { return fCosDeltaAlpha>0 ? 1 : -1; }
    4950    Float_t GetDCA()           const { return fDCA; }
    5051    Float_t GetDCADelta()      const { return fDCADelta; }
Note: See TracChangeset for help on using the changeset viewer.