Ignore:
Timestamp:
11/25/03 18:25:49 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgeom/MGeomMirror.h

    r2566 r2568  
    88#ifndef ROOT_TArrayF
    99#include <TArrayF.h>
     10#endif
     11
     12#ifndef ROOT_TVector3
     13#include <TVector3.h>
    1014#endif
    1115
     
    4650    void  SetReflectivity(const TArrayF &wav, const TArrayF &ref);
    4751
    48     void    SetArraySize(Int_t dim) { fWavelength.Set(dim); fReflectivity.Set(dim); }
     52    void  SetArraySize(Int_t dim) { fWavelength.Set(dim); fReflectivity.Set(dim); }
     53
     54    TVector3 GetMirrorCenter() const { return TVector3(fX/100, fY/100, fZ/100); }
     55    TVector3 GetMirrorNorm() const   { return TVector3(fXN, fYN, fZN); }
    4956
    5057    ClassDef(MGeomMirror, 2)  // geometry class describing one mirror
Note: See TracChangeset for help on using the changeset viewer.