Index: trunk/DataCheck/Tools/get_data.sh
===================================================================
--- trunk/DataCheck/Tools/get_data.sh	(revision 19526)
+++ trunk/DataCheck/Tools/get_data.sh	(revision 19560)
@@ -156,16 +156,19 @@
    
    # these values use the Crab spectrum from HESS 2006 
+   # hess 2006 http://www.aanda.org/articles/aa/pdf/2006/39/aa5351-06.pdf
+   # PL.SetParameter(1,-2.63);
+   # PL.SetParameter(0, 3.45e-11);
    case "$table" in 
    "AnalysisResultsRunISDC")
       zdfactor="pow(cos(fZenithDistanceMean*PI()/180)*exp(1-cos(fZenithDistanceMean*PI()/180)),4.2)" 
       thfactor="(1.18-IF(ISNULL(fThresholdMinSet),fThresholdMedian,fThresholdMinSet)*0.00062)" 
-      # ETh: 764 GeV 
-      crabflux="3.3"
+      # ETh: 1060 GeV 
+      crabflux="1.9"
       ;;
    "AnalysisResultsRunCutsLC")
       zdfactor="pow(cos(fZenithDistanceMean*PI()/180)*exp(1-cos(fZenithDistanceMean*PI()/180)),4.5)" 
       thfactor="(1.37-IF(ISNULL(fThresholdMinSet),fThresholdMedian,fThresholdMinSet)*0.00118)" 
-      # ETh: 543 GeV
-      crabflux="5.7"
+      # ETh: 775 GeV
+      crabflux="3.2"
       ;;
    "AnalysisResultsRunLP")
@@ -173,6 +176,6 @@
       #zdfactor="(1/(pow(cos(fZenithDistanceMean*PI()/180),3)+14.8/21.9*pow(sin(2*fZenithDistanceMean*PI()/180),5)))" 
       thfactor="(1-0.00124/1.21*(fThresholdMinSet-500)*(fThresholdMinSet>=500))"                                 
-      # ETh: 715 GeV 
-      crabflux="3.6"
+      # ETh: 1090 GeV 
+      crabflux="1.8"
       ;;
    "*")
@@ -569,4 +572,5 @@
 # path to file with mysql setup (user, password, host, db-name)
 sqlpw=/home/$USER/.mysql.pw.local
+sqlpw=/home/$USER/.mysql.pw.ethz.fact
 #
 # -------------
@@ -639,4 +643,103 @@
 # -------------------------------------------------------------------------------------- #
 
+
+# LC for INTEGRAL Proposal
+table="AnalysisResultsRunCutsLC" # CutsLC
+bin=-1
+# Mrk 421
+source=1
+name="Mrk421_all_nightly"
+get_results
+# Mrk 501
+source=2
+name="Mrk501_all_nightly"
+get_results
+# 1959
+source=7
+name="1959_all_nightly"
+get_results
+# for other INTEGRAL proposal
+# Mrk 421
+bin=0
+source=1
+name="Mrk421_all_period"
+get_results
+
+exit
+
+
+# Crab
+source=5
+nightmin=20121214
+nightmax=20180418
+table="AnalysisResultsRunCutsLC" # CutsLC
+bin=-1
+zdmax=30
+thmax=330
+name="testCrabnightlycheck"
+get_results
+
+exit
+
+# Crab
+source=5
+nightmin=20121214
+nightmax=20180418
+table="AnalysisResultsRunCutsLC" # CutsLC
+bin=20
+name="testCrab20min"
+get_results
+
+exit
+
+# Crab
+source=5
+nightmin=20121214
+nightmax=20180418
+table="AnalysisResultsRunCutsLC" # CutsLC
+bin=-1
+name="testCrabnightly"
+get_results
+
+exit
+
+# Crab
+source=5
+#nightmin=20121214
+#nightmax=20180418
+table="AnalysisResultsRunCutsLC" # CutsLC
+bin=-1
+name="testCraball"
+get_results
+
+exit
+
+
+# Crab
+source=5
+nightmin=20121214
+nightmax=20180418
+table="AnalysisResultsRunCutsLC" # CutsLC
+bin=60
+name="testCrab"
+get_results
+
+exit
+
+
+# Mrk 501
+source=2
+zdmax=90
+thmax=1500
+# new analysis
+table="AnalysisResultsRunCutsLC" # CutsLC
+nightmin=20140622
+nightmax=20140624
+name="Mrk501_5min_Flare_newAnalysis_forHESS"
+bin=5
+get_results
+
+exit
+
 # for 2344 paper with MAGIC
 
