Changeset 3379 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
03/02/04 13:39:02 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3377 r3379  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6
     7 2004/03/02: Abelardo Moralejo
     8
     9   * mmc/MMcCorsikaRunHeader.[h,cc]
     10     - Added operator [] to get references to the objects in
     11       TObjArray fTelescopes.
     12     - Added Print() function.
     13
     14   * mgeom/MGeomCorsikaCT.[h,cc]
     15     - Added getter functions for telescope coordinates.
     16     - Added Print() function.
     17
    618
    719 2004/03/02: Thomas Bretz
  • trunk/MagicSoft/Mars/mgeom/MGeomCorsikaCT.cc

    r2521 r3379  
    6565  fCTfocal=ctfocal;
    6666}
     67// --------------------------------------------------------------------------
     68//
     69// Print the geometry information of one pixel.
     70//
     71void MGeomCorsikaCT::Print(Option_t *opt) const
     72{
     73    //   information about a telescope
     74  *fLog << all << "x = " << fCTx << ", y = " << fCTy << ", z = "
     75        << fCTz << " cm " << endl;
     76}
  • trunk/MagicSoft/Mars/mgeom/MGeomCorsikaCT.h

    r2283 r3379  
    1818    Float_t fCTtheta; //
    1919    Float_t fCTphi;   //
    20     Float_t fCTdiam;  // Diamiter where the Cph are stored at MMCs level
     20    Float_t fCTdiam;  // Diameter where the Cph are stored at MMCs level
    2121    Float_t fCTfocal; // Focal of the CT
    2222
     
    2525    MGeomCorsikaCT(const char *name=NULL, const char *title=NULL);
    2626
     27    void Print(Option_t *opt=NULL) const;
     28
    2729    void Fill(Float_t ctx, Float_t cty, Float_t ctz,
    2830              Float_t cttheta, Float_t ctphi,
    2931              Float_t ctdiam, Float_t ctfocal);
     32
     33    Float_t GetCTx() { return fCTx; }
     34    Float_t GetCTy() { return fCTy; }
     35    Float_t GetCTz() { return fCTz; }
    3036
    3137    ClassDef(MGeomCorsikaCT, 1)  // class containing information about CTelescope
Note: See TracChangeset for help on using the changeset viewer.