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

Last change on this file since 7958 was 7743, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 6.6 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#MPointingDevCalc.MaxAge 1.0
54
55# -------------------------------------------------------------------------
56# Setup the misfocussing correction
57# -------------------------------------------------------------------------
58#MSrcPosCorrect.Dx: 0
59#MSrcPosCorrect.Dy: 0
60
61# -------------------------------------------------------------------------
62# Setup fit mode and ranges
63# -------------------------------------------------------------------------
64#MAlphaFitter.SignalIntegralMax: 15
65#MAlphaFitter.SignalFitMax: 25
66#MAlphaFitter.BackgroundFitMin: 35
67#MAlphaFitter.BackgroundFitMax: 75
68#MAlphaFitter.ScaleMin: 35
69#MAlphaFitter.ScaleMax: 80
70#MAlphaFitter.PolynomOrder: 2
71#MAlphaFitter.ScaleMode: None
72
73# -------------------------------------------------------------------------
74# Define here which histogram class to use to determin the signal.
75# Currently availyble: MHAlpha, MHTheta <default>
76# -------------------------------------------------------------------------
77#MJCut.NameHist: MHAlpha
78
79# -------------------------------------------------------------------------
80# To get a meaningfull false source plot in wobble mode use magic cuts
81# and the following two lines.
82# -------------------------------------------------------------------------
83MJCut.NameHistFS: MHDisp
84
85MHDisp.Smearing: 0.06
86#MHDisp.ScaleMin: 0.325
87#MHDisp.ScaleMax: 0.475
88
89# -------------------------------------------------------------------------
90# To get use a random source position in the off data with the distribution
91# in the camera of the on-data
92# -------------------------------------------------------------------------
93MJCut.RandomSourcePosition: Yes
94
95# -------------------------------------------------------------------------
96# There are three cuts:
97# Cut0: After energy estimation, before writing summary file
98# Cut1: After writing summary file before filling false source plots
99# Cut2: After filling false source plots before filling alpha plots
100# Cut3: After filling alpha plots (eg. Alpha cuts) for image parameter
101# display
102# -------------------------------------------------------------------------
103Cut0.Inverted: Yes
104Cut1.Inverted: Yes
105Cut2.Inverted: Yes
106Cut3.Inverted: Yes
107
108# Get rid of triangular events...
109#Cut0.Condition: log10(MNewImagePar.fConc1) < (-0.467)*log10(MHillas.fSize) + 0.75
110Cut0.Condition: ({0} || {1}) && {2} && {3} && {4} && {5} && {6}
111Cut0.0: MImagePar.fNumSatPixelsHG < 1
112Cut0.1: MHillas.GetArea*(MGeomCam.fConvMm2Deg^2) > (0.003*MImagePar.fNumSatPixelsHG) + 0.0325
113Cut0.2: MNewImagePar.fNumUsedPixels>5
114Cut0.3: MNewImagePar.fLeakage1 < 0.3
115Cut0.4: MImagePar.fNumSatPixelsLG<2
116Cut0.5: MImagePar.fNumIslands<3
117Cut0.6: log10(MNewImagePar.fConc1) < (-0.371)*log10(MHillas.fSize) + 0.596
118
119# ---------- SETUP FOR ONOFF-MODE -----------
120MAlphaFitter.ScaleMin: 0.137
121MAlphaFitter.ScaleMax: 0.640
122MAlphaFitter.BackgroundFitMin: 0.137
123MAlphaFitter.BackgroundFitMax: 1.000
124MAlphaFitter.PolynomOrder: 1
125MAlphaFitter.ScaleMode: OffRegion
126MAlphaFitter.SignalFunction: ThetaSq
127
128Cut1.Condition: MFMagicCuts
129Cut1.ThetaCut: None
130Cut1.Param0: 1.3245
131Cut1.Param1: 0.22
132Cut1.Param2: 0.215
133Cut1.Param3: 5.486
134Cut1.Param4: 0.0897
135Cut1.Param5: -0.07
136Cut1.Param6: 8.2957
137Cut1.Param7: 0.8677
138
139# Be carefull: The spectrum might be done with a different binning
140# This might change the scale factor
141#MHThetaSq.NumBinsSignal: 3
142#MHThetaSq.NumBinsTotal: 75
143
144# -------------------------------------------------------------------------
145# Use this to executa a task (eg to calc hadronness) before Cut1
146# -------------------------------------------------------------------------
147# CalcHadronness: MRanForestCalc
148# CalcHadronness.FileName: rf-separation.root
149# CalcHadronness.NameOutput: Hadronness
150# CalcHadronness.Debug: No
151
152# -------------------------------------------------------------------------
153# Use this to executa a task (eg to calc disp) before Cut1
154# -------------------------------------------------------------------------
155# CalcDisp: MRanForestCalc
156# CalcDisp.FileName: rf-disp.root
157# CalcDisp.NameOutput: Disp
158# CalcDisp.Debug: No
159# Cut1.CalcDisp: No
Note: See TracBrowser for help on using the repository browser.