source: branches/MarsISDCBranchBasedOn17887/ganymed_onoff.rc@ 18528

Last change on this file since 18528 was 9448, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 8.9 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
36BinningWidth.Raw: 50 0 1
37BinningLength.Raw: 25 0 1
38BinningDist.Raw: 25 0 2
39BinningAsym.Raw: 51 -0.7 0.7
40BinningM3Long.Raw: 51 -0.7 0.7
41BinningM3Trans.Raw: 51 -0.7 0.7
42BinningSlope.Raw: 51 -7.5 7.5
43
44# -------------------------------------------------------------------------
45# Using the starguider for pointing correction.
46# To switch it off use "MPointingDevCalc.MaxAbsDev: -1"
47# For details see the class reference of MPointingDevCalc
48# -------------------------------------------------------------------------
49#MPointingDevCalc.MaxAbsDev: 15
50#MPointingDevCalc.NumMinStars: 8
51#MPointingDevCalc.NsbLevel: 3.0
52#MPointingDevCalc.NsbMin: 30
53#MPointingDevCalc.NsbMax: 60
54#MPointingDevCalc.Dx -0.001
55#MPointingDevCalc.Dy -0.004
56#MPointingDevCalc.MaxAge 1.0
57
58MPointingDevCalc.PointingModels: 1 81855 83722 89180 267253 291104 328198 1000534
59
60# -------------------------------------------------------------------------
61# Setup misfocussing correction (see class reference for MSrcPosCorrect)
62# -------------------------------------------------------------------------
63#MSrcPosCorrect.Dx: 0
64#MSrcPosCorrect.Dy: 0
65
66# -------------------------------------------------------------------------
67# Setup fit mode and ranges
68# -------------------------------------------------------------------------
69#MAlphaFitter.SignalIntegralMax: 15
70#MAlphaFitter.SignalFitMax: 25
71#MAlphaFitter.BackgroundFitMin: 35
72#MAlphaFitter.BackgroundFitMax: 75
73#MAlphaFitter.ScaleMin: 35
74#MAlphaFitter.ScaleMax: 80
75#MAlphaFitter.PolynomOrder: 2
76#MAlphaFitter.ScaleMode: None
77
78# -------------------------------------------------------------------------
79# Define here which histogram class to use to determin the signal.
80# Currently availyble: MHAlpha, MHTheta <default>
81# -------------------------------------------------------------------------
82#MJCut.NameHist: MHAlpha
83
84# Be carefull: The spectrum might be done with a different binning
85# This might change the scale factor
86#MHThetaSq.NumBinsSignal: 3
87#MHThetaSq.NumBinsTotal: 75
88
89# -------------------------------------------------------------------------
90# To get a meaningfull false source plot in wobble mode use magic cuts
91# and the following two lines.
92# -------------------------------------------------------------------------
93MJCut.NameHistFS: MHDisp
94
95MHDisp.Smearing: 0.06
96#MHDisp.ScaleMin: 0.325
97#MHDisp.ScaleMax: 0.475
98
99# -------------------------------------------------------------------------
100# To get use a random source position in the off data with the distribution
101# in the camera of the on-data
102# -------------------------------------------------------------------------
103MJCut.RandomSourcePosition: Yes
104
105# -------------------------------------------------------------------------
106# There are three cuts:
107# CutQ: Cut after reading file
108# Cut0: After calculation of src dependent parameters, energy estimation
109# and disp calculation, before writing summary file
110# Cut1: After writing summary file before filling false source plots
111# Cut2: After filling false source plots before filling alpha plots
112# Cut3: After filling alpha plots (eg. Alpha cuts) for image parameter
113# display, eg. write only events after alpha cut to ganymed file
114# -------------------------------------------------------------------------
115CutQ.Inverted: Yes
116Cut0.Inverted: Yes
117Cut1.Inverted: Yes
118Cut2.Inverted: Yes
119Cut3.Inverted: Yes
120
121# Quality-cuts (remove unphysical and obvious non-gamma events)
122CutQ.Condition: {0} && {1} && {2} && {3} && {4} && {5}
123CutQ.0: MImagePar.fNumIslands<3
124CutQ.1: MNewImagePar.fNumUsedPixels>5
125CutQ.2: MNewImagePar.fLeakage1 < 0.3
126CutQ.3: log10(MNewImagePar.fConcCOG)<-0.45+0.08*(log10(MHillas.fSize)<3.9)*(log10(MHillas.fSize)-3.9)^2
127CutQ.4: log10(MNewImagePar.fConc1) <-0.75+0.10*(log10(MHillas.fSize)<3.8)*(log10(MHillas.fSize)-3.8)^2
128CutQ.5: MHillas.fLength>-3.6*(log10(MHillas.fSize)-6.0)^2+70
129
130# -------------------------------------------------------------------------
131# Such a cut could be used to exclude strange pointing positions. like
132# the camera center in wobble mode. Note, that a cut in the poiting
133# position directly influences the effective observation time and should
134# only be applied if the events are lost anyhow. In both cases you must
135# correct for the loss of observation time calculating your flux!
136# -------------------------------------------------------------------------
137#Cut0.Condition: MSrcPosCam.GetDist*MGeomCam.fConvMm2Deg>0.3
138
139# ---------- SETUP FOR ONOFF-MODE -----------
140MAlphaFitter.ScaleMin: 0.137
141MAlphaFitter.ScaleMax: 0.640
142MAlphaFitter.BackgroundFitMin: 0.137
143MAlphaFitter.BackgroundFitMax: 1.000
144MAlphaFitter.PolynomOrder: 1
145MAlphaFitter.ScaleMode: OffRegion
146MAlphaFitter.SignalFunction: ThetaSq
147
148# For more details on the magic cuts see its class reference
149Cut1.Condition: MFMagicCuts
150Cut1.ThetaCut: None
151# Parametrization of Disp
152Cut1.Param0: 1.15136
153Cut1.Param8: 0.0681437
154Cut1.Param9: 2.62932
155Cut1.Param10: 1.51279
156Cut1.Param11: 0.0507821
157# Parametrization for sign of disp (m3long, slope)
158Cut1.Param5: -0.07
159Cut1.Param6: 7.2
160Cut1.Param7: 0.5
161# ThetaSq-Cut
162Cut1.Param1: 0.215
163# Area-Cut
164Cut1.Param2: 0.215468
165Cut1.Param3: 5.63973
166Cut1.Param4: 0.0836169
167
168# To switch on random forest uncomment the following lines
169#Cut1.HadronnessCut: Hadronness
170#Cut1.Param13: 0.5
171#Cut1.Param14: 100
172
173# To use both, hadronness and area cut do
174#Cut1.HadronnessCut: All
175
176# -------------------------------------------------------------------------
177# This cut is applied exclusively to the plots in the tab CutT. It is
178# resonable to show the events within your signal region here to
179# see if your signal region is clean from strange events (e.g. sparks)
180# -------------------------------------------------------------------------
181CutT.Condition: ThetaSquared.fVal < ThetaSquaredCut.fVal
182
183# -------------------------------------------------------------------------
184# Use this to executa a task (eg to calc hadronness) before Cut1
185# -------------------------------------------------------------------------
186# CalcHadronness: MRanForestCalc
187# CalcHadronness.FileName: rf-separation.root
188# CalcHadronness.NameOutput: Hadronness
189# CalcHadronness.Debug: No
190
191# -------------------------------------------------------------------------
192# Use this to executa a task (eg to calc disp) before Cut1
193# -------------------------------------------------------------------------
194# CalcDisp: MRanForestCalc
195# CalcDisp.FileName: rf-disp.root
196# CalcDisp.NameOutput: Disp
197# CalcDisp.Debug: No
198# Cut1.CalcDisp: No
199
200# CalcDisp: MParameterCalc
201# CalcDisp.Rule: 1.15*(1-MHillas.fWidth/MHillas.fLength)
202# CalcDisp.NameOutput: Disp
203# Cut1.CalcDisp: No
204
205# -------------------------------------------------------------------------
206# Use this to executa a task (eg to estimate energy) after all Cuts
207# -------------------------------------------------------------------------
208# EstimateEnergy: MRanForestCalc
209# EstimateEnergy.NameOutput: MEnergyEst
210# EstimateEnergy.FileName: ranforest.root
211# EstimateEnergy.Debug: No
Note: See TracBrowser for help on using the repository browser.