Changes between Version 241 and Version 242 of DatabaseBasedAnalysis/Spectrum


Ignore:
Timestamp:
12/10/19 14:05:53 (5 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBasedAnalysis/Spectrum

    v241 v242  
    112112
    113113== Get Data File List ==
     114
     115A list with file IDs containing the events to be analyed is required a.t.m. The following query retrieves such a list and fills a temporary table (!DataFiles) with the IDs.
    114116
    115117{{{#!Spoiler
     
    134136}}}
    135137
     138```%0:where``` is a placeholder, for example for
     139
     140{{{#!sql
     141fZenithDistanceMean<30 AND fThresholdMinSet<350 AND
     142fSourceKEY=5 AND
     143fRunTypeKEY=1 AND
     144fNight>20161201 AND fNight<20170201 AND
     145fR750Cor>0.9e0*fR750Ref
     146}}}
     147
    136148== Get Observation Time ==
     149
     150The following query bins the effective observation time of the runs listed above in zenith angle bins and stores the result in a temporary table (!ObservationTime). Note that the result contains only those bins which have entries.
    137151
    138152{{{#!Spoiler
     
    161175}}}
    162176
     177%0:bins is a placeholder for the bin boundaries, e.g. ```5, 10, 15, 20, 25, 30``` (five bins between 5° and 30° plus underflow and overflow).
     178
    163179== Get Monte Carlo File List ==
     180
     181The next query obtains all Monte Carlo runs which have their !ThetaMin or !ThetaMax within one of the bins obtained in the previous query (so all MC runs that correspond to bins in which data is available). Strictly speaking, this step is not necessary, but it accelerats further processing. In addition (here as an example) only runs with even FileIDs are obtained as test-runs (assuming that odd runs were used for training). The resulting FileIDs are stored in a temporary table (!MonteCarloFiles).
    164182
    165183{{{#!Spoiler