Changeset 7491 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
02/10/06 10:39:49 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7490 r7491  
    3838   * mimage/MHHillas.cc:
    3939     - set minimum of fDelte to 0 instead of fDistC
     40
     41   * msignal/MExtractTimeAndChargeSpline.h:
     42     - replaced the casts in SetRiseTimeHiGain and StFallTimeHiGain by
     43       TMath::NInt
    4044
    4145
  • trunk/MagicSoft/Mars/Makefile

    r7413 r7491  
    7373#LIBRARIES = $(SUBDIRS:%=lib/lib%.a)
    7474LIBRARIES = $(SUBDIRS:=.a)
     75CONDOR    = $(SUBDIRS:=.condor)
    7576MRPROPERS = $(SUBDIRS:=.mrproper)
    7677CLEANERS  = $(SUBDIRS:=.clean)
     
    124125endif
    125126
     127condor: $(CONDOR)
     128
    126129dox: $(SOLIB)
    127130        @echo
  • trunk/MagicSoft/Mars/Makefile.rules

    r6252 r7491  
    44        @echo " Doing Mr.Proper in $(@:.mrproper=)"
    55        (cd $(@:.mrproper=); ($(MAKE) -f Makefile mrproper > /dev/null); cd ..;)
     6
     7$(CONDOR):
     8        @echo " Starting make in $(@:.condor=) via condor"
     9        (cd $(@:.condor=); (condor_run $(MAKE) &); cd ..;)
    610
    711$(CLEANERS):
  • trunk/MagicSoft/Mars/NEWS

    r7441 r7491  
    3636     correctly assigned in the raw data assignement table. A fix to correct
    3737     the assignment tabel have been implemented.
     38
     39   - general: MAstroCatalog now allows rotating of the sky-grid and stars
     40     by 90, 180 and 270 deg.
    3841
    3942   - StatusDisplay: Fixed the algorithm to calculate the size ratio
  • trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc

    r7264 r7491  
    815815          TestBit(kMirrorY) ? -w(1) : w(1));
    816816
     817    v=v.Rotate(fAngle*TMath::DegToRad());
     818
    817819    if (w(2)<0)
    818820        return kERROR;
     
    11471149    const Bool_t white  = o.Contains("white",   TString::kIgnoreCase);
    11481150    const Bool_t yellow = o.Contains("yellow",  TString::kIgnoreCase) && !white;
     1151    const Bool_t rot180 = o.Contains("180",     TString::kIgnoreCase);
     1152    const Bool_t rot270 = o.Contains("270",     TString::kIgnoreCase);
     1153    const Bool_t rot90  = o.Contains("90",      TString::kIgnoreCase);
    11491154
    11501155    if (white)
    11511156        SetMarkerColor(kWhite);
     1157
     1158    fAngle = 0;
     1159    if (rot90)
     1160        fAngle=90;
     1161    if (rot180)
     1162        fAngle=180;
     1163    if (rot270)
     1164        fAngle=270;
    11521165
    11531166    // X is vice versa, because ra is defined anti-clockwise
  • trunk/MagicSoft/Mars/mastro/MAstroCatalog.h

    r7264 r7491  
    3737
    3838    TGToolTip *fToolTip;    //! The tooltip currently displayed
     39    Double_t   fAngle;      //! Rotation angle of map
    3940
    4041    MAttLine fAttLineSky;   // Line Style and color for sky coordinates
     
    169170    void SetMarkerAttributes();   //*MENU*
    170171
     172    TAttLine &GetAttLineSky() { return fAttLineSky; }
     173    TAttLine &GetAttLineLocal() { return fAttLineLocal; }
     174
    171175    virtual void EventInfo(Int_t event, Int_t px, Int_t py, TObject *selected=0);
    172176
  • trunk/MagicSoft/Mars/mimage/MHHillas.cc

    r7122 r7491  
    9191    fDelta->SetYTitle("Counts");
    9292
    93     fDistC->SetMinimum(0);
     93    fDelta->SetMinimum(0);
    9494
    9595    MBinning bins;
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.h

    r7056 r7491  
    7878      fRiseTimeLoGain    = f*fLoGainStretch;
    7979      fSqrtHiGainSamples = TMath::Sqrt(fNumHiGainSamples);
    80       fWindowSizeHiGain  = (Int_t)(fRiseTimeHiGain + fFallTimeHiGain);
     80      fWindowSizeHiGain  = TMath::Nint(fRiseTimeHiGain + fFallTimeHiGain);
    8181    }
    8282  void SetFallTimeHiGain( const Float_t f=fgFallTimeHiGain    )
     
    8787      fNumLoGainSamples  = fLoGainLast ? fRiseTimeLoGain + fFallTimeLoGain : 0.;
    8888      fSqrtLoGainSamples = TMath::Sqrt(fNumLoGainSamples);
    89       fWindowSizeLoGain  = (Int_t)(fRiseTimeLoGain + fFallTimeLoGain);
     89      fWindowSizeLoGain  = TMath::Nint(fRiseTimeLoGain + fFallTimeLoGain);
    9090    }
    9191
Note: See TracChangeset for help on using the changeset viewer.