Changes between Version 11 and Version 12 of DatabaseBasedAnalysis/Examples


Ignore:
Timestamp:
08/15/18 10:34:51 (7 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBasedAnalysis/Examples

    v11 v12  
    11[[TOC]]
    22
     3
     4== Good weather Crab data ==
     5
     6You want to create a file with good weather data with zenith distance smaller than 35° of Crab of the season 2017/18. The file should contain most of the image parameters with no cuts applied so that you can optimize cuts.
     7
     8{{{#!spoiler
     9{{{#!sql
     10SELECT
     11   Events.MeanX,
     12   Events.MeanY,
     13   Events.Width,
     14   Events.Length,
     15   Events.CosDelta,
     16   Events.SinDelta,
     17   Events.M3Long,
     18   Events.SlopeLong,
     19   Events.Leakage1,
     20   Events.NumIslands,
     21   Events.NumUsedPixels,
     22   Events.Size,
     23   Events.SlopeSpread,
     24   Events.SlopeSpreadWeighted,
     25   Events.TimeSpread,
     26   Events.TimeSpreadWeighted,
     27   Position.X,
     28   Position.Y
     29FROM
     30   Events
     31LEFT JOIN Position USING (FileId, EvtNumber)
     32LEFT JOIN RunInfo  USING (FileId)
     33WHERE
     34   fSourceKey=5
     35AND
     36   fRunTypeKey=1
     37AND
     38   FileId BETWEEN 170600000 AND 180500000
     39AND
     40   fZenithDistanceMax<35
     41AND
     42   fR750Cor>0.9*fR750Ref
     43}}}
     44}}}
    345
    446== Optimize Area-cut ==