Changeset 19448 for trunk/DataCheck


Ignore:
Timestamp:
03/12/19 19:05:26 (6 years ago)
Author:
Daniela Dorner
Message:
fixed issue with datacheck
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Tools/get_data.sh

    r19447 r19448  
    330330         querydch=$dch
    331331      fi
     332   else
     333      querydch=
    332334   fi
    333335   
     
    457459      echo "# This file was created at "`date` > $fileint
    458460      print_policy >> $fileint
    459       print_selection >> $fileint
    460       echo "# The following query was used: " >> $fileint
    461       echo "# "$queryint >> $fileint
    462       echo "#" >> $fileint
    463    fi
     461   fi
     462   print_selection >> $fileint
     463   echo "# The following query was used: " >> $fileint
     464   echo "# $queryint" >> $fileint
     465   echo "#" >> $fileint
    464466   headerint="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excess-rate[evts/h] corrected_excess-rate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]"
    465467   headerint=$headerint" excess-rate_error[evts/h] corrected_excess-rate_error[evts/h] flux_error[CU] flux_error[e-11/cm2/s] significance night num_exc num_sig num_bg "
     
    480482      echo "# This file was created at "`date` > $filecol
    481483      print_policy >> $filecol
    482       print_selection >> $filecol
    483       #echo "# The following query was used: " >> $filecol
    484       #echo "# "$querycol >> $filecol
    485       #echo "#" >> $filecol
    486    fi
     484   fi
     485   print_selection >> $filecol
     486   #echo "# The following query was used: " >> $filecol
     487   #echo "# $querycol" >> $filecol
     488   #echo "#" >> $filecol
    487489   headercol="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excess-rate[evts/h] corrected_excess-rate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]"
    488490   headercol=$headercol" excess-rate_error[evts/h] corrected_excess-rate_error[evts/h] flux_error[CU] flux_error[e-11/cm2/s] significance "
     
    637639# -------------------------------------------------------------------------------------- #
    638640
    639 #expert="yes"
     641# for 2344 paper with MAGIC
     642
     643source=3
     644zdmax=90
     645thmax=1500
     646
     647# new analysis
     648table="AnalysisResultsRunCutsLC" # CutsLC
     649nightmin=20160618
     650nightmax=20160815
     651name="2344_2016flare_newAnalysis"
     652bin=-7
     653get_results
     654overwrite="no"
     655bin=-28
     656nightmin=20160816
     657nightmax=20161031
     658get_results
     659overwrite="yes"
     660
     661# ISDC analysis
     662table="AnalysisResultsRunISDC"
     663nightmin=20160618
     664nightmax=20160815
     665name="2344_2016flare_stdAnalysis"
     666bin=-7
     667get_results
     668overwrite="no"
     669bin=-28
     670nightmin=20160816
     671nightmax=20161031
     672get_results
     673overwrite="yes"
     674
     675
     676usedch="no"
     677# new analysis
     678table="AnalysisResultsRunCutsLC" # CutsLC
     679nightmin=20160618
     680nightmax=20160815
     681name="2344_2016flare_newAnalysis_noDCh"
     682bin=-7
     683get_results
     684overwrite="no"
     685bin=-28
     686nightmin=20160816
     687nightmax=20161031
     688get_results
     689overwrite="yes"
     690
     691# ISDC analysis
     692table="AnalysisResultsRunISDC"
     693nightmin=20160618
     694nightmax=20160815
     695name="2344_2016flare_stdAnalysis_noDCh"
     696bin=-7
     697get_results
     698overwrite="no"
     699bin=-28
     700nightmin=20160816
     701nightmax=20161031
     702get_results
     703overwrite="yes"
     704
     705usedch="yes"
     706
     707
     708exit
    640709
    641710# Mrk 501
Note: See TracChangeset for help on using the changeset viewer.