Changeset 8658 for trunk


Ignore:
Timestamp:
08/06/07 17:32:51 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8657 r8658  
    4646   * mpointing/MSrcPosCam.h:
    4747     - added a function to return the distance to the camera center
     48
     49   * ganymed.rc, ganymed_onoff.rc, ganymed_wobble.rc:
     50     - updated binnings
     51     - replaced old spark-cut by a new one
     52
     53   * mfilter/MFMagicCuts.[h,cc]:
     54     - increased version number to 2
     55
     56   * mjobs/MJStar.cc:
     57     - replaced the old spark-cut with a new one
    4858
    4959
  • trunk/MagicSoft/Mars/NEWS

    r8653 r8658  
    132132      + PostCleanType: 3
    133133
     134   - star/ganymed: The old spark-cuts have been replaced by new ones.
     135     These new spark cuts have been cross checked with the sequences
     136     84720 (before splitter), 101041 (after splitter) and 223539 (new
     137     FADCs). In all cases they seperate pretty well, but of course not
     138     perfect. Monte Carlos have suggested to tighten the cuts a little
     139     bit further at low sizes. This has been done.
    134140
    135141   - ganymed: The old hadronness and size cuts have gotten new indices
  • trunk/MagicSoft/Mars/ganymed.rc

    r8654 r8658  
    3434BinningAlpha.Raw:        36    0    90
    3535BinningFalseSource.Raw:  91   -1.5  1.5
    36 #BinningTheta.Raw:       50    0    60      cos
    3736BinningWidth.Raw:        50    0    1
    3837BinningLength.Raw:       25    0    1
    3938BinningDist.Raw:         25    0    2
    40 BinningMaxDist.Raw:      25    0    2
     39BinningAsym.Raw:         51   -0.7  0.7
     40BinningM3Long.Raw:       51   -0.7  0.7
     41BinningM3Trans.Raw:      51   -0.7  0.7
     42BinningSlope.Raw:        51   -7.5  7.5
    4143
    4244# -------------------------------------------------------------------------
     
    102104# There are three cuts:
    103105#   CutQ: Cut after reading file
    104 #   Cut0: After calculation of src dependant parameters, energy estimation
     106#   Cut0: After calculation of src dependent parameters, energy estimation
    105107#         and disp calculation, before writing summary file
    106108#   Cut1: After writing summary file before filling false source plots
     
    121123CutQ.2: MNewImagePar.fLeakage1 < 0.3
    122124CutQ.3: MImagePar.fNumSatPixelsHG < 1
    123 CutQ.4: MHillas.GetArea*(MGeomCam.fConvMm2Deg^2) > (0.003*MImagePar.fNumSatPixelsHG) + 0.0325
    124 CutQ.5: MImagePar.fNumSatPixelsLG<2
     125CutQ.4: MNewImagePar.fConcCOG<0.25
     126CutQ.5: log10(MNewImagePar.fConcCOG)<-0.3*(log10(MHillas.fSize)-2.5)-0.24
     127
     128# -------------------------------------------------------------------------
     129# Such a cut could be used to exclude starnge pointing positions. like
     130# the camera center in wobble mode. However this directly influences the
     131# effective observation time, which must then be corrected manually!
     132# It is currently not recommended to use such a cut except for tests!
     133# -------------------------------------------------------------------------
     134#Cut0.Condition: MSrcPosCam.GetDist*MGeomCam.fConvMm2Deg>0.3
     135
    125136
    126137# ---------- SETUP FOR ONOFF-MODE -----------
  • trunk/MagicSoft/Mars/ganymed_onoff.rc

    r8654 r8658  
    3434BinningAlpha.Raw:        36    0    90
    3535BinningFalseSource.Raw:  91   -1.5  1.5
    36 #BinningTheta.Raw:       50    0    60      cos
    3736BinningWidth.Raw:        50    0    1
    3837BinningLength.Raw:       25    0    1
    3938BinningDist.Raw:         25    0    2
    40 BinningMaxDist.Raw:      25    0    2
     39BinningAsym.Raw:         51   -0.7  0.7
     40BinningM3Long.Raw:       51   -0.7  0.7
     41BinningM3Trans.Raw:      51   -0.7  0.7
     42BinningSlope.Raw:        51   -7.5  7.5
    4143
    4244# -------------------------------------------------------------------------
     
    101103# There are three cuts:
    102104#   CutQ: Cut after reading file
    103 #   Cut0: After calculation of src dependant parameters, energy estimation
     105#   Cut0: After calculation of src dependent parameters, energy estimation
    104106#         and disp calculation, before writing summary file
    105107#   Cut1: After writing summary file before filling false source plots
     
    120122CutQ.2: MNewImagePar.fLeakage1 < 0.3
    121123CutQ.3: MImagePar.fNumSatPixelsHG < 1
    122 CutQ.4: MHillas.GetArea*(MGeomCam.fConvMm2Deg^2) > (0.003*MImagePar.fNumSatPixelsHG) + 0.0325
    123 CutQ.5: MImagePar.fNumSatPixelsLG<2
     124CutQ.4: MNewImagePar.fConcCOG<0.25
     125CutQ.5: log10(MNewImagePar.fConcCOG)<-0.3*(log10(MHillas.fSize)-2.5)-0.24
     126
     127# -------------------------------------------------------------------------
     128# Such a cut could be used to exclude starnge pointing positions. like
     129# the camera center in wobble mode. However this directly influences the
     130# effective observation time, which must then be corrected manually!
     131# It is currently not recommended to use such a cut except for tests!
     132# -------------------------------------------------------------------------
     133#Cut0.Condition: MSrcPosCam.GetDist*MGeomCam.fConvMm2Deg>0.3
    124134
    125135
  • trunk/MagicSoft/Mars/ganymed_wobble.rc

    r8654 r8658  
    3434BinningAlpha.Raw:        36    0    90
    3535BinningFalseSource.Raw:  91   -1.5  1.5
    36 #BinningTheta.Raw:       50    0    60      cos
    3736BinningWidth.Raw:        50    0    1
    3837BinningLength.Raw:       25    0    1
    3938BinningDist.Raw:         25    0    2
    40 BinningMaxDist.Raw:      25    0    2
     39BinningAsym.Raw:         51   -0.7  0.7
     40BinningM3Long.Raw:       51   -0.7  0.7
     41BinningM3Trans.Raw:      51   -0.7  0.7
     42BinningSlope.Raw:        51   -7.5  7.5
    4143
    4244# -------------------------------------------------------------------------
     
    122124CutQ.2: MNewImagePar.fLeakage1 < 0.3
    123125CutQ.3: MImagePar.fNumSatPixelsHG < 1
    124 CutQ.4: MHillas.GetArea*(MGeomCam.fConvMm2Deg^2) > (0.003*MImagePar.fNumSatPixelsHG) + 0.0325
    125 CutQ.5: MImagePar.fNumSatPixelsLG<2
     126CutQ.4: MNewImagePar.fConcCOG<0.25
     127CutQ.5: log10(MNewImagePar.fConcCOG)<-0.3*(log10(MHillas.fSize)-2.5)-0.24
     128
     129# -------------------------------------------------------------------------
     130# Such a cut could be used to exclude starnge pointing positions. like
     131# the camera center in wobble mode. However this directly influences the
     132# effective observation time, which must then be corrected manually!
     133# It is currently not recommended to use such a cut except for tests!
     134# -------------------------------------------------------------------------
     135#Cut0.Condition: MSrcPosCam.GetDist*MGeomCam.fConvMm2Deg>0.3
    126136
    127137# ---------- SETUP FOR WOBBLE-MODE -----------
  • trunk/MagicSoft/Mars/mfilter/MFMagicCuts.cc

    r8646 r8658  
    9999//    - no:         Ghostbuster.fVal<c[12] is used as ghostbusting condition
    100100//
     101//
     102// Class Version 2:
     103// ----------------
     104//  + Bool_t fCalcDisp;        // Should we use Disp from the parameterlist?
     105//  + Bool_t fCalcGhostbuster; // Should we use Ghostbuster from the parameterlist?
     106//
     107//
    101108//  Input Container:
    102109//  ------
  • trunk/MagicSoft/Mars/mfilter/MFMagicCuts.h

    r8646 r8658  
    112112    void   Print(Option_t *o="") const;
    113113
    114     ClassDef(MFMagicCuts, 1) // A filter to evaluate the MagicCuts
     114    ClassDef(MFMagicCuts, 2) // A filter to evaluate the MagicCuts
    115115};
    116116
  • trunk/MagicSoft/Mars/mjobs/MJStar.cc

    r8624 r8658  
    336336    }
    337337
    338     // Spark cut
    339     MFDataPhrase fsparks("log10(MNewImagePar.fConc1) < (-0.371)*log10(MHillas.fSize) + 0.596", "SparkCut");
     338    // Spark cut:
     339    //  This cut is a little bit different from the default cut in the
     340    //  ganymed.rc, because the cut in ganymed.rc also suppresses a
     341    //  little background, while the cut here only shows sparks
     342    MFDataPhrase fsparks("log10(MNewImagePar.fConcCOG)<-0.45*(log10(MHillas.fSize)-2.5)-0.24", "SparkCut");
    340343    //fill0b.SetFilter(&fsparks);
    341344    fill0c.SetFilter(&fsparks);
Note: See TracChangeset for help on using the changeset viewer.