Changeset 9524 for trunk/MagicSoft


Ignore:
Timestamp:
12/01/09 13:10:23 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9520 r9524  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2009/12/01 Thomas Bretz
     22
     23   * mastro/MObservatory.cc:
     24     - set fObservatoryKey when a new location is set.
     25       Be careful, it is not overwritten if a location is set
     26       manually (long, lat)
     27
     28   * mcorsika/MCorsikaEvtHeader.cc:
     29     - initialize fX and fY with 0
     30
     31
    2032
    2133 2009/10/26 Thomas Bretz
  • trunk/MagicSoft/Mars/mastro/MObservatory.cc

    r8337 r9524  
    133133    }
    134134
     135    fObservatoryKey = name;
     136
    135137    fSinLatitude = TMath::Sin(fLatitude);
    136138    fCosLatitude = TMath::Cos(fLatitude);
  • trunk/MagicSoft/Mars/mcorsika/MCorsikaEvtHeader.cc

    r9422 r9524  
    5454//
    5555MCorsikaEvtHeader::MCorsikaEvtHeader(const char *name, const char *title)
     56    : fX(0), fY(0)
    5657{
    5758    fName  = name  ? name  : "MCorsikaEvtHeader";
     
    150151    fMomentumX =  f[7];
    151152    fMomentumY = -f[6];
    152     fMomentumZ = -f[8];
     153    fMomentumZ = -f[8];  // Does this minus make sense?!
    153154
    154155    // FIXME: Correct for direction of magnetic field!
Note: See TracChangeset for help on using the changeset viewer.