source: trunk/MagicSoft/Mars/ganymed_wobble.rc@ 7998

Last change on this file since 7998 was 7997, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 6.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
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.MaxAbsDev: 15
52#MPointingDevCalc.Dx -7
53#MPointingDevCalc.Dy 16
54#MPointingDevCalc.MaxAge 1.0
55
56# -------------------------------------------------------------------------
57# Setup the misfocussing correction
58# -------------------------------------------------------------------------
59#MSrcPosCorrect.Dx: 0
60#MSrcPosCorrect.Dy: 0
61
62# -------------------------------------------------------------------------
63# Setup fit mode and ranges
64# -------------------------------------------------------------------------
65#MAlphaFitter.SignalIntegralMax: 15
66#MAlphaFitter.SignalFitMax: 25
67#MAlphaFitter.BackgroundFitMin: 35
68#MAlphaFitter.BackgroundFitMax: 75
69#MAlphaFitter.ScaleMin: 35
70#MAlphaFitter.ScaleMax: 80
71#MAlphaFitter.PolynomOrder: 2
72#MAlphaFitter.ScaleMode: None
73
74# -------------------------------------------------------------------------
75# Define here which histogram class to use to determin the signal.
76# Currently availyble: MHAlpha, MHTheta <default>
77# -------------------------------------------------------------------------
78#MJCut.NameHist: MHAlpha
79
80# Be carefull: The spectrum might be done with a different binning
81# This might change the scale factor
82#MHThetaSq.NumBinsSignal: 3
83#MHThetaSq.NumBinsTotal: 75
84
85# -------------------------------------------------------------------------
86# To get a meaningfull false source plot in wobble mode use magic cuts
87# and the following two lines.
88# -------------------------------------------------------------------------
89MJCut.NameHistFS: MHDisp
90
91MHDisp.Wobble: Yes
92MHDisp.Smearing: 0.06
93#MHDisp.ScaleMin: 0.325
94#MHDisp.ScaleMax: 0.475
95
96# -------------------------------------------------------------------------
97# Use this to set the number of bins corresponding to the signal region
98# and if you use a Anti-Theta cut the second one has to be enabled
99# -------------------------------------------------------------------------
100#MHPhi.NumBinsSignal: 2
101#MHPhi.UseAntiPhiCut: No
102
103# -------------------------------------------------------------------------
104# There are three cuts:
105# Cut0: After energy estimation, before writing summary file
106# Cut1: After writing summary file before filling false source plots
107# Cut2: After filling false source plots before filling alpha plots
108# Cut3: After filling alpha plots (eg. Alpha cuts) for image parameter
109# display
110# -------------------------------------------------------------------------
111Cut0.Inverted: Yes
112Cut1.Inverted: Yes
113Cut2.Inverted: Yes
114Cut3.Inverted: Yes
115
116# Get rid of triangular events...
117Cut0.Condition: ({0} || {1}) && {2} && {3} && {4} && {5} && {6}
118Cut0.0: MImagePar.fNumSatPixelsHG < 1
119Cut0.1: MHillas.GetArea*(MGeomCam.fConvMm2Deg^2) > (0.003*MImagePar.fNumSatPixelsHG) + 0.0325
120Cut0.2: MNewImagePar.fNumUsedPixels>5
121Cut0.3: MNewImagePar.fLeakage1 < 0.3
122Cut0.4: MImagePar.fNumSatPixelsLG<2
123Cut0.5: MImagePar.fNumIslands<3
124Cut0.6: log10(MNewImagePar.fConc1) < (-0.371)*log10(MHillas.fSize) + 0.596
125
126# ---------- SETUP FOR WOBBLE-MODE -----------
127MAlphaFitter.ScaleMode: none
128MAlphaFitter.BackgroundFitMin: 0.09
129MAlphaFitter.BackgroundFitMax: 0.25
130MAlphaFitter.PolynomOrder: 1
131MAlphaFitter.SignalFunction: ThetaSq
132
133# For more details on the magic cuts see its class reference
134Cut1.Condition: MFMagicCuts
135Cut1.ThetaCut: Off
136# Parametrization of Disp
137Cut1.Param0: 1.221
138Cut1.Param6: 13.425
139Cut1.Param7: 1.04343
140# Parametrization for sign of disp (m3long)
141Cut1.Param5: -0.07
142# ThetaSq-Cut
143Cut1.Param1: 0.22
144# Area-Cut
145Cut1.Param2: 0.222
146Cut1.Param3: 5.524
147Cut1.Param4: 0.0878
148
149# To switch on random forest uncomment the following lines
150#Cut1.HadronnessCut: Hadronness
151#Cut1.Param8: 0.5
152#Cut1.Param9: 100
153
154# To use both, hadronness and area cut do
155#Cut1.HadronnessCut: All
156
157# -------------------------------------------------------------------------
158# Use this to executa a task (eg to calc hadronness) before Cut1
159# -------------------------------------------------------------------------
160# CalcHadronness: MRanForestCalc
161# CalcHadronness.FileName: rf-separation.root
162# CalcHadronness.NameOutput: Hadronness
163# CalcHadronness.Debug: No
164
165# -------------------------------------------------------------------------
166# Use this to executa a task (eg to calc disp) before Cut1
167# -------------------------------------------------------------------------
168# CalcDisp: MRanForestCalc
169# CalcDisp.FileName: rf-disp.root
170# CalcDisp.NameOutput: Disp
171# CalcDisp.Debug: No
172# Cut1.CalcDisp: No
Note: See TracBrowser for help on using the repository browser.