source: trunk/MagicSoft/Mars/Changelog@ 3024

Last change on this file since 3024 was 3024, checked in by moralejo, 21 years ago
*** empty log message ***
File size: 40.8 KB
Line 
1Please do not write behind the end of line tag so that it is possible
2to send a Changelog file to a line printer directly. Thanks.
3
4
5 -*-*- END OF LINE -*-*-
6 2004/02/05: Abelardo Moralejo
7
8 * macros/starmc2.C
9 - added 3rd argument, "kFALSE", to call of MWriteRootFile::Add
10 for both MMcEvt and MMcRunHeader since these containers are
11 not present in real data. Name of macro is no longer adequate if
12 we will use it for calibrated real data (to be changed if so).
13
14 2004/02/05: Sebastian Raducci
15
16 * mtools/MCubicSpline.[h,cc]
17 - added
18 - this class will take the place of the TSpline class to
19 calculate arrival times
20
21 * mtools/MCubicCoeff.[h,cc]
22 - added
23 - this class is used by MCubicSpline to store coefficients
24
25 * macros/spline.C
26 - added
27 - test macro. Shows how to use the MCubicSpline class
28 - it could be used to test the methods of the Spline class
29
30
31 2004/02/05: Thomas Bretz
32
33 * mmain/MBrowser.cc:
34 - fixed a double deletion of a TGLayoutHints
35
36
37
38 2004/02/04: Markus Gaug
39
40 * mmain/MBrowser.cc:
41 - corrected TGTReeLBEntry for TGTreeLBEntry
42
43
44
45 2004/02/04: Thomas Bretz
46
47 * manalysis/MExtractSignal2.cc:
48 - don't allow odd numbers for the window size
49
50 * mfilter/MFilterList.cc:
51 - corrected a wrong logging message
52
53 * mmain/MBrowser.cc:
54 - added '/data/MAGIC' as shortcut in the combo box
55
56 * mraw/MRawEvtPixelIter.cc:
57 - optimized calculation of MaxIdx
58
59
60
61 2004/02/04: Abelardo Moralejo
62
63 * macros/starmc2.C
64 - removed unnecessary variables BinsHigh, BinsLow
65
66
67
68 2004/02/04: Markus Gaug
69
70 * manalysis/MPedestalCam.[h,cc], manalysis/MPedestalPix.[h,cc],
71 manalysis/MPedCalcPedRun.[h,cc], manalysis/MHPedestalPixel.[h,cc],
72 macros/calibration.C:
73 - histograms are now filled with MFillH as proposed and coded by
74 Thomas Bretz. Some modifications had to be done, however.
75 - Class to hold MHPedestalPixel is still MPedestalCam
76 - MPedCalcPedRun does nothing any more (except from what is was
77 doing before)
78
79 * manalysis/MExtractSignal.cc
80 - remove uncommented code
81
82 * mcalib/MCalibrationCalc.[h,cc]
83 - modified way to handle histogram overflow: Now flags are set and
84 ChargevsN histogram is not tried to be filled subsequently
85
86
87
88 2004/02/03: Markus Gaug
89
90 * manalysis/MHExtractedSignalPix.[h,cc]
91 - added Thomas B. modified version of MHPedestalPixel. Later will
92 remove MHPedestalPixel
93
94 * manalysis/MCalibrationPix.[h,cc], manalysis/MHCalibrationPixel.[h,cc],
95 manalysis/MCalibrationCam.cc, macros/calibration.C:
96 - now split completely absolute and relative times. Absolute
97 times are not fitted, but their histogram mean and rms are
98 returned.
99
100
101
102 2004/02/03: Thomas Bretz
103
104 * mfileio/MReadTree.cc:
105 - fixed handling of -1 entries in AddFile: root 3.10/02 crashed
106
107 * manalysis/MExtractSignal.[h,cc]:
108 - moved code to extract the signal from Process to
109 new member function FindSignal, I left the arrival time
110 extraction as commented-out code in the code just as a
111 demonstration to do this very fast.
112
113
114
115 2004/02/02: Markus Gaug
116
117 * manalysis/MPedCalcPedRun.cc
118 - corrected formulae in Class description
119
120 * mcalib/MCalibration.[h,cc], mcalib/MHCalibration.[h,cc],
121 manalysis/MMcCalibrationUpdate.cc:
122 - calculate relative times and absolute times. Fit only
123 the relative ones.
124
125
126
127 2004/02/02: Abelardo Moralejo
128
129 * manalysis/MMcCalibrationUpdate.cc, MMcPedestalCopy.cc
130 - removed file type check (MC or data) from PreProcess since now
131 run headers are not yet known at that point.
132
133 * mcalib/MMcCalibrationCalc.cc
134 - same as above.
135
136 * NEWS
137 - updated.
138
139
140
141 2004/02/02: Thomas Bretz
142
143 * manalysis/MExtractSignal2.[h,cc]:
144 - added new task which takes a given number of slices with the
145 highest integral content as signal.
146
147 * manalysis/Makefile, manalysis/AnalysisLinkDef.h:
148 - added MExtractSignal2
149
150
151
152 2004/01/30: Abelardo Moralejo
153
154 * macros/starmc.C
155 - changed default FADC integration range (more adequate for coming
156 camera version).
157
158 * macros/mccalibrate.C, starmc2.C
159 - added. First macro transforms input files from camera simulation
160 into files with pixel data already calibrated in photons. The
161 second reads in an already calibrated data file and produces an
162 output file with Hillas parameters. Both together do the same as
163 starmc.C, but it is convenient to have files containing
164 calibrated pixel information.
165
166
167
168 2004/01/30: Thomas Bretz
169
170 * mbase/MDirIter.h:
171 - added GetNumEntries
172
173 * mhist/MHEvent.cc:
174 - added a dynamic_cast from MParContainer to MCamEvent to get the
175 correct pointer to the correct base-class.
176
177 * mbase/MStatusDisplay.cc:
178 - In EventInfo check whether gPad==0
179
180 * mfileio/MReadMarsFile.cc:
181 - removed reading RunHeaders from PreProcess, this resulted
182 in strange behaviour of writing RunHeaders
183 - fixed consistency check for RunType accordingly
184
185 * mfilter/MFilterList.cc:
186 - do not skip adding filter if only a filter with the same name
187 exists
188
189 * mraw/MRawFileRead.cc:
190 - added an output message if run header is not accessible
191
192 * mraw/MRawRunHeader.[h,cc]:
193 - initialize fRunType to new enum kRTNone
194
195 * mfilter/MFGeomag.cc:
196 - set fResult to kFALSE at the beginning of Process
197 - according to this removed setting fResult=kFALSE before return
198 - replaced some float by Float_t
199 - added some const-qualifiers
200 - replaced (rig<0.5/pr*R*(r2-r1)+r1) by (rig-r1)*pr<rnd
201 with rnd = R * (r2-r1)/2 to make sure that we cannot
202 devide by 0
203
204 * manalysis/MPedCalcPedRun.cc:
205 - added some comments
206
207 * Makefile:
208 - added mjobs
209
210 * mjobs/*:
211 - added
212
213 * mbase/Makefile, mbase/BaseLinkDef.h:
214 - added MRunIter
215
216 * mbase/MRunIter.[h,cc]:
217 - added
218
219
220
221 2004/01/30: Markus Gaug
222
223 * manalysis/MPedestalCam.h
224 - added function IsUsedHists()
225
226 * manalysis/MPedestalCam.cc
227 - modified GetPixelContent
228
229 * manalysis/MPedestalCam.cc, manalysis/MPedCalcPedRun.cc:
230 - include storage of number of used FADC slices to compare later
231 the pedestal per slice ( and sigma per slice)
232 - return relative differences in GetPixelContent
233
234 * mcalib/MCalibrationCalc.[h,cc], mcalib/MHCalibrationBlindPixel.[h,cc]:
235 - fBlindPixelId and fPINDiodeId now like in PedestalCam
236 - fill Blind Pixel with information about its fitted pedestal if
237 available
238 - initialize charges histogram with a bigger range
239 - use pedestal information to constrain the pedestal fit ranges
240
241 * manalysis/MHPedestalPixel.cc
242 - initialize charges histogram with a bigger range
243
244 * macros/calibration.C
245 - SetRange of MExtractSignal to 1,14 (see emails of yesterday)
246 - apply new GetPixelContents of MPedestalCam (more calculations
247 and displays of errors, correction for different FADC slice
248 number)
249
250 * manalysis/MExtractSignal.cc
251 - not access to MArrivalTime any more. The same information is
252 stored in MRawEvt->GetPixelContent(...)
253
254 * manalysis/MCalibrationCalc.cc
255 - retrieve default arrival time from MRawEvt
256
257 * manalysis/MCalibrationBlindPix.cc, manalysis/MCalibrationPix.cc
258 - check for NaN's in fit results
259
260
261
262 2004/01/29: Abelardo Moralejo
263
264 * mfileio/MWriteFile.h
265 - added missing declaration of ReInit
266
267 * manalysis/MMcCalibrationUpdate.cc
268 - added call to MCalibrationCam::SetBlindPixelMethodValid(kTRUE)
269 to adapt to recent changes in MCalibrate.
270
271
272
273 2004/01/29: Thomas Bretz
274
275 * manalysis/MArrivalTime.h, manalysis/MCameraData.h,
276 manalysis/MCerPhotEvt.h, manalysis/MExtractSignalCam.h,
277 manalysis/MPedPhotCam.h, manalysis/MPedestalCam.h,
278 mcalib/MCalibrationCam.h, mcamera/MCameraDC.h,
279 mraw/MRawEvtData.h, mreflector/MRflEvtData.h:
280 - split derivement into MParContainer and MCamEvent
281
282 * manalysis/MExtractSignalCam.[h,cc]:
283 - removed obsolete MExtractSignal::ReInit
284 - added -> to fArray
285
286 * mbase/MParList.h:
287 - added a new bit kIsProcessing
288
289 * mbase/MTaskList.cc:
290 - fixed the handling of kDoNotReset and the bahaviour of
291 SetReadyToSave, such that it is possible to write all
292 headers
293
294 * mfileio/MWriteFile.cc:
295 - added ReInit which also calls CheckAndWrite
296
297 * mgui/MCamEvent.h:
298 - does not derive from MParContainer anymore
299
300
301
302 2004/01/29: Markus Gaug
303
304 * mcalib/MCalibrationCalc.[h,cc], mcalib/MCalibrationCam.[h,cc],
305 mcalib/MCalibrationConfig.h
306 - put gkCalibrationBlindPixelId and gkCalibrationPINDiodeId
307 directly into the corresponding classes.
308
309
310
311 2004/01/29: Nicola Galante
312
313 * mhistmc/MHMcTriggerLvl2.[h,cc]:
314 - In method MHMcTriggerLvl2::GetHistByName(const TString name)
315 added string checking to return also
316 fHistCellPseudoSize, fHistCellPseudoSizeNorm
317 and fHistCellPseudoSizeEnergy.
318 - Added inline functions GetHistCellPseudoSize() and
319 GetHistCellPseudoSizeNorm().
320
321
322
323 2004/01/28: Javier Rico
324
325 * mcalib/MCalibrate.[h.cc]
326 - include possibility to select the calibration method to be used
327
328
329
330 2004/01/28: Markus Gaug
331
332 * mcalib/MCalibrate.[h.cc]
333 - corrected Int_t ReInit() to Bool_t ReInit(MParList *pList)
334
335 * mcalib/MCalibrationCalc.[h,cc], mcalib/MCalibrationCam.[h,cc]:
336 - included flags to indicate if Blind Pixel Method or PIn Diode
337 method was OK. Up to now, program stopped, if one of the two
338 methods was chosen but not able to being executed.
339
340 * manalysis/MArrivalTimeCalc.cc, manalysis/MExtractSignals.cc,
341 manalysis/MGeomApply.cc:
342 - put all missing InitSize(npixels) into MGeomApply
343
344 * manalysis/MPedCalcPedRun.[h,cc], manalysis/MPedestalCam.[h,cc],
345 manalysis/MPedestalPix.[h,cc], manalysis/MHPedestalPixel.[h,cc],
346 manalysis/Makefile, manalysis/AnalysisLinkDef.h:
347 - include possibility to fit the pedestals with Gaussian.
348 - old methods are not affected.
349 - add new method with MPedCalcPedRun::SetUseHists()
350
351
352
353 2004/01/28: Abelardo Moralejo
354
355 * mcalib/MMcCalibration.cc
356 - fixed wrong variable type in call to TH1F constructor (number of
357 bins is now integer), which resulted in a compilation warning.
358
359
360
361 2004/01/28: Thomas Bretz
362
363 * manalysis/MPedestalCam.cc:
364 - removed unwanted CheckBound from operators. CheckBounds is ONLY
365 ment for really old MC files and will be removed in the future
366 anyhow.
367
368 * mcalib/MHCalibrationPixel.h:
369 - removed obsolete include of MFFT
370
371 * manalysis/MCerPhotAnal.cc, manalysis/MCerPhotCalc.cc,
372 manalysis/MPedestalCam.[h,cc]:
373 - removed use of obsolete MPedestalCam::CheckBounds. This was
374 a workaround for a 'bug' in very old camera files, which is not
375 necessary anymore.
376
377 * manalysis/MCerPhotAnal2.[h,cc]:
378 - replaced MPedestalCam by MPedPhotCam
379
380 * manalysis/MExtractSignal.cc:
381 - some small simplification to the signal extraction
382 - removed some obsolete variables
383 - replaced for by while
384 - removed obsolete casts
385
386 * mmain/MEventDisplay.cc:
387 - gave names to the filters
388 - removed adding MHCamera to fList because it was deleted twice
389
390 * mhist/MHCamera.cc:
391 - fixed usage of fPainter in Paint() - title was not updated
392 correctly
393
394
395
396 2004/01/28: Sebastian Raducci
397
398 * manalysis/MArrivalTime.[h,cc]:
399 - removed all the code relative to the cluster evaluation
400
401
402
403 2004/01/27: Markus Gaug
404
405 * manalysis/MPedestalPix.cc:
406 - initialize default values to 0 instead of -1.
407
408 * manalysis/MPedestalCam.[h,cc]:
409 - include CheckBounds, also in operator[]
410
411 * mcalib/MCalibrationCam.[h,cc]:
412 - apparently, there was a reference to InitSize(UInt_t i) instead
413 of InitSize(Int_t i), where compiler complained, now changed
414
415 * mcalib/MHCalibration*, mcalib/MCalibration*:
416 - fixed all Clear()'s, Reset()'s, direct intializers
417
418
419
420 2004/01/27: Thomas Bretz
421
422 * mdata/MDataChain.cc:
423 - added '%' to supported operators
424
425
426
427 2004/01/26: Nicola Galante
428
429 * manalysis/MMcTriggerLvl2.[cc,h]:
430
431 - Defined some static constants to avoid ugly "magic numbers"
432 in arrays: gsNCells, gsNTrigPixels,
433 gsNPixInCell, gsNLutInCell, gsNPixInLut, fNumPixCell.
434 - Added method
435 MMcTriggerLvl2::GetCellCompactPixel(int cell, MGeomCam *fCam)
436 which computes compact pixels into a given L2T macrocell.
437 - Added method
438 MMcTriggerLvl2::CalcBiggerCellPseudoSize()
439 which computes fCellPseudoSize, the maximum Pseudo Size into L2T
440 macrocells
441 - Added method
442 MMcTriggerLvl2::GetCellPseudoSize() const
443 which returns fCellPseudoSize
444 - Added method
445 MMcTriggerLvl2::IsPixelInCell(Int_t pixel, Int_t cell),
446 which controls whether a pixel belongs to a given L2T cell.
447 - Added method
448 MMcTriggerLvl2::GetMaxCell() const
449 which returns fMaxCell, the cell with the maximum
450 fCellPseudoSize.
451
452
453
454 2004/01/26: Markus Gaug, Michele Doro
455
456 * manalysis/MArrivalTime.[h,cc], manalysis/MArrivalTimeCalc.[h,cc]:
457 - moved calculation of arrival time from MArrivalTime to
458 MArrivalTimeCalc. MArrivalTime does not do any Process-job
459 anymore
460 - TSpline5 now on stack.
461 - function to set the stepsize
462
463 * mcalib/MHCalibrationBlindPixel.[h,cc]:
464 - force mu_{0} in Blind Pixel Fit to be around 0 in fKPoisson4
465 - implement combined Polya fit and Michele's back-scattered electron
466 fit
467
468 * mcalib/MHCalibrationPixel.[h,cc], mcalib/MCalibrationPix.cc,
469 mcalib/MCalibrationPINDiode.cc:
470 - combine FitChargeHiGain and FitChargeLoGain into one function
471
472 * macros/calibration.C
473 - improve double gauss fit a bit
474
475
476
477 2004/01/26: Thomas Bretz
478
479 * mraw/MRawEvtPixelIter.[h,cc]:
480 - removed member function GetNumPixels. For more details see mantis.
481
482 * manalysis/MArrivalTime.[h,cc]:
483 - reorganized includes
484 - fixed InitSize and ClearArray (now Reset) to fit MParContainer
485 definition
486 - for the moment removed usage of fPixelChecked - THIS WILL CRASH YOUR
487 PROGRAM
488
489 * manalysis/MArrivalTimeCalc.[h,cc]:
490 - reorganized includes
491 - removed many obsolete code, exspecially copy&paste relicts!
492 - fixed usage of InitSize
493 - removed CleanArray. Reset() is called automatically before Process()
494
495 * manalysis/MExtractedSignalCam.[h,cc]:
496 - added SetLogStream
497 - removed obsolete include MGeomCam
498 - replaced PrintOut by Print
499 - added const-qualifiers to all Getters
500 - fixed documentation
501
502 * manalysis/MExtractedSignalPix.[h,cc]:
503 - replaced PrintOut by Print
504 - fixed documentation
505
506 * manalysis/MEventRateCalc.cc, manalysis/MPedCalcPedRun.cc:
507 - replaced memset by Reset()
508
509
510
511 2004/01/24: Abelardo Moralejo
512
513 * macros/starmcstereo.C
514 - Added. Example of how to run the analysis chain for MC files
515 containing simulation of stereo systems of 2 telescopes.
516
517 * mcalib/MCalibrate.cc
518 - Added check that value of signal from MExtractedSignalPix is not
519 the default (error) value. In such a case, the signal in
520 MCerPhotEvt is now set to 0. Before, all pixels got very high
521 values in MCerPhotEvt in case the MRawEvtData object for the
522 event was missing in the file. This happened in MC files, in
523 which in some circumstances an event is written without the
524 pixel information (for instance, when running stereo simulations
525 the pixel data is missing for non-triggered telescopes, but the
526 event headers are present).
527
528
529
530 2004/01/23: Markus Gaug
531
532 * manalysis/MExtractSignal.[h,cc], manalysis/MExtractedSignalPix.[h,cc],
533 manalysis/MArrivalTime.[h,cc], mcalib/MCalibrationBlindPix.h,
534 mcalib/MHCalibrationBlindPixel.[h,cc], mcalib/MCalibrationPINDiode.h,
535 mcalib/MHCalibrationPINDiode.[h,cc], mcalib/MCalibrationPix.[h,cc],
536 mcalib/MHCalibrationPixel.[h,cc], mcalib/MCalibrationCalc.[h,cc]:
537 - use MArrivalTime for Storage (or calculation) of time
538 in MExtractSignal
539 - pass from TH1I histos to TH1F for times
540
541 * mcalib/MCalibrationBlindPix.h, mcalib/MHCalibrationBlindPixel.[h,cc],
542 mcalib/MCalibrationPix.[h,cc], mcalib/MHCalibrationPixel.[h,cc],
543 mcalib/MCalibrationCalc.[h,cc]:
544 - clean up setters
545 - pass to bit-fields for all flags
546
547 * mcalib/MCalibrationCam.cc
548 - exclude Blind Pixel from Camera display
549 - do not fill &val when return kFALSE
550
551 * macros/calibration.C
552 - include functions to exclude the blind pixel,
553 calculation of times and quality checks
554
555
556
557 2004/01/23: Abelardo Moralejo
558
559 * mcalib/MCalibrate.cc, manalysis/MExtractSignal.cc
560 - Added support (using AddSerialNumber) for stereo MC files.
561
562
563
564 2004/01/23: Thomas Bretz
565
566 * mbase/MAstro.cc:
567 - Fixed calculation of MJD. In Ymd2Mjd a plus should be a minus.
568
569 * mreport/MReport*.[h,cc]:
570 - changed all classes to return Int_t instead of Bool_t in
571 InterpreteBody
572 - changed MReportFileRead such, that a wrong line results in
573 skipping the line instead of abort reading.
574
575 * manalysis/MExtractSignal.cc:
576 - do not print information for each pixel - it's too much.
577
578 * mbase/MStatusDisplay.cc:
579 - when reading a status display do not display tabs with
580 the same name than one which is already existing.
581
582 * mcalib/MCalibrate.cc:
583 - directly store pointer to pixel when setting saturation flag
584
585 * mcamera/MCameraDC.cc:
586 - fixed some comments
587
588 * mhist/MHCamEvent.cc:
589 - fixed a crash when no geometry was available
590
591 * mhist/MHCamera.[h,cc]:
592 - removed obsolete member function SetPix
593
594 * mbase/MStatusDisplay.[h,cc]:
595 - added EventInfo member function
596 - implemented preliminary redirection of GetObjectInfo to
597 StatusLine2 -> An own status line for this is missing
598
599 * manalysis/MExtractSignal.[h,cc]:
600 - implemented StreamPrimitive
601 - changed deafults to be static const data members
602
603 * manalysis/MGeomApply.[h,cc]:
604 - implemented StreamPrimitive
605
606
607
608 2004/01/23: Abelardo Moralejo
609
610 * manalysis/MMcCalibrationUpdate.[h,cc]
611 - Added check to guarantee that the FADC simulation parameters of
612 all read files (those used for calibration and those analyzed)
613 are the same.
614 - Added missing support for analysis of stereo files.
615
616 * mcalib/MMcCalibrationCalc.cc
617 - Removed obsolete FIXME comment.
618 - Added missing support for analysis of stereo files.
619
620
621 2004/01/23: Raquel de los Reyes
622
623 * macros/CCDataCheck.C
624 - Added the temperature distribution of the optical links
625 and the plots of the LV power supplies.
626 * mcamera/MCameraLV.h
627 - Added the "Get" functions to access the private data
628 members of the class.
629
630
631 2004/01/22: Abelardo Moralejo
632
633 * manalysis/MMcCalibrationUpdate.[h,cc]
634 - Now ratio of high to low gain is taken from MCalibrationCam if
635 it existed previously in the parameter list, instead of being
636 read again from the MMcFadcHeader. Removed Setter function for
637 fADC2PhInner, no longer necessary. Fixed error regarding the
638 pedestal conversion to photons (did not read conversion factor
639 from preexisting MCalibrationCam object).
640
641 * mcalib/MMcCalibrationCalc.cc
642 - Changed parameters of the histogram, and also the quantity being
643 histogrammed. Check that input data come from a noiseless camera
644 file before proceeding to do the calibration. Introduced lower
645 size in cut for calibration. Now rhe calibration constant is not
646 calculated from the mean of photons/ADC counts, but from the peak
647 of the histogram.
648
649 * macros/starmc.C
650 - Introduced new scheme. Now there are two loops over two different
651 sets of files. First loop calculates the calibration constants,
652 second one does the analysis. Introduced comments. Now the
653 histogram used in the light calibration is written to the output
654 file.
655
656
657
658 2004/01/22: Thomas Bretz
659
660 * mcalib/MCalibrate.[h,cc], mcalib/MCalibrationCam.[h,cc],
661 mcalib/MCalibrationBlindPix.[h,cc], mcalib/MCalibrationCalc.[h,cc],
662 mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationPINDiode.[h,cc],
663 mcalib/MCalibrationBlindPixel.[h,cc],
664 mcalib/MHCalibrationPixel.[h,cc], mcalib/MMcCalibrationCalc.[h,cc],
665 mcalib/MHCalibrationBlindPixel.[h,cc],
666 mcalib/MHCalibrationPINDiode.[h,cc]:
667 - cleaned up includes
668
669
670
671 2004/01/22: Raquel de los Reyes
672
673 * macros/CCDataCheck.C
674 - macro to check the data from the central control (.rep files).
675
676
677
678 2004/01/22: Markus Gaug
679
680 * macros/calibration.C
681 - made MStatusDisplay 3 bit smaller
682
683 * manalysis/MExtractSignal.cc
684 - put fSignals->SetUsedFADCSlices into PreProcess
685
686 * manalysis/MPedCalcPedRun.cc
687 - calculate PedRMS as RMS of the sums, later renormalized to units
688 of RMS/slice (eliminate the wrong effect of odd and even slices)
689
690 * mcalib/MCalibrationCalc.cc
691 - if bit SkipBlindPixelFit is set, now number of photons outside
692 plexiglass is not intended to be calculated any more (previous
693 bug)
694 - exclude excluded pixels in eventloop
695
696 * mcalib/MHCalibrationBlindPixel.[h,cc]
697 - move functions to pointer again (otherwise, Clone will give
698 strange results)
699
700
701
702 2004/01/21: Abelardo Moralejo
703
704 * mcalib/MMcCalibrationCalc.[h,cc]
705 - Added. First version of the task intended to calculate the
706 conversion factors from ADC counts to photons in the MC. It has
707 a different aim than the recently renamed class
708 "MMcCalibrationUpdate" (which takes care that the correct
709 pedestals and conversion factors are supplied to each event, but
710 does not really calculate anything).
711
712 * mcalib/Makefile, CalibLinkDef.h
713 - Added new class MMcCalibrationCalc
714
715 * manalysis/MMcCalibrationUpdate.[h,cc]
716 - Now the container MCalibrationCam is not created or modified if
717 it is found that one such container already exists in the
718 Parameter list (from a previous calibration).
719
720
721
722 2004/01/21: Thomas Bretz
723
724 * mraw/MRawRead.cc:
725 - restore the fake time for all runs (current time stamp in
726 the data seems to be toally nonsense)
727
728 * mraw/MRawEvtHeader.cc:
729 - removed decoding of real time (current time stamp in the data
730 seems to be toally nonsense)
731
732
733
734 2004/01/21: Abelardo Moralejo
735
736 * mmc/MMcEvt.hxx
737 - Uncommented 6 Getter functions (those regarding the number of
738 photons surviving the different stages of simulation).
739
740 * manalysis/MMcCalibrationUpdate.[h,cc]
741 - Added (see below).
742
743 * manalysis/MMcCalibrationCalc.[h,cc]
744 - Removed: changed name of this class to MMcCalibrationUpdate,
745 which is more representative of what it really does. Moved
746 the filling of the MCalibrationCam container from Process to
747 ReInit, since it does not change on an event by event basis.
748 Simplified PreProcess (MCalibrationCam was searched for twice).
749 Updated class description and comments.
750
751 * manalysis/Makefile, AnalysisLinkDef.h
752 - Adapted to change above
753
754 * macros/starmc.C
755 - Adapted to change above. Changed also task instance name from
756 mccalibcalc to mccalibupdate.
757
758
759
760 2004/01/21: Raquel de los Reyes
761
762 * mreport/MReportCC.h, mreport/MReportTrigger.h, mcamera/MCameraHV.h
763 and mcamera/MCameraCalibration.h
764 - Added the "Get" functions (e.g GetStatus() for fStatus) to access
765 the private data members of the class.
766
767
768
769 2004/01/20: Thomas Hengstebeck
770
771 * mranforest/MRanForestCalc.[h,cc]
772 - Added member functions Grow (training of RF) and Fill (reading in
773 trained forest from file) which simplify macros.
774 One just needs to call them instead of using MRanForestGrow and
775 MRanForestFill (and the related training and fill loops) in a
776 macro.
777
778
779
780 2004/01/20: Abelardo moralejo
781
782 * manalysis/MMcCalibrationCalc.cc
783 - removed call to MCalibrationPix::SetPedestal, which was not
784 needed.
785
786
787
788 2004/01/20: Thomas Bretz
789
790 * Makefile:
791 - replaced 'make' by '$(MAKE)'
792
793 * Makefile.rules:
794 - added Makefile itself to dependencies
795
796 * mbase/MTask.cc:
797 - added comment about ReInit
798
799 * mhbase/MH.cc:
800 - do not clear pad in DrawClone if 'same' option given
801
802 * mhist/MHVsTime.cc:
803 - evaluate 'same' option
804
805 * mfileio/MReadCurrents.[h,cc]:
806 - obsolete, removed
807
808 * manalysis/MCerPhotEvt.cc, manalysis/MCerPhotPix.cc:
809 - added some comments
810
811
812
813 2004/01/20: Abelardo moralejo
814
815 * mcalib/MHCalibrationPINDiode.cc
816 - Added call to SetDirecory(0) for histograms fHErrCharge,
817 fHPCharge, fHPTime.
818
819 * manalysis/MCerPhotPix.h:
820 - Changed position of declaration of fIsSaturated to be the last
821 private variable. Otherwise, since in the constructor it is
822 initialized in the last place, a warning is displayed upon
823 compilation in some systems.
824
825
826
827 2004/01/20: Markus Gaug
828 * mcalib/Makefile, manalysis/Makefile:
829 - include directory ../mtools
830
831 * mtools/MFFT.[h,cc]
832 - class inherits from TObject now
833
834
835
836 2004/01/19: Markus Gaug
837
838 * mcalib/MHCalibrationBlindPixel.[h,cc]
839 - fixed a bug in fFitLegend due to which program crashed by calls
840 to DrawClone
841 - Modified way to change the fit function
842
843 * mcalib/MHCalibrationPixel.[h,cc]
844 - reordered function calls
845 - removed SetupFill
846
847 * mcalib/MHCalibrationPINDiode.h
848 - reordered function calls
849
850 * mcalib/MCalibrationPix.[h,cc]
851 - limits to define fFitValid now as variables in class
852
853 * mcalib/MCalibrationCam.[h,cc]
854 - reordered function calls
855 - incorporate option to exclude pixels
856
857 * mcalib/MCalibrationBlindPix.h
858 - Modified way to change the fit function
859
860 * mcalib/MCalibrationCalc.[h,cc]
861 - Modified way to change the fit function
862 - incorporate option to exclude pixels from configuration file
863
864 * macros/calibration.C
865 - Modified way to change the fit function
866 - incorporate option to exclude pixels from configuration file
867
868
869
870 2004/01/19: Javier Rico
871
872 * manalysis/MPedCalcPedRun.cc, manalysis/MPedPhotCalc.cc
873 - Added documentation of member functions
874
875
876
877 2004/01/19: Abelardo Moralejo
878
879 * manalysis/MCerPhotPix.[h,cc]
880 - Added fIsSaturated to flag whether low gain of the pixel is
881 saturated. Added corresponding getter and setter functions.
882 Updated ClassDef to version 2.
883
884 * mcalib/MCalibrate.cc
885 - Set the new saturation flag of MCerPhotPix to kTRUE if at least
886 one low gain FADC slice is saturated.
887
888 * mimage/MNewImagePar.[h,cc]
889 - Added new member variable fNumSaturatedPixels to count how many
890 pixels were saturated. Updated ClassDef to version 2.
891
892
893
894 2004/01/19: Thomas Bretz
895
896 * manalysis/MPedPhotCalc.[cc,h]:
897 - fixed order of includes
898 - removed obsolete forward declarations
899 - removed obsolete data member fNumPixels (stored already twice in
900 the two TArrayF)
901 - fixed some small bugs in the documentation
902
903 * manalysis/MPedCalcPedRun.cc:
904 - updated my eMail address
905
906
907
908 2004/01/19: Javier Rico
909
910 * macros/dohtml.C, NEWS
911 - include some missing info
912
913
914
915 2004/01/19: Abelardo Moralejo
916
917 * manalysis/MExtractedSignalPix.h
918 - added GetNumLoGainSaturated()
919
920
921
922 2004/01/19: Markus Gaug
923
924 * macros/dohtml.C
925 - include calibration.C
926
927 * manalysis/MExtractSignal.cc
928 - warning of logain saturation now only once per event (out of loop)
929
930 * mcalib/MCalibrationCalc.cc, mcalib/MCalibrationPix.[h,cc]
931 - new Flag fExcluded to indicate if pixel has been excluded from
932 further analysis
933
934
935
936 2004/01/16: Javier Rico & Pepe Flix
937
938 * manalysis/MPedPhotCalc.[cc,h]
939 - added
940 - new class for the evaluation of pedestals in units of photons
941 using the extracted signal from pedestal runs and calibration
942 constants defined in MCalibrate
943
944 * manalysis/AnalysisLinkDef.h, manalysis/Makefile
945 - added entries for MPedPhotCalc
946
947 * macros/pedphotcalc.C
948 - added
949 - example on how to use MPedPhotCalc task
950
951
952
953 2004/01/16: Markus Gaug
954
955 * mcalib/MCalibrationFits.h
956 - removed and incorporated in MHCalibrationBlindPixel.h
957
958 * mcalib/MHCalibrationBlindPixel.[h,cc], mcalib/MHCalibrationConfig.h,
959 mcalib/MCalibrationBlindPix.h:
960 - incorporate Fit functions
961 - fixed a bug due to which DrawClone crashed when class was used
962 in a compiled macro
963
964 * mcalib/MCalibrationCalc.cc, mcalib/MCalibrationPix.cc,
965 mcalib/MCalibrationBlindPix.cc, mcalib/MCalibrationPINDiode.cc,
966 mcalib/MCalibrationCam.cc, mcalib/MHCalibrationBlindPixel.cc,
967 mcalib/MHCalibrationPixel.cc:
968 - fixed the warns and errs in fLog's
969
970
971
972 2004/01/16: Abelardo Moralejo
973
974 * manalysis/MMcCalibrationCalc.cc
975 - TMath::Max() is no longer used because it did not compile in some
976 systems for unkown reasons. I replaced it by a safer (and may be
977 slower) code.
978 - Added calpix.SetFitValid();
979
980 * mhist/MHEvent.cc
981 - In MHEvent::Fill, fixed: second parameter of SetCamContent must
982 be 1 in case of RMS:
983 case kEvtPedestalRMS:
984 fHist->SetCamContent(*(MCamEvent*)par, 1);
985
986
987
988 2004/01/15: Abelardo Moralejo
989
990 * macros/starmc.C
991 - Added. Version of star showing new chain to get Hillas
992 parameters (with Size calibrated in photons) from MC files.
993
994
995
996 2004/01/15: Javier Rico
997
998 * manalysis/MPedCalcPedRun.[h,cc]
999 - optimize the running time
1000 - add (some) documentation
1001 - correct treatment for the case of several input files
1002
1003 * macros/pedvsevent.C
1004 - added
1005 - draw pedestal mean and rms vs event# for input pixel# and run
1006 file, and compares them to the global pedestal mean and rms
1007
1008
1009
1010 2004/01/15: Raquel de los Reyes
1011
1012 * mhist/MHCamEvent.cc, mhist/MHCamera.cc
1013 - changed the MHCamEvent::SetupFill and MHCamera::GetBinError
1014 functions to compute the estimation of the error of the
1015 mean. It can be done calling to the function
1016 MCamEvent::SetBit(MHCamera::kVariance) in the macro
1017
1018
1019
1020 2004/01/15: Markus Gaug
1021
1022 * mhist/MHCamera.[h,cc]
1023 - incorporate Thomas's changes
1024 - replace void CreateProjection() by TH1D *Projection(const char*)
1025
1026 * macros/calibration.C
1027 - replace MHCamera->Draw("proj") by MHCamera->Projection()
1028 - produce better fits to the projection
1029
1030 * manalysis/MSimulatedAnnealing.[h,cc],
1031 mhist/MHSimulatedAnnealing.[h,cc]:
1032 - moved to directory mtools
1033 - MSimulatedAnnealing now inherits from TObject
1034
1035 * manalysis/Makefile, manalysis/AnalysisLinkDef.h,
1036 mhist/Makefile, mhist/HistLinkDef.h:
1037 - removed MSimulatedAnnealing
1038 - removed MHSimulatedAnnealing
1039
1040 * mtools/Makefile, mtools/AnalysisLinkDef.h:
1041 - added MSimulatedAnnealing
1042 - added MHSimulatedAnnealing
1043
1044
1045
1046 2004/01/15: Thomas Bretz
1047
1048 * manalysis/AnalysisLinkDef.h:
1049 - removed MCurrents
1050
1051 * mhist/MHCamera.[h,cc]:
1052 - added member function Projection
1053 - removed fYproj
1054
1055 * mreport/MReport*.*:
1056 - added more comments
1057
1058
1059
1060 2004/01/14: Markus Gaug
1061
1062 * mtools/MFFT.[h,cc]
1063 - new class to perform Fast Fourier Transforms
1064
1065 * mtools/Makefile
1066 * mtools/ToolsLinkDef.h
1067 - include MFFT
1068
1069 * manalysis/MExtractedSignalCam.h
1070 - removed variables fNumHiGainSamples and fNumLoGainSamples
1071 - function SetNumUsedFADCSlices replaced by SetUsedFADCSlices
1072
1073 * manalysis/MExtractSignal.cc
1074 - updated call to SetUsedFADCSlices
1075
1076
1077
1078 2004/01/14: Abelardo Moralejo
1079
1080 * manalysis/MMcCalibrationCalc.cc:
1081 - set pedestal rms per FADC slice to 0.01 counts in case it is 0.
1082 This can happen (depending on camera simulation parameters), and
1083 rms = 0 later resulted in the pixel being eliminated in the
1084 image cleaning.
1085
1086
1087
1088 2004/01/14: Thomas Bretz
1089
1090 * Makefile:
1091 - replaced old style Makefile.depend by directory specific
1092 dependancy files
1093
1094 * Makefile.rules:
1095 - changed obsolete '.cc.o' style to newer style '%.o: %.c'
1096 - added rule to make dependency files
1097 - added rule to remove dependancy files.
1098 - added rmdep as prerequisite to clean
1099 - include dependency file
1100
1101 * mbase/Makefile, mcalib/Makefile, mcamera/Makefile,
1102 mdata/Makefile, mfileio/Makefile, mfilter/Makefile,
1103 mgeom/Makefile, mgui/Makefile, mhbase/Makefile,
1104 mhist/Makefile, mhistmc/Makefile, mimage/Makefile,
1105 mmain/Makefile, mmc/Makefile, mmontecarlo/Makefile,
1106 mpointing/Makefile, mranforest/Makefile, mraw/Makefile,
1107 mreflector/Makefile, mreport/Makefile, mtemp/Makefile,
1108 mtools/Makefile:
1109 - removed clean-rule, use the one in Makefile.rules instead
1110
1111 * mreport/Makefile, mreport/ReportLinkDef.h:
1112 - added MReportHelp
1113
1114 * mreport/MReportFileRead.cc:
1115 - moved code from MReportHelp to new file
1116 - removed usage of MReport class completely
1117
1118 * mfilter/MFGeomag.[h,cc]:
1119 - fixed a bug which causes MFGeomag to fail if MARSSYS is not set
1120 - changed the second loop from 0->1151 to 1152->2304
1121 - removed dummy arrays used for reading
1122 - output filename in case of 'file not found'
1123 - removed obsolete data members
1124 - removed obsolete Init function
1125 - removed forbidden underscore from member variable
1126 - changed wrong 0/1 in allocation of fResult into kFALSE/TRUE
1127
1128 * mbase/MStatusDisplay.[h,cc]:
1129 - added new member function Open
1130 - added new menu entry kFileOpen
1131 - changed UpdatePSheader algorithm (the old one was much too slow)
1132
1133 * manalysis/MCurrents.[h,cc]:
1134 - removed (old outdated)
1135
1136 * manalysis/Makefile, manalysis/AnalysisLinkDef.h:
1137 - removed MCurrents
1138
1139
1140
1141 2004/01/14: Wolfgang Wittek
1142
1143 * macros/ONOFFAnalysis.C:
1144 - current version
1145
1146 * mhist/MHSigmaTheta.[h,cc]:
1147 - replace MPedestalCam by MPedPhotCam
1148
1149 * manalysis/MPad.[h,cc], manalysus/MSigmabar.[h,cc],
1150 manalysus/MSigmabarCalc.[h,cc], manalysus/MCT1PadONOFF.[h,cc],
1151 manalysus/MCT1PadSchweizer.[h,cc], manalysus/MPadding.[h,cc]:
1152 - replace MPedestalCam by MPedPhotCam
1153
1154 * manalysis/MPedPhotPix.[h,cc]
1155 - uncomment SetRms()
1156
1157
1158
1159 2004/01/13: Markus Gaug
1160
1161 * manalysis/MExtractSignal.h
1162 - seems that the reduced light intensity of the CT1 Pulser
1163 results in broader pulses -> Set Default time slices to [3,10]
1164
1165 * mhist/MHCamera.cc
1166 - make Stat Window in option 'proj' bigger
1167 - add comment line at beginning of Draw()
1168
1169 * mcalib/MHCalibrationBlindPixel.[h.cc]
1170 - add Function DrawClone()
1171 - fix bug in calculation of integral (GetIntegral("width"))
1172 - restrict parameters tighter
1173 - declare fit as not valid, if less than 100 events
1174 in single photo-electron peak
1175
1176 * mcalib/MCalibrationFits.h, mcalib/MHCalibrationBlindPixel.[h.cc]
1177 - fit now with fixed normalization
1178
1179 * mcalib/MHCalibrationPixel.[h.cc]
1180 - new function IsEmpty()
1181 - Time fit accepted if ChiSquare less than 30. (instead of 20.)
1182
1183 * mcalib/MCalibrationPix.[h.cc]
1184 - F-Factor corrected and added error
1185 - Histograms not fitted if they are empty
1186 - rejection criteria of fitted charges now > 5 PedRMS (instead 3)
1187
1188 * mcalib/MCalibrationCam.cc
1189 - Square Root of Reduced Sigmas not taken, if they are < 0.
1190 - Reduced Sigma / Charge squared replaced by reduced sigma / charge
1191
1192 * mcalib/MCalibrationCalc.cc
1193 - Blind Pixel is not additionally treated as normal pixel any more
1194 - Blind Pixel Draw replaced by DrawClone
1195
1196 * macros/calibration.C
1197 - took out some unused code
1198 - some default axis labelling corrected
1199
1200
1201
1202 2004/01/13: Abelardo Moralejo
1203
1204 * manalysis/MMcPedestalCopy.cc
1205 - added check of whether input file is a MC file before executing
1206 the PreProcess.
1207
1208
1209
1210 2004/01/13: Wolfgang Wittek
1211
1212 * macros/ONOFFAnalysis.C, macros/ONAnalysis.C:
1213 - change macro to handle also MC events with finite sigmabar
1214
1215 * manalysis/MPadOn.[h,cc]:
1216 - deleted, is replaced by MPad
1217
1218 * manalysis/MPadOnOFF.[h,cc]:
1219 - deleted, is replaced by MPad
1220
1221 * manalysis/MPad.[h,cc]:
1222 - new class, replacing MPadON and MPadONOFF
1223 - handle also MC events with finite sigmabar
1224
1225 * manalysis/Makefile, manalysis/AnalysisLinkDef.h:
1226 - replace MPadON and MPadONOFF by MPad
1227
1228
1229
1230 2004/01/13: Thomas Bretz
1231
1232 * mraw/MRawRunHeader.[h,cc]:
1233 - implemented new member function GetRunTypeStr
1234
1235 * Changelog.03:
1236 - added (contains entries of 2003)
1237
1238 * Changelog:
1239 - removed entries of 2003
1240
1241 * mfilter/MFGeomag.cc:
1242 - simplified open/close of input files
1243
1244 * manalysis/MEventRate.[h,cc], manalysis/MEventRateCalc.cc:
1245 - added some comments
1246 - added new member function GetError
1247
1248 * Makefile:
1249 - updated 'make dox' output for convinience
1250
1251 * macros/dohtml.C:
1252 - do not print Info's
1253 - added mcamera
1254 - added mpointing
1255 - added mreport
1256
1257 * mreport/MReportCurrents.cc, mreport/MReportDAQ.cc:
1258 - removed some obsolete comments (these comments confused THtml)
1259
1260 * manalysis/MCameraData.[h,cc], mfileio/MCT1ReadAscii.[h,cc],
1261 mfileio/MCT1ReadPreProc.[h,cc], mfilter/MFCT1SelBasic.cc,
1262 mfilter/MFSelBasic.cc, mhist/MHCamera.cc, mhist/MHEvent.[h,cc],
1263 mimage/MImgCleanStd.[h,cc], mimage/MImgCleanTGB.[h,cc],
1264 mmain/MAnalysis.cc, mmain/MEventDisplay.cc:
1265 - replaced MPedestalCam by MPedPhotCam
1266 - removed some obsolete includes
1267
1268 * mbase/BaseLinkDef.h, mbase/Makefile:
1269 - added MLogPlugin
1270 - added MLogHtml
1271
1272 * mbase/MLog.[h,cc]:
1273 - added use of plugins
1274
1275 * mbase/MLogPlugin.[h,cc], mbase/MLogHtml.[h,cc]:
1276 - added
1277
1278 * mbase/MStatusDisplay.[h,cc]:
1279 - added a Save-As dialog
1280
1281
1282
1283 2004/01/12: Thomas Bretz
1284
1285 * macros/rootlogon.C:
1286 - added mcamera to include path
1287 - added mpointing to include path
1288 - added mreport to include path
1289
1290 * mbase/MLog.cc:
1291 - updated my eMail address
1292
1293 * mbase/MParContainer.h:
1294 - added Read member function
1295
1296 * mbase/MStatusDisplay.[h,cc]:
1297 - changed size of ps-paper
1298 - added a user defined bottom line to the ps-files
1299 - added name (currently unused)
1300 - added title (used as possible bottom line in ps-file)
1301
1302 * mraw/MRawRunHeader.cc:
1303 - added some comments
1304
1305 * status.cc:
1306 - set name of input as bottom line of status display
1307
1308
1309
1310 2004/01/12: Abelardo Moralejo
1311
1312 * mimage/MStereoPar.cc
1313 - fixed mistake: now fSourceY = scale1*hillas1.GetMeanY() + ...
1314 instead of fSourceY = scale2*hillas1.GetMeanY() + ...
1315 Bug had no effect unless scale1 != scale2 (-> telescopes of
1316 different size).
1317
1318
1319
1320 2004/01/12: Markus Gaug
1321
1322 * manalysis/MExtractSignal.[h,cc]
1323 - take out some uncommented code
1324 - replace logainshift by two independent variables:
1325 logainfirst, logainlast
1326 - because in most data, maximum occurs in slice 4, shift default
1327 from slices 4-9 to slices 3-8.
1328
1329 * manalysis/MExtractedSignalPix.[h,cc]
1330 - took out some uncommented code
1331 - new initializers: instead of -1. now 99999.9
1332
1333
1334
1335 2004/01/09: Markus Gaug
1336
1337 * mcalib/MCalibrationCam.[h,cc]
1338 - take out 1-dim histos because we can use
1339 the projections in MHCamera (s.b.)
1340
1341 * mcalib/MHCalibrationBlindPixel.h
1342 - make the fit by default quiet
1343
1344 * mcalib/MHCalibrationPixel.[h,cc]
1345 * mcalib/MCalibrationPix.[h,cc]
1346 - Ranges of time slices stored independently for HiGain and LoGain
1347 in order to allow consecutive checks
1348
1349 * mhist/MHCamera.[h.cc]
1350 - add the possibility to call a Draw("proj") which will
1351 draw a Y-Projection of the histogram
1352
1353 * macros/calibration.C
1354 - apply the drawing of the projections and fit them
1355
1356 * mcalib/MCalibrationCalc.cc
1357 - catch the possibility of a calibration file,
1358 unintendedly being a pedestal or cosmic file.
1359 Program now exits with an error before doing the fits
1360
1361 * mcalib/MCalibrationPix.[h,cc]
1362 - fixed a bug in calculation of fFitValid.
1363 before, a call to IsFitValid() always returned false
1364
1365
1366
1367 2004/01/09: Javier L¢pez
1368
1369 * macros/bootcampstandardanalysis.C
1370 - added new macro that holds the main scheleton discussed in the
1371 december bootcamp in Wuerzburg. It runs first over a pedestal
1372 run, then over a calibration run, again over the pedestal run
1373 to compute de pedestal in number of photons and finally over a
1374 data run to calibrate the data.
1375
1376
1377
1378 2004/01/06: Sebastian Raducci
1379
1380 * manalysis/MArrivalTime.[h,cc]
1381 - added new method to calculate photon arrival times. It uses the
1382 TSpline5 Root Class to interpolate the Fadc Slices. The time is
1383 the abscissa value of the absolute maximum of the interpolation
1384 - added new method to find clusters with similar arrival times.
1385 For now it's a preliminary version. It simply search for adiacent
1386 pixels having the same arrival time (color).
1387
1388 * manalysis/MArrivalTimeCalc.[h,cc]
1389 - modified the Process() method according to the changes in the
1390 Arrival Time Cointainer
1391
1392 * mmain/MEventDisplay.cc
1393 - added new tab in the camera event display to show the arrival
1394 time. This arrival time is calculated with the spline method
1395 - the old Arrival Time pad now it's called Max Slice Idx, because
1396 it's only the index of the slice with the max content.
1397
1398 * mhist/MHEvent.[h,cc]
1399 - added new fType in te enumeration to handle the arrival time
1400 histos
Note: See TracBrowser for help on using the repository browser.