source: trunk/MagicSoft/Mars/ganymed_onoff.rc@ 7593

Last change on this file since 7593 was 7593, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 6.5 KB
Line 
1# ==========================================================================
2#############################################################################
3# ==========================================================================
4# General
5# ==========================================================================
6#############################################################################
7# ==========================================================================
8
9# -------------------------------------------------------------------------
10# Use this if you want to setup the logging stream for the jobs
11# (overwrites command line options)
12# -------------------------------------------------------------------------
13#MLog.VerbosityLevel: 2
14#MLog.DebugLevel: 1
15#MLog.NoColors: yes
16
17# ==========================================================================
18#############################################################################
19# ==========================================================================
20# Cuts
21# ==========================================================================
22#############################################################################
23# ==========================================================================
24
25# -------------------------------------------------------------------------
26# Use this if you want to write output to somewhere here you can give
27# the output path
28# -------------------------------------------------------------------------
29#MJCuts.PathOut: .
30
31# -------------------------------------------------------------------------
32# Use this to setup binnings. For more details see: MBinning::ReadEnv
33# -------------------------------------------------------------------------
34BinningAlpha.Raw: 36 0 90
35BinningFalseSource.Raw: 91 -1.5 1.5
36#BinningTheta.Raw: 50 0 60 cos
37BinningWidth.Raw: 50 0 1
38BinningLength.Raw: 25 0 1
39BinningDist.Raw: 25 0 2
40BinningMaxDist.Raw: 25 0 2
41
42# -------------------------------------------------------------------------
43# Using the starguider for pointing correction.
44# To switch it off use "MPointingDevCalc.MaxAbsDev: -1"
45# -------------------------------------------------------------------------
46#MPointingDevCalc.MaxAbsDev: 15
47#MPointingDevCalc.NumMinStars: 8
48#MPointingDevCalc.NsbLevel: 3.0
49#MPointingDevCalc.NsbMin: 30
50#MPointingDevCalc.NsbMax: 60
51#MPointingDevCalc.Dx -7
52#MPointingDevCalc.Dy 16
53
54# -------------------------------------------------------------------------
55# Setup the misfocussing correction
56# -------------------------------------------------------------------------
57#MSrcPosCorrect.Dx: 0
58#MSrcPosCorrect.Dy: 0
59
60# -------------------------------------------------------------------------
61# Setup fit mode and ranges
62# -------------------------------------------------------------------------
63#MAlphaFitter.SignalIntegralMax: 15
64#MAlphaFitter.SignalFitMax: 25
65#MAlphaFitter.BackgroundFitMin: 35
66#MAlphaFitter.BackgroundFitMax: 75
67#MAlphaFitter.ScaleMin: 35
68#MAlphaFitter.ScaleMax: 80
69#MAlphaFitter.PolynomOrder: 2
70#MAlphaFitter.ScaleMode: None
71
72# -------------------------------------------------------------------------
73# Define here which histogram class to use to determin the signal.
74# Currently availyble: MHAlpha, MHTheta <default>
75# -------------------------------------------------------------------------
76#MJCut.NameHist: MHAlpha
77
78# -------------------------------------------------------------------------
79# To get a meaningfull false source plot in wobble mode use magic cuts
80# and the following two lines.
81# -------------------------------------------------------------------------
82MJCut.NameHistFS: MHDisp
83
84MHDisp.Smearing: 0.06
85
86# -------------------------------------------------------------------------
87# To get use a random source position in the off data with the distribution
88# in the camera of the on-data
89# -------------------------------------------------------------------------
90MJCut.RandomSourcePosition: Yes
91
92# -------------------------------------------------------------------------
93# There are three cuts:
94# Cut0: After energy estimation, before writing summary file
95# Cut1: After writing summary file before filling false source plots
96# Cut2: After filling false source plots before filling alpha plots
97# Cut3: After filling alpha plots (eg. Alpha cuts) for image parameter
98# display
99# -------------------------------------------------------------------------
100Cut0.Inverted: Yes
101Cut1.Inverted: Yes
102Cut2.Inverted: Yes
103Cut3.Inverted: Yes
104
105# Get rid of triangular events...
106#Cut0.Condition: log10(MNewImagePar.fConc1) < (-0.467)*log10(MHillas.fSize) + 0.75
107Cut0.Condition: ({0} || {1}) && {2} && {3} && {4} && {5} && {6}
108Cut0.0: MImagePar.fNumSatPixelsHG < 1
109Cut0.1: MHillas.GetArea*(MGeomCam.fConvMm2Deg^2) > (0.003*MImagePar.fNumSatPixelsHG) + 0.0325
110Cut0.2: MNewImagePar.fNumUsedPixels>5
111Cut0.3: MNewImagePar.fLeakage1 < 0.3
112Cut0.4: MImagePar.fNumSatPixelsLG<2
113Cut0.5: MImagePar.fNumIslands<3
114Cut0.6: log10(MNewImagePar.fConc1) < (-0.371)*log10(MHillas.fSize) + 0.596
115
116# ---------- SETUP FOR ONOFF-MODE -----------
117MAlphaFitter.ScaleMin: 0.137
118MAlphaFitter.ScaleMax: 0.640
119MAlphaFitter.BackgroundFitMin: 0.137
120MAlphaFitter.BackgroundFitMax: 1.000
121MAlphaFitter.PolynomOrder: 1
122MAlphaFitter.ScaleMode: OffRegion
123MAlphaFitter.SignalFunction: ThetaSq
124
125Cut1.Condition: MFMagicCuts
126Cut1.ThetaCut: None
127Cut1.Param0: 1.3245
128Cut1.Param1: 0.22
129Cut1.Param2: 0.215
130Cut1.Param3: 5.486
131Cut1.Param4: 0.0897
132Cut1.Param5: -0.07
133Cut1.Param6: 8.2957
134Cut1.Param7: 0.8677
135
136# Be carefull: The spectrum might be done with a different binning
137# This might change the scale factor
138#MHThetaSq.NumBinsSignal: 3
139#MHThetaSq.NumBinsTotal: 75
140
141# -------------------------------------------------------------------------
142# Use this to executa a task (eg to calc hadronness) before Cut1
143# -------------------------------------------------------------------------
144# CalcHadronness: MRanForestCalc
145# CalcHadronness.File: rf-energy.root
146# CalcHadronness.NameOutput: Hadronness
147# CalcHadronness.Debug: No
148
149# -------------------------------------------------------------------------
150# Use this to executa a task (eg to calc disp) before Cut1
151# -------------------------------------------------------------------------
152# CalcDisp: MRanForestCalc
153# CalcDisp.File: rf-disp.root
154# CalcDisp.NameOutput: Disp
155# CalcDisp.Debug: No
156# Cut1.CalcDisp: No
Note: See TracBrowser for help on using the repository browser.