Ignore:
Timestamp:
07/08/05 18:14:35 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc

    r7169 r7178  
    178178    // Now fit a gaus in the on region on top of the polynom
    179179    fFunc->SetParameter(0, A);
    180     fFunc->SetParameter(2, sigmax*0.75);
     180    fFunc->SetParameter(2, fSignalFunc==kGauss ? sigmax*0.75 : sigmax);
    181181
    182182    // options : N  do not store the function, do not draw
     
    231231
    232232    MAlphaFitter fit(*this);
    233     fit.SetPolynomOrder(1);
     233    fit.SetPolynomOrder(0);
    234234
    235235    if (alpha<=0 || !fit.Fit(h, paint))
  • trunk/MagicSoft/Mars/mhflux/MHAlpha.cc

    r7151 r7178  
    139139    binsa.SetEdges(18, 0, 90);
    140140    binse.SetEdgesLog(15, 10, 100000);
    141     binst.SetEdgesASin(51, -0.005, 0.505);
     141    binst.SetEdgesASin(67, -0.005, 0.665);
    142142    binse.Apply(fHEnergy);
    143143    binst.Apply(fHTheta);
  • trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc

    r7170 r7178  
    9494    MBinning binsa, binse, binst;
    9595    binse.SetEdgesLog(15, 10, 1000000);
    96     binst.SetEdgesASin(51, -0.005, 0.505);
     96    binst.SetEdgesASin(67, -0.005, 0.665);
    9797
    9898    binse.Apply(fHEnergy);
  • trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc

    r7142 r7178  
    410410    // setup binning
    411411    MBinning btheta("BinningTheta");
    412     btheta.SetEdgesASin(51, -0.005, 0.505);
     412    btheta.SetEdgesASin(67, -0.005, 0.665);
    413413
    414414    MBinning btime("BinningDeltaT");
  • trunk/MagicSoft/Mars/mhflux/MHFalseSource.h

    r7109 r7178  
    4646    Double_t fDec;
    4747
     48    TObject *GetCatalog();
     49
    4850private:
    4951    Int_t DistancetoPrimitive(Int_t px, Int_t py);
     
    5456    void ProjectOn(const TH3D &src, TH2D *h, TH2D *all);
    5557    void ProjectOnOff(TH2D *h, TH2D *all);
    56 
    57     TObject *GetCatalog();
    5858
    5959    void MakeSymmetric(TH1 *h);
     
    7878    void SetBgMeanMinus5() { SetBgMean(fBgMean-5); } //*MENU*
    7979
    80     void SetOffData(const MHFalseSource &fs) {
     80    virtual void SetOffData(const MHFalseSource &fs) {
    8181        fHistOff  = &fs.fHist;
    8282        fMinDist  =  fs.fMinDist;
  • trunk/MagicSoft/Mars/mhflux/MHThetaSq.cc

    r7147 r7178  
    9292    //binsa.SetEdges(arr);
    9393    binse.SetEdgesLog(15, 10, 100000);
    94     binst.SetEdgesCos(50, 0, 60);
     94    binst.SetEdgesASin(67, -0.005, 0.665);
    9595    binsa.Apply(fHistTime);
    9696
  • trunk/MagicSoft/Mars/mhflux/MHThreshold.cc

    r7170 r7178  
    7474    fHEnergy.SetDirectory(NULL);
    7575    fHEnergy.UseCurrentStyle();
     76    fHEnergy.Sumw2();
    7677
    7778    MBinning binse(80, 10, 1000000, "", "log");
Note: See TracChangeset for help on using the changeset viewer.