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