Changes between Version 8 and Version 9 of IngredientsSpectrum


Ignore:
Timestamp:
11/21/19 12:02:20 (5 years ago)
Author:
Daniela Dorner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IngredientsSpectrum

    v8 v9  
    881. selection of data sample (by hand or script)
    991. obs-vs-zd distribution of these runs
     101. get number of MC events in zd bins
    1011
    1112= example
     
    1819== step 2
    1920
     21e.g.
     22
     23./rootifysql -C rootifysql.eth.rc /home/dorner/FACT.analysis/spectrum/ontime-vs-zd.sql --list.FileID=/home/dorner/FACT.analysis/spectrum/dataset.txt /home/dorner/FACT.analysis/spectrum/ontime-vs-zd.root
     24
     25with
     26
     27dorner@LaMouette:~/FACT.analysis/spectrum$ cat ontime-vs-zd.sql
     28SELECT
     29  TIME_TO_SEC(TIMEDIFF(fRunStop,fRunStart))*fEffectiveOn as ontime,
     30  fZenithDistanceMean as zd
     31FROM
     32  RunInfo
     33 WHERE
     34  FileID IN ($FileID
     35
     36then
     37
     38root [0] TChain c("Result")
     39root [1] c.Add("/home/dorner/FACT.analysis/spectrum/ontime-vs-zd.root");
     40root [2] c.Draw("zd>>dis(90,0,90)", "ontime");
     41
     42
     43== step 3
     44
     45
     46
     47= room for improvement
     48
     49* get zd-distribution events-wise
    2050
    2151----