Changes between Version 236 and Version 237 of DatabaseBasedAnalysis/Spectrum


Ignore:
Timestamp:
12/09/19 18:24:33 (5 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBasedAnalysis/Spectrum

    v236 v237  
    163163== Get Monte Carlo File List ==
    164164
     165{{{#!Spoiler
     166{{{#!sql
     167CREATE TEMPORARY TABLE MonteCarloFiles
     168(
     169   FileId INT UNSIGNED NOT NULL,
     170   PRIMARY KEY (FileId) USING HASH
     171) ENGINE=Memory
     172AS
     173(
     174   SELECT
     175      FileId
     176   FROM
     177      ObservationTime
     178   LEFT JOIN
     179      BinningTheta ON `.theta`=bin
     180   LEFT JOIN
     181      factmc.RunInfoMC
     182   ON
     183      (ThetaMin>=lo AND ThetaMin<hi) OR (ThetaMax>lo AND ThetaMax<=hi)
     184   WHERE
     185      PartId=1 AND
     186      FileId%%2=0
     187   ORDER BY
     188      FileId
     189)
     190}}}
     191}}}
     192
     193
    165194== Get Zenith Angle Histogram ==
    166195