Changeset 9420 for trunk


Ignore:
Timestamp:
04/01/09 15:29:50 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9419 r9420  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
    20  2009/04/02 Thomas Bretz
     20 2009/04/01 Thomas Bretz
    2121
    2222   * Makefile.conf.linux:
    2323     - removed accidental '-g'
    24 
    25 
    26 
    27  2009/04/01 Thomas Bretz
    2824
    2925   * Makefile.conf.linux:
    3026     - removed -Wconversion (produces too much output on newer
    3127       compilers)
     28
     29   * ceres.rc, mjobs/MJSimulation.cc:
     30     - added a cut "Cut" after image parameter calculation
     31     - updated noise numbers
    3232
    3333
  • trunk/MagicSoft/Mars/NEWS

    r9414 r9420  
    1313     canvases) found in the file are drawn. Note that this may result
    1414     in empty tabs.
     15
     16 ;ceres:
     17
     18   * The night sky noise is now scaled with the sensitive area and
     19     is given in units per square centimeter
     20
     21   * Added the possibility to add a cut after the image parameter
     22     calculation (''Cut'')
    1523
    1624 ;callisto:
     
    3644 ;REMARK
    3745
    38    * File produced with this release containing a gamera geometry (which
    39      are basically all files we produce per default) will not be readable
     46   * File produced with this release containing a camera geometry (which
     47     are basically all files were produced as default) will not be readable
    4048     by older releases.
    4149
  • trunk/MagicSoft/Mars/ceres.rc

    r9378 r9420  
    130130#MSimAPD.NameGeomCam:
    131131
     132
    132133# -------------------------------------------------------------------------
    133134# Setup the absorption, conversion efficiency and angular acceptance
     
    144145#MSimReflector.DetectorMargin: 0
    145146
     147
     148# -------------------------------------------------------------------------
     149# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
     150# -------------------------------------------------------------------------
     151# Dark Counts per APD: ~4MHz
     152MSimRandomPhotons.FrequencyFixed: 0.004
     153# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
     154# acceptance and the wavelength acceptance of the camera (window, apd, etc)
     155MSimRandomPhotons.FrequencyNSB:   0.040
     156
     157# FIXME: With a class describing the cones we could give NSB as
     158# per sr and cm^2
    146159
    147160# -------------------------------------------------------------------------
     
    221234#MImgCleanStd.CleanLevel1:   6.0
    222235#MImgCleanStd.CleanLevel2:   6.0
     236
     237# -------------------------------------------------------------------------
     238# This is a cut executed after the calculation of the image parameters
     239# -------------------------------------------------------------------------
     240#Cut.Inverted: Yes
     241#Cut.Condition: MNewImagePar.fNumUsedPixels>4 && MHillas.fSize>30
  • trunk/MagicSoft/Mars/mjobs/MJSimulation.cc

    r9385 r9420  
    499499    // DWARF: 14MHz-25Mhz / APD
    500500
    501 
    502501    // FIXME: Simulate photons before cones and QE!
    503502
    504503    MSimRandomPhotons  simnsb;
    505 //    simnsb.SetFreq(0.005, 0.004);    // 5MHz/cm^2, 4MHz
    506     simnsb.SetFreq(0, 0.04);           // 40MHz fixed for each APD
     504    simnsb.SetFreq(0.0015, 0.04);  // 1.5MHz dark count rate, 40MHZ/cm^2 NSB
    507505    simnsb.SetNameGeomCam("GeomCones");
    508506
     
    511509
    512510    MSimAPD simapd;
    513     simapd.SetFreq(0.04); // Must be identical to MSimRanodmPhotons!!
     511    //simapd.SetFreq(0.04); // Must be identical to MSimRandomPhotons!!
    514512    simapd.SetNameGeomCam("GeomCones");
    515513
     
    550548    evt0a.SetErrorSpread(kFALSE);
    551549    evt0c.SetCollectMax();
     550
     551    MContinue cut("", "Cut");
    552552
    553553    MFillH fillx0a(&evt0a,             "MSignalCam",      "FillAvgSignal");
     
    664664            tasks.AddToList(&clean);
    665665        tasks.AddToList(&hcalc);
     666        tasks.AddToList(&cut);
    666667        tasks.AddToList(&fillx0d);
    667668        tasks.AddToList(&fillx1);
Note: See TracChangeset for help on using the changeset viewer.