source: trunk/MagicSoft/Mars/Changelog@ 3154

Last change on this file since 3154 was 3154, checked in by gaug, 22 years ago
*** empty log message ***
File size: 57.6 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
7 2004/02/14: Markus Gaug
8
9 * mjobs/MJPedestal.h
10 - class TCanvas included (did not compile otherwise)
11
12 * mhbase/MH.cc
13 - included call to FindGoodLimits(..) in CutEdges()
14 - axe from pointer to reference
15 - "CutEdges" renamed to "StripZeros"
16
17 * manalysis/MHPedestalPixel.cc
18 * mcalib/MHCalibrationPixel.cc
19 * mcalib/MHCalibrationBlindPixel.cc
20 - "CutEdges" renamed to "StripZeros"
21
22 * mcalib/MHGausEvent.[h,cc]
23 * mcalib/Makefile
24 * mcalib/CalibLinkDef.h
25 - replaced by the improved version: MHGausEvents.[h,cc]
26
27
28 2004/02/14: Thomas Bretz
29
30 * manalysis/MCerPhotEvt.[h,cc]:
31 - added 'Iterator' facility, this will replace some for-loops
32 in the near future
33
34 * mbase/MTime.[h,cc]:
35 - added a more powerfull interface to get and interprete the
36 MTime contents as string
37 - added a new constructor
38
39 * mreport/MReportTrigger.h:
40 - fixed GetPixContent
41
42 * mtools/MCubicCoeff.cc, mtools/MCubicSpline.[h,cc]:
43 - many small changes to simple details (like order of includes)
44 - some speed improvements
45 - many small simplifications
46 - changed parts of the code to be more C++ like (eg Iterators
47 instead of for-loops)
48 - disentangles some if-cases
49 - replaced some math.h function by TMath::
50 - removed data-member fN (obsolete with iterators)
51
52
53
54 2004/02/13: Wolfgang Wittek
55
56 * mcalib/MCalibrateData.[h,cc]
57 - new class;
58 like MCalibrate, but in ReInit it fills the MPedPhot container
59 using informations from MPedestal, MExtracteSignalCam and
60 MCalibrationCam
61
62 * mcalib/Makefile, mcalib/CalibLinkDef.h
63 - added MCalibrateData
64
65 * manalysis/MPedestalWorkaround.[h,cc]
66 - create MMcEvt container and fill with theta = 10.0
67 - set pedestalRMS = 0. if it is > 10.0
68
69 * manalysis/MSupercuts.[h,cc]
70 - change default values of parameters
71
72 * manalysis/MSupercutsCalc.[h,cc]
73 - change dNOMLOGSIZE from 4.1 to 5.0
74
75 * mhist/MHBlindPixels.[h,cc]
76 - change MPedestalCam to MPedPhotCam
77
78 * mhist/MHSigmaTheta.[h,cc]
79 - automatic binning for pixel number doesn't work
80 use default binning
81
82
83
84 2004/02/13: Markus Gaug
85
86 * mcalib/MCalibrationPix.[h,cc]
87 - added variables gkAverageQE, gkAverageQEErr, and fAverageQE,
88 fAverageQEErr
89 - gkAverageQE initializes to 0.2 (according to David)
90 - gkAverageQEErr initializes to 0.02 (dito)
91 - added new member function: SetAverageQE
92 - call to GetMeanConversionFFactorMethod returns:
93 fMeanConversionFFactorMethod/fAverageQE.
94 - call to GetErrorConversionFFactorMethod returns:
95 errors of fMeanConversionFFactorMethod and fAverageQEErr added
96 quadratically
97
98 * mcalib/Makefile
99 - split into two parts one comment line
100
101
102 2004/02/13: Thomas Bretz
103
104 * mbadpixels/MBadPixelsTreat.[h.cc]:
105 - added for new bad pixel treatment
106
107 * mbadpixels/Makefile, mbadpixels/BadPixelsLinkDef.h:
108 - added MBadPixelsTreat
109
110 * merpp.cc:
111 - changed the name of the "DC" tree to "Currents" to make
112 MReportRead work correctly with this tree
113
114 * mbase/MTime.[h,cc]:
115 - Changed UpDMagicTime to support nanosec instead of millisec
116 - exchanged Reset() by Clear() not to clear the yy/mm/dd
117 information away in an eventloop
118
119 * mraw/MRawEvtHeader.[h,cc]:
120 - implemented decoding of the time-stamp for raw-data files
121 with version>2. Thanks to Marcos.
122
123 * mraw/MRawRead.[h,c]:
124 - pipe file version number to MRawEvtHeader::ReadEvt
125 - create fake time for file-version<3
126
127 * macros/readMagic.C:
128 - changed to use MInteractiveTask
129
130 * mbase/MPrint.cc:
131 - fixed debugging level of some output
132
133 * mhist/MHCamera.[h,cc]:
134 - fixed handling in AddNotify (necessayr due to change of
135 inheritance from MCamEvent)
136 - replaced cout by gLog
137 - added fNotify to list of cleanups
138
139 * mhist/MHEvent.cc, mjobs/MJCalibration.cc,
140 mjobs/MJPedestal.cc:
141 - fixed usage of AddNotify
142
143 * mfileio/MReadReports.cc:
144 - use a different way to determin whether the tree is a valid tree,
145 skip invalid trees
146
147 * mfileio/MReadTree.cc:
148 - added another sanity check at the beginning of PreProcess
149
150 * mhbase/MFillH.[h,cc]:
151 - added bit kCanSkip which skips MFillH in case the necessary container
152 wasn't found.
153 - cd into the corresponding canvas before filling the MH
154
155
156
157 2004/02/12: Markus Gaug
158
159 * mbase/MArray.[h,cc]:
160 - changed name of StripZeros
161
162 * mcalib/MHGausEvent.cc:
163 - corrected call to StripZeros
164
165 * mcalib/MCalibrationPix.[h,cc]
166 - implemented dummy for combined method
167
168 * mcalib/MCalibrate.[h,cc]
169 - implemented a dummy for calibration factor 1. (requested by
170 Javier Rico)
171 - implemented combined method
172 - check for valid methods moved to ReInit
173
174 * mcalib/MCalibrationCalc.cc
175 - removed initialization of non-used nsamples
176
177 * mcalib/MHCalibrationPixel.[h,cc], mcalib/MCalibrationPix.[h,cc],
178 mcalib/MCalibrationCalc.[h,cc]
179 macros/calibration.C
180 - implemented new histograms:
181 HSinglePheFADCSlices and HPedestalFADCSlices
182 They are filled with the FADC slice values of either a s.phe.
183 event or a pedestal event. The decision is taken with the
184 variable: MCalibrationCalc::fBlindPixelSinglePheCut, to be set
185 with a setter
186
187 * mtools/MFFT.[h,cc]
188 - PowerSpectrumDensity of TArrayI implemented
189
190
191
192 2004/02/12: Thomas Bretz
193
194 * mbase/MArray.[h,cc]:
195 - changed argument of CutEdges from pointer to reference
196
197 * mgeom/MGeomPix.h:
198 - fixed calculation of area of pixel. It was too big for a
199 factor of 2
200
201 * mjobs/MJCalibration.cc:
202 - slight change of name of a MHCamera
203
204 * manalysis/MExtractSignal.cc:
205 - slight change to the creation of the satpixels list
206
207 * mcalib/MHCalibrationBlindPixel.cc, mcalib/MHCalibrationPixel.cc,
208 mcalib/MHGausEvent.cc:
209 - corrected call to ProjectArray
210 - corrected call to CutEdges
211
212 * mfilter/MFCosmics.[h,cc]:
213 - small fixes to logging output
214 - small simplification to return statement
215 - declared CosmicsRejection const
216
217 * mhbase/MH.[h,cc]:
218 - changed argument of ProjectArray from pointer to reference
219 - added missing calcualtion of minimum
220 - removed obsolete SetEntries
221 - changed SetDirectory from NULL to gROOT
222
223
224
225 2004/02/12: Javier López
226
227 * macros/pointspreadfunction.C
228 - added new macro that fits with a 2D gaussian the DC spot for an
229 star. It gives you the RMS of the PSF and the center of the star,
230 very useful for misspointing studies.
231
232
233
234 2004/02/11: Hendrik Bartko
235
236 * manalysis/MExtractSignal2.cc:
237 - introduced a validity check for the set-function of the window
238 size (even number of slices, WindowSize < NumberSlices)
239
240 * manalysis/MArrivalTimeCalc2.[h,cc], manalysis/Makefile,
241 manalysis/AnalysisLinkDef.h:
242 - new: introduced the calculation of the arrival time as the signal
243 weighted mean of the time slices in the maximum window
244
245
246
247 2004/02/11: Markus Gaug
248
249 * mcalib/MCalibrationCalc.cc:
250 - the blind pixel signal extractor introduced one week ago, counted
251 one FADC slice too little, thus the normalization w.r.t. pedestals
252 was wrong. Now corrected.
253
254 * manalysis/MExtractSignal.cc, manalysis/MExtractSignal2.cc:
255 - when "WARNING - Lo Gain saturated" occurs, display also the
256 corr. pixel numbers.
257
258 * mbase/MArray.[h,cc]:
259 - introduced function to cut array edges with zeros.
260 (Thomas, should we keep it there or move it to another class? )
261
262 * mcalib/MCalibrationCalc.[h,cc]:
263 - new function SetBlindPixelRange to set start and end of FADC slices
264 used for the blind pixel signal extraction.
265 - remove fEvents which are not necessary any more after the shift
266 to MFCosmics.
267
268 * mcalib/MHCalibration(Blind)Pixel.[h,cc]:
269 - show the fourier spectrum now with axes in frequency [Hz] instead
270 of inverted events.
271
272 * mcalib/MHGausEvent.[h,cc], mcalib/Makefile, mcalib/CalibLinkDef.h:
273 - new base class for all kind of events with variables having a
274 Gaussian distribution. Will serve as base class for the
275 existing and new calibration histogram classes.
276
277
278
279 2004/02/11: Abelardo Moralejo
280
281 * mmain/MEventDisplay.cc
282 - Switched order of MMcPedestalCopy and MCerPhotCalc in tasklist:
283 MMcPedestalCopy must be executed earlier!
284
285
286
287 2004/02/10: Raquel de los Reyes
288
289 * mhist/MHPixVsTime.[h,cc]:
290 - Added a default draw function and replaced the TGraph object
291 by a pointer to a TGraph object.
292
293 * mreport/MReportTrigger.h:
294 - Now it dereives from a MCamEvent class and implemented the
295 GetPixContent() and DrawPixelContent() functions.
296
297 * maccros/CCDataCheck.C:
298 - An update of the previous macro. New plots: subsystems status and
299 macrocells trigger.
300
301
302
303 2004/02/10: Markus Gaug
304
305 * mcalib/MCalibrationCam.cc:
306 - fixed documentation
307
308 * mhbase/MH.[h,cc]:
309 - new function ProjectArray
310
311 * mcalib/MHCalibrationPixel.[h,cc],
312 mcalib/MHCalibrationBlindPixel.[h,cc]:
313 - use ProjectArray from MH to plot the projection of the fourier
314 spectrum
315
316 * mfilter/MFCosmics.[h,cc], mfilter/Makefile,
317 mfilter/FilterLinkDef.h:
318 - new filter removing cosmics, the same as in MCalibrationCalc
319 where it was removed now.
320 Call: MFCosmics cosmics;
321 MContinue cont(&cosmics);
322 tlist.AddToList(&cont);
323
324 * mcalib/MCalibrationCalc.[h,cc]:
325 - removed cosmics rejection from there
326
327 * macros/calibration.C, mjobs/MJCalibration.cc:
328 - changed cosmics rejection to the filter algorithm
329
330
331
332 2004/02/09: Markus Gaug
333
334 * mcalib/MCalibrationBlindPix.[h,cc]:
335 - added histogram to display the average in FADC slices of all
336 single and double phe events
337
338 * mcalib/MCalibrationCalc.cc:
339 - fill histograms of single-phe events with higain and logain
340 sampls
341
342 * mcalib/MCalibrationCam.[h,cc], mcalib/MCalibrationCalc.cc,
343 mcalib/MCalibrationConfig.h:
344 - take all pixel areas out of MGeomPix::GetA(), remove all previous
345 areas
346 - calculate photon fluxes from blind pixel and PIN diode, use
347 area only to fill the conversion factors in MCalibrationPix
348
349
350 * mcalib/MJCalibration.cc:
351 - display of number of photons for Blindpixel and PIN Diode Method
352 changed to display of photon flux which is the actually
353 calculated quantity
354
355
356
357 2004/02/09: Thomas Bretz
358
359 * mbadpixels/*:
360 - added
361
362 * Makefile:
363 - added MBadPixels
364
365 * manalysis/MGeomApply.cc:
366 - fixed class description
367
368 * mjobs/MJCalibration.[h,cc], mjobs/MJExtractSignal.[h,cc]:
369 - added bad pixel treatment
370
371 * mjobs/MJPedestal.[h,cc]:
372 - reorganized order of functions
373 - removed a nonsense scrren output (some BLABABLA or so)
374
375 * mjobs/Makefile:
376 - added include for mbadpixels
377
378 * mmain/MBrowser.cc:
379 - do not call construtor of TGTReeLBEntry if pic0=0
380
381
382
383 2004/02/09: Raquel de los Reyes
384
385 * mcamera/MCameraLids.h, mreport/MReportCamera.h
386 - Added the "Get" functions to access the private data
387 members of the class.
388
389
390
391 2004/02/09: Markus Gaug
392
393 * MMcCalibrationUpdate.cc, MCalibrate.cc, MCalibrationPix.cc,
394 MCalibrationPix.h:
395 - replace MCalibrationPix->IsChargeFitValid() by IsChargeValid()
396 because we can calibrate with the histogram mean and RMS even
397 if the fit is not OK. Thus, there is a question: IsFitted() and
398 IsChargeValid(), i.e. does the charge make any sense?
399
400 * MCalibrationCam.cc, MCalibrationConfig.h, MCalibrationCalc.cc:
401 - found serious bug in calculation of conversion factors for the
402 outer pixels:
403 GetMeanConversionBlindPixelMethod and
404 GetMeanConversionPINDiodeMethod
405 did not correct for the area of the outer pixel, this did only
406 MCalibrationCam::GetPixelContent which is not used by MCalibrate
407
408
409
410 2004/02/06: Markus Gaug
411
412 * mgeom/MGeomCam.h
413 - replaced in Comment of fPixRatio:
414 "ratio between size of pixel idx and pixel 0" by
415 "ratio between size of pixel 0 and pixel idx"
416
417 * manalysis/MPedestalCam.cc
418 - catch calls to MHPedestalPixel in case that they are not filled
419 This led previous calls to segmentation violations
420 - remove include of MHExtractedSignalPix
421
422 * manalysis/MHExtractedSignalPix.[h,cc]
423 - is everything in MHPedestalPixel, so removed it again
424
425 * mjobs/MJPedestal.cc
426 - put the projections into Display()
427 - correct the input of Display (0: pedestal, 1: pedestalerror,
428 2: pedRMS, 3: pedRMSerror)
429
430 * manalysis/MHPedestalPixel.cc
431 - increased number of bins in for charges plot
432
433 * mtools/MFFT.[h,cc]
434 - possibility to have PSD directly from TArray
435
436 * mjobs/MJCalibration.[h,cc]
437 - fixed displays
438 - replaced MExtractSignal by MExtractSignal2
439
440 * mcalib/MHCalibrationPixel.[h,cc], mcalib/MHCalibrationBlindPixel.[h,cc],
441 mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationBlindPix.[h,cc],
442 mcalib/MCalibrationPINDiode.[h,cc], mcalib/MHCalibrationPINDiode.[h,cc]:
443 - remove histograms MHChargevsN..., now keep TArrays directly
444 - check for oscillations for all pixels (and you will not trust
445 your eyes when you look at the results :-((((
446
447 * mcalib/MCalibrationCalc.[h,cc]
448 - remove ArrivalTime -> go to separate class
449 - remove BlindPixel and PIN Diode overflow, now handled directly
450 inside the corr. classes.
451 - remove SkipTimeFits -> go the arrival time class
452
453 * mcalib/MCalibrationCam.h
454 - new getters for number of photons
455 - removed timeslicewidth -> go the corr. time containers
456
457 * mcalib/MCalibrationCam.cc
458 - removed times of GetPixelContent
459 - added OscillationChecks in GetPixelContent
460
461 * manalysis/MMcCalibrationUpdate.cc
462 - remove calpix.SkipTimeFits which is now obsolet
463
464 * macros/calibration.C
465 - all previous changes now in this macro.
466 - (NB: Thomas, du brauchst in MJCalibration nicht mehr aendern,
467 das ging diesmal in einem Aufwasch)
468
469
470
471 2004/02/06: Thomas Bretz
472
473 * mhist/MHPixVsTime.[h,cc]:
474 - changed such that you can set the name of the time container now
475
476 * mraw/MRawRunHeader.[h,cc]:
477 - added GetMaxPixId()
478
479 * mraw/MRawEvtData.cc:
480 - fixed wrong size calculation for fABflags
481
482
483
484 2004/02/06: Oscar Blanch
485
486 * mmc/MFadcDefine.h && mmc/MMcFadcHeader.cxx
487 - We cahnged the name (and values) of the global variable
488 MFADC_RESPONSE_AMPLITUDE to MFADC_RESPONSE_INTEGRAL
489
490
491
492 2004/02/05: Markus Gaug
493
494 * mcalib/MHCalibrationPixel.[h,cc]
495 - put an NDF limit for the fit
496 - removed all TStrings and replace them by Form(..)
497 - Check for nan's of all returned fit values
498
499 * mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationCam.cc:
500 - reshuffled HiLoGainConversion, calculation of F-Factor method,
501 - calculation of total F-Factor of the readout.
502
503 * mcalib/MCalibrationCam.cc
504 - include relative times to display with GetPixelContent
505
506 * mcalib/MCalibrationCalc.[h,cc]
507 - flag to skip Hi-Lo Calibration
508 - Hi-LO Graph not filled any more after overflow of ChargevsN
509 - fill the blind pixel differently from the rest of pixels
510
511 * mcalib/MCalibrate.cc:
512 - call to const MCalibrationPix &pix replaced by MCalibrationPix &pix
513
514 * manalysis/MArrivalTimeCalc.cc
515 - default step width 100 ps.
516 - look for half maximum (at rising edge)
517
518 * manalysis/MExtractSignal.[h,cc]
519 - removed uncommented code (arrival time)
520 - set start byte back by one like it was before TB's changes
521 (does not affect the calculation of number of FADC slices)
522
523 * manalysis/MExtractSignal2.[h,cc]
524 - removed uncommented code (arrival time)
525
526 * manalysis/MHPedestalPixel.[h,cc]
527 - is now filled with total pedestals (not per slice), but results are
528 renormalized to values per slice (this is not to screw up with the
529 pedestal RMS and the derived uncertainties)
530 - new function Renorm(nslices)
531
532 * manalysis/MPedestalCam.[h,cc]
533 - introduced function Clone() (like proposed by TB)
534 - call to MHPedestalPixel operator() not const any more
535 - take out lots of uncommented code
536 - found bug in initialization of hists. SetupFill is called in
537 PreProcess, therefore, TObjArray is not yet enlarged there.
538 Now, InitUseHists is called in Fill
539 - MHPedestalPixel is now filled with total pedestals (not per slice),
540 but results are
541 renormalized to values per slice (this is not to screw up with the
542 pedestal RMS and the derived uncertainties)
543
544 * manalysis/MPedCalcPedRun.cc
545 - added author
546 - split calculation of RMS into two steps to make it more clear to
547 the user
548
549 * macros/calibration.C
550 - found bug introduced two days ago, namely calculating pedestlas with
551 MExtractSignal2 which is now fixed
552 - Skip HiLoConversionCalibration
553
554
555
556 2004/02/05: Abelardo Moralejo
557
558 * macros/starmc2.C
559 - added 3rd argument, "kFALSE", to call of MWriteRootFile::Add
560 for both MMcEvt and MMcRunHeader since these containers are
561 not present in real data. Name of macro is no longer adequate if
562 we will use it for calibrated real data (to be changed if so).
563
564
565
566 2004/02/05: Sebastian Raducci
567
568 * mtools/MCubicSpline.[h,cc]
569 - added
570 - this class will take the place of the TSpline class to
571 calculate arrival times
572
573 * mtools/MCubicCoeff.[h,cc]
574 - added
575 - this class is used by MCubicSpline to store coefficients
576
577 * macros/spline.C
578 - added
579 - test macro. Shows how to use the MCubicSpline class
580 - it could be used to test the methods of the Spline class
581
582
583
584 2004/02/05: Thomas Bretz
585
586 * mmain/MBrowser.cc:
587 - fixed a double deletion of a TGLayoutHints
588
589
590
591 2004/02/04: Markus Gaug
592
593 * mmain/MBrowser.cc:
594 - corrected TGTReeLBEntry for TGTreeLBEntry
595
596
597
598 2004/02/04: Thomas Bretz
599
600 * manalysis/MExtractSignal2.cc:
601 - don't allow odd numbers for the window size
602
603 * mfilter/MFilterList.cc:
604 - corrected a wrong logging message
605
606 * mmain/MBrowser.cc:
607 - added '/data/MAGIC' as shortcut in the combo box
608
609 * mraw/MRawEvtPixelIter.cc:
610 - optimized calculation of MaxIdx
611
612
613
614 2004/02/04: Abelardo Moralejo
615
616 * macros/starmc2.C
617 - removed unnecessary variables BinsHigh, BinsLow
618
619
620
621 2004/02/04: Markus Gaug
622
623 * manalysis/MPedestalCam.[h,cc], manalysis/MPedestalPix.[h,cc],
624 manalysis/MPedCalcPedRun.[h,cc], manalysis/MHPedestalPixel.[h,cc],
625 macros/calibration.C:
626 - histograms are now filled with MFillH as proposed and coded by
627 Thomas Bretz. Some modifications had to be done, however.
628 - Class to hold MHPedestalPixel is still MPedestalCam
629 - MPedCalcPedRun does nothing any more (except from what is was
630 doing before)
631
632 * manalysis/MExtractSignal.cc
633 - remove uncommented code
634
635 * mcalib/MCalibrationCalc.[h,cc]
636 - modified way to handle histogram overflow: Now flags are set and
637 ChargevsN histogram is not tried to be filled subsequently
638
639
640
641 2004/02/03: Markus Gaug
642
643 * manalysis/MHExtractedSignalPix.[h,cc]
644 - added Thomas B. modified version of MHPedestalPixel. Later will
645 remove MHPedestalPixel
646
647 * manalysis/MCalibrationPix.[h,cc], manalysis/MHCalibrationPixel.[h,cc],
648 manalysis/MCalibrationCam.cc, macros/calibration.C:
649 - now split completely absolute and relative times. Absolute
650 times are not fitted, but their histogram mean and rms are
651 returned.
652
653
654
655 2004/02/03: Thomas Bretz
656
657 * mfileio/MReadTree.cc:
658 - fixed handling of -1 entries in AddFile: root 3.10/02 crashed
659
660 * manalysis/MExtractSignal.[h,cc]:
661 - moved code to extract the signal from Process to
662 new member function FindSignal, I left the arrival time
663 extraction as commented-out code in the code just as a
664 demonstration to do this very fast.
665
666
667
668 2004/02/02: Markus Gaug
669
670 * manalysis/MPedCalcPedRun.cc
671 - corrected formulae in Class description
672
673 * mcalib/MCalibration.[h,cc], mcalib/MHCalibration.[h,cc],
674 manalysis/MMcCalibrationUpdate.cc:
675 - calculate relative times and absolute times. Fit only
676 the relative ones.
677
678
679
680 2004/02/02: Abelardo Moralejo
681
682 * manalysis/MMcCalibrationUpdate.cc, MMcPedestalCopy.cc
683 - removed file type check (MC or data) from PreProcess since now
684 run headers are not yet known at that point.
685
686 * mcalib/MMcCalibrationCalc.cc
687 - same as above.
688
689 * NEWS
690 - updated.
691
692
693
694 2004/02/02: Thomas Bretz
695
696 * manalysis/MExtractSignal2.[h,cc]:
697 - added new task which takes a given number of slices with the
698 highest integral content as signal.
699
700 * manalysis/Makefile, manalysis/AnalysisLinkDef.h:
701 - added MExtractSignal2
702
703
704
705 2004/01/30: Abelardo Moralejo
706
707 * macros/starmc.C
708 - changed default FADC integration range (more adequate for coming
709 camera version).
710
711 * macros/mccalibrate.C, starmc2.C
712 - added. First macro transforms input files from camera simulation
713 into files with pixel data already calibrated in photons. The
714 second reads in an already calibrated data file and produces an
715 output file with Hillas parameters. Both together do the same as
716 starmc.C, but it is convenient to have files containing
717 calibrated pixel information.
718
719
720
721 2004/01/30: Thomas Bretz
722
723 * mbase/MDirIter.h:
724 - added GetNumEntries
725
726 * mhist/MHEvent.cc:
727 - added a dynamic_cast from MParContainer to MCamEvent to get the
728 correct pointer to the correct base-class.
729
730 * mbase/MStatusDisplay.cc:
731 - In EventInfo check whether gPad==0
732
733 * mfileio/MReadMarsFile.cc:
734 - removed reading RunHeaders from PreProcess, this resulted
735 in strange behaviour of writing RunHeaders
736 - fixed consistency check for RunType accordingly
737
738 * mfilter/MFilterList.cc:
739 - do not skip adding filter if only a filter with the same name
740 exists
741
742 * mraw/MRawFileRead.cc:
743 - added an output message if run header is not accessible
744
745 * mraw/MRawRunHeader.[h,cc]:
746 - initialize fRunType to new enum kRTNone
747
748 * mfilter/MFGeomag.cc:
749 - set fResult to kFALSE at the beginning of Process
750 - according to this removed setting fResult=kFALSE before return
751 - replaced some float by Float_t
752 - added some const-qualifiers
753 - replaced (rig<0.5/pr*R*(r2-r1)+r1) by (rig-r1)*pr<rnd
754 with rnd = R * (r2-r1)/2 to make sure that we cannot
755 devide by 0
756
757 * manalysis/MPedCalcPedRun.cc:
758 - added some comments
759
760 * Makefile:
761 - added mjobs
762
763 * mjobs/*:
764 - added
765
766 * mbase/Makefile, mbase/BaseLinkDef.h:
767 - added MRunIter
768
769 * mbase/MRunIter.[h,cc]:
770 - added
771
772
773
774 2004/01/30: Markus Gaug
775
776 * manalysis/MPedestalCam.h
777 - added function IsUsedHists()
778
779 * manalysis/MPedestalCam.cc
780 - modified GetPixelContent
781
782 * manalysis/MPedestalCam.cc, manalysis/MPedCalcPedRun.cc:
783 - include storage of number of used FADC slices to compare later
784 the pedestal per slice ( and sigma per slice)
785 - return relative differences in GetPixelContent
786
787 * mcalib/MCalibrationCalc.[h,cc], mcalib/MHCalibrationBlindPixel.[h,cc]:
788 - fBlindPixelId and fPINDiodeId now like in PedestalCam
789 - fill Blind Pixel with information about its fitted pedestal if
790 available
791 - initialize charges histogram with a bigger range
792 - use pedestal information to constrain the pedestal fit ranges
793
794 * manalysis/MHPedestalPixel.cc
795 - initialize charges histogram with a bigger range
796
797 * macros/calibration.C
798 - SetRange of MExtractSignal to 1,14 (see emails of yesterday)
799 - apply new GetPixelContents of MPedestalCam (more calculations
800 and displays of errors, correction for different FADC slice
801 number)
802
803 * manalysis/MExtractSignal.cc
804 - not access to MArrivalTime any more. The same information is
805 stored in MRawEvt->GetPixelContent(...)
806
807 * manalysis/MCalibrationCalc.cc
808 - retrieve default arrival time from MRawEvt
809
810 * manalysis/MCalibrationBlindPix.cc, manalysis/MCalibrationPix.cc
811 - check for NaN's in fit results
812
813
814
815 2004/01/29: Abelardo Moralejo
816
817 * mfileio/MWriteFile.h
818 - added missing declaration of ReInit
819
820 * manalysis/MMcCalibrationUpdate.cc
821 - added call to MCalibrationCam::SetBlindPixelMethodValid(kTRUE)
822 to adapt to recent changes in MCalibrate.
823
824
825
826 2004/01/29: Thomas Bretz
827
828 * manalysis/MArrivalTime.h, manalysis/MCameraData.h,
829 manalysis/MCerPhotEvt.h, manalysis/MExtractSignalCam.h,
830 manalysis/MPedPhotCam.h, manalysis/MPedestalCam.h,
831 mcalib/MCalibrationCam.h, mcamera/MCameraDC.h,
832 mraw/MRawEvtData.h, mreflector/MRflEvtData.h:
833 - split derivement into MParContainer and MCamEvent
834
835 * manalysis/MExtractSignalCam.[h,cc]:
836 - removed obsolete MExtractSignal::ReInit
837 - added -> to fArray
838
839 * mbase/MParList.h:
840 - added a new bit kIsProcessing
841
842 * mbase/MTaskList.cc:
843 - fixed the handling of kDoNotReset and the bahaviour of
844 SetReadyToSave, such that it is possible to write all
845 headers
846
847 * mfileio/MWriteFile.cc:
848 - added ReInit which also calls CheckAndWrite
849
850 * mgui/MCamEvent.h:
851 - does not derive from MParContainer anymore
852
853
854
855 2004/01/29: Markus Gaug
856
857 * mcalib/MCalibrationCalc.[h,cc], mcalib/MCalibrationCam.[h,cc],
858 mcalib/MCalibrationConfig.h
859 - put gkCalibrationBlindPixelId and gkCalibrationPINDiodeId
860 directly into the corresponding classes.
861
862
863
864 2004/01/29: Nicola Galante
865
866 * mhistmc/MHMcTriggerLvl2.[h,cc]:
867 - In method MHMcTriggerLvl2::GetHistByName(const TString name)
868 added string checking to return also
869 fHistCellPseudoSize, fHistCellPseudoSizeNorm
870 and fHistCellPseudoSizeEnergy.
871 - Added inline functions GetHistCellPseudoSize() and
872 GetHistCellPseudoSizeNorm().
873
874
875
876 2004/01/28: Javier Rico
877
878 * mcalib/MCalibrate.[h.cc]
879 - include possibility to select the calibration method to be used
880
881
882
883 2004/01/28: Markus Gaug
884
885 * mcalib/MCalibrate.[h.cc]
886 - corrected Int_t ReInit() to Bool_t ReInit(MParList *pList)
887
888 * mcalib/MCalibrationCalc.[h,cc], mcalib/MCalibrationCam.[h,cc]:
889 - included flags to indicate if Blind Pixel Method or PIn Diode
890 method was OK. Up to now, program stopped, if one of the two
891 methods was chosen but not able to being executed.
892
893 * manalysis/MArrivalTimeCalc.cc, manalysis/MExtractSignals.cc,
894 manalysis/MGeomApply.cc:
895 - put all missing InitSize(npixels) into MGeomApply
896
897 * manalysis/MPedCalcPedRun.[h,cc], manalysis/MPedestalCam.[h,cc],
898 manalysis/MPedestalPix.[h,cc], manalysis/MHPedestalPixel.[h,cc],
899 manalysis/Makefile, manalysis/AnalysisLinkDef.h:
900 - include possibility to fit the pedestals with Gaussian.
901 - old methods are not affected.
902 - add new method with MPedCalcPedRun::SetUseHists()
903
904
905
906 2004/01/28: Abelardo Moralejo
907
908 * mcalib/MMcCalibration.cc
909 - fixed wrong variable type in call to TH1F constructor (number of
910 bins is now integer), which resulted in a compilation warning.
911
912
913
914 2004/01/28: Thomas Bretz
915
916 * manalysis/MPedestalCam.cc:
917 - removed unwanted CheckBound from operators. CheckBounds is ONLY
918 ment for really old MC files and will be removed in the future
919 anyhow.
920
921 * mcalib/MHCalibrationPixel.h:
922 - removed obsolete include of MFFT
923
924 * manalysis/MCerPhotAnal.cc, manalysis/MCerPhotCalc.cc,
925 manalysis/MPedestalCam.[h,cc]:
926 - removed use of obsolete MPedestalCam::CheckBounds. This was
927 a workaround for a 'bug' in very old camera files, which is not
928 necessary anymore.
929
930 * manalysis/MCerPhotAnal2.[h,cc]:
931 - replaced MPedestalCam by MPedPhotCam
932
933 * manalysis/MExtractSignal.cc:
934 - some small simplification to the signal extraction
935 - removed some obsolete variables
936 - replaced for by while
937 - removed obsolete casts
938
939 * mmain/MEventDisplay.cc:
940 - gave names to the filters
941 - removed adding MHCamera to fList because it was deleted twice
942
943 * mhist/MHCamera.cc:
944 - fixed usage of fPainter in Paint() - title was not updated
945 correctly
946
947
948
949 2004/01/28: Sebastian Raducci
950
951 * manalysis/MArrivalTime.[h,cc]:
952 - removed all the code relative to the cluster evaluation
953
954
955
956 2004/01/27: Markus Gaug
957
958 * manalysis/MPedestalPix.cc:
959 - initialize default values to 0 instead of -1.
960
961 * manalysis/MPedestalCam.[h,cc]:
962 - include CheckBounds, also in operator[]
963
964 * mcalib/MCalibrationCam.[h,cc]:
965 - apparently, there was a reference to InitSize(UInt_t i) instead
966 of InitSize(Int_t i), where compiler complained, now changed
967
968 * mcalib/MHCalibration*, mcalib/MCalibration*:
969 - fixed all Clear()'s, Reset()'s, direct intializers
970
971
972
973 2004/01/27: Thomas Bretz
974
975 * mdata/MDataChain.cc:
976 - added '%' to supported operators
977
978
979
980 2004/01/26: Nicola Galante
981
982 * manalysis/MMcTriggerLvl2.[cc,h]:
983
984 - Defined some static constants to avoid ugly "magic numbers"
985 in arrays: gsNCells, gsNTrigPixels,
986 gsNPixInCell, gsNLutInCell, gsNPixInLut, fNumPixCell.
987 - Added method
988 MMcTriggerLvl2::GetCellCompactPixel(int cell, MGeomCam *fCam)
989 which computes compact pixels into a given L2T macrocell.
990 - Added method
991 MMcTriggerLvl2::CalcBiggerCellPseudoSize()
992 which computes fCellPseudoSize, the maximum Pseudo Size into L2T
993 macrocells
994 - Added method
995 MMcTriggerLvl2::GetCellPseudoSize() const
996 which returns fCellPseudoSize
997 - Added method
998 MMcTriggerLvl2::IsPixelInCell(Int_t pixel, Int_t cell),
999 which controls whether a pixel belongs to a given L2T cell.
1000 - Added method
1001 MMcTriggerLvl2::GetMaxCell() const
1002 which returns fMaxCell, the cell with the maximum
1003 fCellPseudoSize.
1004
1005
1006
1007 2004/01/26: Markus Gaug, Michele Doro
1008
1009 * manalysis/MArrivalTime.[h,cc], manalysis/MArrivalTimeCalc.[h,cc]:
1010 - moved calculation of arrival time from MArrivalTime to
1011 MArrivalTimeCalc. MArrivalTime does not do any Process-job
1012 anymore
1013 - TSpline5 now on stack.
1014 - function to set the stepsize
1015
1016 * mcalib/MHCalibrationBlindPixel.[h,cc]:
1017 - force mu_{0} in Blind Pixel Fit to be around 0 in fKPoisson4
1018 - implement combined Polya fit and Michele's back-scattered electron
1019 fit
1020
1021 * mcalib/MHCalibrationPixel.[h,cc], mcalib/MCalibrationPix.cc,
1022 mcalib/MCalibrationPINDiode.cc:
1023 - combine FitChargeHiGain and FitChargeLoGain into one function
1024
1025 * macros/calibration.C
1026 - improve double gauss fit a bit
1027
1028
1029
1030 2004/01/26: Thomas Bretz
1031
1032 * mraw/MRawEvtPixelIter.[h,cc]:
1033 - removed member function GetNumPixels. For more details see mantis.
1034
1035 * manalysis/MArrivalTime.[h,cc]:
1036 - reorganized includes
1037 - fixed InitSize and ClearArray (now Reset) to fit MParContainer
1038 definition
1039 - for the moment removed usage of fPixelChecked - THIS WILL CRASH YOUR
1040 PROGRAM
1041
1042 * manalysis/MArrivalTimeCalc.[h,cc]:
1043 - reorganized includes
1044 - removed many obsolete code, exspecially copy&paste relicts!
1045 - fixed usage of InitSize
1046 - removed CleanArray. Reset() is called automatically before Process()
1047
1048 * manalysis/MExtractedSignalCam.[h,cc]:
1049 - added SetLogStream
1050 - removed obsolete include MGeomCam
1051 - replaced PrintOut by Print
1052 - added const-qualifiers to all Getters
1053 - fixed documentation
1054
1055 * manalysis/MExtractedSignalPix.[h,cc]:
1056 - replaced PrintOut by Print
1057 - fixed documentation
1058
1059 * manalysis/MEventRateCalc.cc, manalysis/MPedCalcPedRun.cc:
1060 - replaced memset by Reset()
1061
1062
1063
1064 2004/01/24: Abelardo Moralejo
1065
1066 * macros/starmcstereo.C
1067 - Added. Example of how to run the analysis chain for MC files
1068 containing simulation of stereo systems of 2 telescopes.
1069
1070 * mcalib/MCalibrate.cc
1071 - Added check that value of signal from MExtractedSignalPix is not
1072 the default (error) value. In such a case, the signal in
1073 MCerPhotEvt is now set to 0. Before, all pixels got very high
1074 values in MCerPhotEvt in case the MRawEvtData object for the
1075 event was missing in the file. This happened in MC files, in
1076 which in some circumstances an event is written without the
1077 pixel information (for instance, when running stereo simulations
1078 the pixel data is missing for non-triggered telescopes, but the
1079 event headers are present).
1080
1081
1082
1083 2004/01/23: Markus Gaug
1084
1085 * manalysis/MExtractSignal.[h,cc], manalysis/MExtractedSignalPix.[h,cc],
1086 manalysis/MArrivalTime.[h,cc], mcalib/MCalibrationBlindPix.h,
1087 mcalib/MHCalibrationBlindPixel.[h,cc], mcalib/MCalibrationPINDiode.h,
1088 mcalib/MHCalibrationPINDiode.[h,cc], mcalib/MCalibrationPix.[h,cc],
1089 mcalib/MHCalibrationPixel.[h,cc], mcalib/MCalibrationCalc.[h,cc]:
1090 - use MArrivalTime for Storage (or calculation) of time
1091 in MExtractSignal
1092 - pass from TH1I histos to TH1F for times
1093
1094 * mcalib/MCalibrationBlindPix.h, mcalib/MHCalibrationBlindPixel.[h,cc],
1095 mcalib/MCalibrationPix.[h,cc], mcalib/MHCalibrationPixel.[h,cc],
1096 mcalib/MCalibrationCalc.[h,cc]:
1097 - clean up setters
1098 - pass to bit-fields for all flags
1099
1100 * mcalib/MCalibrationCam.cc
1101 - exclude Blind Pixel from Camera display
1102 - do not fill &val when return kFALSE
1103
1104 * macros/calibration.C
1105 - include functions to exclude the blind pixel,
1106 calculation of times and quality checks
1107
1108
1109
1110 2004/01/23: Abelardo Moralejo
1111
1112 * mcalib/MCalibrate.cc, manalysis/MExtractSignal.cc
1113 - Added support (using AddSerialNumber) for stereo MC files.
1114
1115
1116
1117 2004/01/23: Thomas Bretz
1118
1119 * mbase/MAstro.cc:
1120 - Fixed calculation of MJD. In Ymd2Mjd a plus should be a minus.
1121
1122 * mreport/MReport*.[h,cc]:
1123 - changed all classes to return Int_t instead of Bool_t in
1124 InterpreteBody
1125 - changed MReportFileRead such, that a wrong line results in
1126 skipping the line instead of abort reading.
1127
1128 * manalysis/MExtractSignal.cc:
1129 - do not print information for each pixel - it's too much.
1130
1131 * mbase/MStatusDisplay.cc:
1132 - when reading a status display do not display tabs with
1133 the same name than one which is already existing.
1134
1135 * mcalib/MCalibrate.cc:
1136 - directly store pointer to pixel when setting saturation flag
1137
1138 * mcamera/MCameraDC.cc:
1139 - fixed some comments
1140
1141 * mhist/MHCamEvent.cc:
1142 - fixed a crash when no geometry was available
1143
1144 * mhist/MHCamera.[h,cc]:
1145 - removed obsolete member function SetPix
1146
1147 * mbase/MStatusDisplay.[h,cc]:
1148 - added EventInfo member function
1149 - implemented preliminary redirection of GetObjectInfo to
1150 StatusLine2 -> An own status line for this is missing
1151
1152 * manalysis/MExtractSignal.[h,cc]:
1153 - implemented StreamPrimitive
1154 - changed deafults to be static const data members
1155
1156 * manalysis/MGeomApply.[h,cc]:
1157 - implemented StreamPrimitive
1158
1159
1160
1161 2004/01/23: Abelardo Moralejo
1162
1163 * manalysis/MMcCalibrationUpdate.[h,cc]
1164 - Added check to guarantee that the FADC simulation parameters of
1165 all read files (those used for calibration and those analyzed)
1166 are the same.
1167 - Added missing support for analysis of stereo files.
1168
1169 * mcalib/MMcCalibrationCalc.cc
1170 - Removed obsolete FIXME comment.
1171 - Added missing support for analysis of stereo files.
1172
1173
1174 2004/01/23: Raquel de los Reyes
1175
1176 * macros/CCDataCheck.C
1177 - Added the temperature distribution of the optical links
1178 and the plots of the LV power supplies.
1179 * mcamera/MCameraLV.h
1180 - Added the "Get" functions to access the private data
1181 members of the class.
1182
1183
1184 2004/01/22: Abelardo Moralejo
1185
1186 * manalysis/MMcCalibrationUpdate.[h,cc]
1187 - Now ratio of high to low gain is taken from MCalibrationCam if
1188 it existed previously in the parameter list, instead of being
1189 read again from the MMcFadcHeader. Removed Setter function for
1190 fADC2PhInner, no longer necessary. Fixed error regarding the
1191 pedestal conversion to photons (did not read conversion factor
1192 from preexisting MCalibrationCam object).
1193
1194 * mcalib/MMcCalibrationCalc.cc
1195 - Changed parameters of the histogram, and also the quantity being
1196 histogrammed. Check that input data come from a noiseless camera
1197 file before proceeding to do the calibration. Introduced lower
1198 size in cut for calibration. Now rhe calibration constant is not
1199 calculated from the mean of photons/ADC counts, but from the peak
1200 of the histogram.
1201
1202 * macros/starmc.C
1203 - Introduced new scheme. Now there are two loops over two different
1204 sets of files. First loop calculates the calibration constants,
1205 second one does the analysis. Introduced comments. Now the
1206 histogram used in the light calibration is written to the output
1207 file.
1208
1209
1210
1211 2004/01/22: Thomas Bretz
1212
1213 * mcalib/MCalibrate.[h,cc], mcalib/MCalibrationCam.[h,cc],
1214 mcalib/MCalibrationBlindPix.[h,cc], mcalib/MCalibrationCalc.[h,cc],
1215 mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationPINDiode.[h,cc],
1216 mcalib/MCalibrationBlindPixel.[h,cc],
1217 mcalib/MHCalibrationPixel.[h,cc], mcalib/MMcCalibrationCalc.[h,cc],
1218 mcalib/MHCalibrationBlindPixel.[h,cc],
1219 mcalib/MHCalibrationPINDiode.[h,cc]:
1220 - cleaned up includes
1221
1222
1223
1224 2004/01/22: Raquel de los Reyes
1225
1226 * macros/CCDataCheck.C
1227 - macro to check the data from the central control (.rep files).
1228
1229
1230
1231 2004/01/22: Markus Gaug
1232
1233 * macros/calibration.C
1234 - made MStatusDisplay 3 bit smaller
1235
1236 * manalysis/MExtractSignal.cc
1237 - put fSignals->SetUsedFADCSlices into PreProcess
1238
1239 * manalysis/MPedCalcPedRun.cc
1240 - calculate PedRMS as RMS of the sums, later renormalized to units
1241 of RMS/slice (eliminate the wrong effect of odd and even slices)
1242
1243 * mcalib/MCalibrationCalc.cc
1244 - if bit SkipBlindPixelFit is set, now number of photons outside
1245 plexiglass is not intended to be calculated any more (previous
1246 bug)
1247 - exclude excluded pixels in eventloop
1248
1249 * mcalib/MHCalibrationBlindPixel.[h,cc]
1250 - move functions to pointer again (otherwise, Clone will give
1251 strange results)
1252
1253
1254
1255 2004/01/21: Abelardo Moralejo
1256
1257 * mcalib/MMcCalibrationCalc.[h,cc]
1258 - Added. First version of the task intended to calculate the
1259 conversion factors from ADC counts to photons in the MC. It has
1260 a different aim than the recently renamed class
1261 "MMcCalibrationUpdate" (which takes care that the correct
1262 pedestals and conversion factors are supplied to each event, but
1263 does not really calculate anything).
1264
1265 * mcalib/Makefile, CalibLinkDef.h
1266 - Added new class MMcCalibrationCalc
1267
1268 * manalysis/MMcCalibrationUpdate.[h,cc]
1269 - Now the container MCalibrationCam is not created or modified if
1270 it is found that one such container already exists in the
1271 Parameter list (from a previous calibration).
1272
1273
1274
1275 2004/01/21: Thomas Bretz
1276
1277 * mraw/MRawRead.cc:
1278 - restore the fake time for all runs (current time stamp in
1279 the data seems to be toally nonsense)
1280
1281 * mraw/MRawEvtHeader.cc:
1282 - removed decoding of real time (current time stamp in the data
1283 seems to be toally nonsense)
1284
1285
1286
1287 2004/01/21: Abelardo Moralejo
1288
1289 * mmc/MMcEvt.hxx
1290 - Uncommented 6 Getter functions (those regarding the number of
1291 photons surviving the different stages of simulation).
1292
1293 * manalysis/MMcCalibrationUpdate.[h,cc]
1294 - Added (see below).
1295
1296 * manalysis/MMcCalibrationCalc.[h,cc]
1297 - Removed: changed name of this class to MMcCalibrationUpdate,
1298 which is more representative of what it really does. Moved
1299 the filling of the MCalibrationCam container from Process to
1300 ReInit, since it does not change on an event by event basis.
1301 Simplified PreProcess (MCalibrationCam was searched for twice).
1302 Updated class description and comments.
1303
1304 * manalysis/Makefile, AnalysisLinkDef.h
1305 - Adapted to change above
1306
1307 * macros/starmc.C
1308 - Adapted to change above. Changed also task instance name from
1309 mccalibcalc to mccalibupdate.
1310
1311
1312
1313 2004/01/21: Raquel de los Reyes
1314
1315 * mreport/MReportCC.h, mreport/MReportTrigger.h, mcamera/MCameraHV.h
1316 and mcamera/MCameraCalibration.h
1317 - Added the "Get" functions (e.g GetStatus() for fStatus) to access
1318 the private data members of the class.
1319
1320
1321
1322 2004/01/20: Thomas Hengstebeck
1323
1324 * mranforest/MRanForestCalc.[h,cc]
1325 - Added member functions Grow (training of RF) and Fill (reading in
1326 trained forest from file) which simplify macros.
1327 One just needs to call them instead of using MRanForestGrow and
1328 MRanForestFill (and the related training and fill loops) in a
1329 macro.
1330
1331
1332
1333 2004/01/20: Abelardo moralejo
1334
1335 * manalysis/MMcCalibrationCalc.cc
1336 - removed call to MCalibrationPix::SetPedestal, which was not
1337 needed.
1338
1339
1340
1341 2004/01/20: Thomas Bretz
1342
1343 * Makefile:
1344 - replaced 'make' by '$(MAKE)'
1345
1346 * Makefile.rules:
1347 - added Makefile itself to dependencies
1348
1349 * mbase/MTask.cc:
1350 - added comment about ReInit
1351
1352 * mhbase/MH.cc:
1353 - do not clear pad in DrawClone if 'same' option given
1354
1355 * mhist/MHVsTime.cc:
1356 - evaluate 'same' option
1357
1358 * mfileio/MReadCurrents.[h,cc]:
1359 - obsolete, removed
1360
1361 * manalysis/MCerPhotEvt.cc, manalysis/MCerPhotPix.cc:
1362 - added some comments
1363
1364
1365
1366 2004/01/20: Abelardo moralejo
1367
1368 * mcalib/MHCalibrationPINDiode.cc
1369 - Added call to SetDirecory(0) for histograms fHErrCharge,
1370 fHPCharge, fHPTime.
1371
1372 * manalysis/MCerPhotPix.h:
1373 - Changed position of declaration of fIsSaturated to be the last
1374 private variable. Otherwise, since in the constructor it is
1375 initialized in the last place, a warning is displayed upon
1376 compilation in some systems.
1377
1378
1379
1380 2004/01/20: Markus Gaug
1381 * mcalib/Makefile, manalysis/Makefile:
1382 - include directory ../mtools
1383
1384 * mtools/MFFT.[h,cc]
1385 - class inherits from TObject now
1386
1387
1388
1389 2004/01/19: Markus Gaug
1390
1391 * mcalib/MHCalibrationBlindPixel.[h,cc]
1392 - fixed a bug in fFitLegend due to which program crashed by calls
1393 to DrawClone
1394 - Modified way to change the fit function
1395
1396 * mcalib/MHCalibrationPixel.[h,cc]
1397 - reordered function calls
1398 - removed SetupFill
1399
1400 * mcalib/MHCalibrationPINDiode.h
1401 - reordered function calls
1402
1403 * mcalib/MCalibrationPix.[h,cc]
1404 - limits to define fFitValid now as variables in class
1405
1406 * mcalib/MCalibrationCam.[h,cc]
1407 - reordered function calls
1408 - incorporate option to exclude pixels
1409
1410 * mcalib/MCalibrationBlindPix.h
1411 - Modified way to change the fit function
1412
1413 * mcalib/MCalibrationCalc.[h,cc]
1414 - Modified way to change the fit function
1415 - incorporate option to exclude pixels from configuration file
1416
1417 * macros/calibration.C
1418 - Modified way to change the fit function
1419 - incorporate option to exclude pixels from configuration file
1420
1421
1422
1423 2004/01/19: Javier Rico
1424
1425 * manalysis/MPedCalcPedRun.cc, manalysis/MPedPhotCalc.cc
1426 - Added documentation of member functions
1427
1428
1429
1430 2004/01/19: Abelardo Moralejo
1431
1432 * manalysis/MCerPhotPix.[h,cc]
1433 - Added fIsSaturated to flag whether low gain of the pixel is
1434 saturated. Added corresponding getter and setter functions.
1435 Updated ClassDef to version 2.
1436
1437 * mcalib/MCalibrate.cc
1438 - Set the new saturation flag of MCerPhotPix to kTRUE if at least
1439 one low gain FADC slice is saturated.
1440
1441 * mimage/MNewImagePar.[h,cc]
1442 - Added new member variable fNumSaturatedPixels to count how many
1443 pixels were saturated. Updated ClassDef to version 2.
1444
1445
1446
1447 2004/01/19: Thomas Bretz
1448
1449 * manalysis/MPedPhotCalc.[cc,h]:
1450 - fixed order of includes
1451 - removed obsolete forward declarations
1452 - removed obsolete data member fNumPixels (stored already twice in
1453 the two TArrayF)
1454 - fixed some small bugs in the documentation
1455
1456 * manalysis/MPedCalcPedRun.cc:
1457 - updated my eMail address
1458
1459
1460
1461 2004/01/19: Javier Rico
1462
1463 * macros/dohtml.C, NEWS
1464 - include some missing info
1465
1466
1467
1468 2004/01/19: Abelardo Moralejo
1469
1470 * manalysis/MExtractedSignalPix.h
1471 - added GetNumLoGainSaturated()
1472
1473
1474
1475 2004/01/19: Markus Gaug
1476
1477 * macros/dohtml.C
1478 - include calibration.C
1479
1480 * manalysis/MExtractSignal.cc
1481 - warning of logain saturation now only once per event (out of loop)
1482
1483 * mcalib/MCalibrationCalc.cc, mcalib/MCalibrationPix.[h,cc]
1484 - new Flag fExcluded to indicate if pixel has been excluded from
1485 further analysis
1486
1487
1488
1489 2004/01/16: Javier Rico & Pepe Flix
1490
1491 * manalysis/MPedPhotCalc.[cc,h]
1492 - added
1493 - new class for the evaluation of pedestals in units of photons
1494 using the extracted signal from pedestal runs and calibration
1495 constants defined in MCalibrate
1496
1497 * manalysis/AnalysisLinkDef.h, manalysis/Makefile
1498 - added entries for MPedPhotCalc
1499
1500 * macros/pedphotcalc.C
1501 - added
1502 - example on how to use MPedPhotCalc task
1503
1504
1505
1506 2004/01/16: Markus Gaug
1507
1508 * mcalib/MCalibrationFits.h
1509 - removed and incorporated in MHCalibrationBlindPixel.h
1510
1511 * mcalib/MHCalibrationBlindPixel.[h,cc], mcalib/MHCalibrationConfig.h,
1512 mcalib/MCalibrationBlindPix.h:
1513 - incorporate Fit functions
1514 - fixed a bug due to which DrawClone crashed when class was used
1515 in a compiled macro
1516
1517 * mcalib/MCalibrationCalc.cc, mcalib/MCalibrationPix.cc,
1518 mcalib/MCalibrationBlindPix.cc, mcalib/MCalibrationPINDiode.cc,
1519 mcalib/MCalibrationCam.cc, mcalib/MHCalibrationBlindPixel.cc,
1520 mcalib/MHCalibrationPixel.cc:
1521 - fixed the warns and errs in fLog's
1522
1523
1524
1525 2004/01/16: Abelardo Moralejo
1526
1527 * manalysis/MMcCalibrationCalc.cc
1528 - TMath::Max() is no longer used because it did not compile in some
1529 systems for unkown reasons. I replaced it by a safer (and may be
1530 slower) code.
1531 - Added calpix.SetFitValid();
1532
1533 * mhist/MHEvent.cc
1534 - In MHEvent::Fill, fixed: second parameter of SetCamContent must
1535 be 1 in case of RMS:
1536 case kEvtPedestalRMS:
1537 fHist->SetCamContent(*(MCamEvent*)par, 1);
1538
1539
1540
1541 2004/01/15: Abelardo Moralejo
1542
1543 * macros/starmc.C
1544 - Added. Version of star showing new chain to get Hillas
1545 parameters (with Size calibrated in photons) from MC files.
1546
1547
1548
1549 2004/01/15: Javier Rico
1550
1551 * manalysis/MPedCalcPedRun.[h,cc]
1552 - optimize the running time
1553 - add (some) documentation
1554 - correct treatment for the case of several input files
1555
1556 * macros/pedvsevent.C
1557 - added
1558 - draw pedestal mean and rms vs event# for input pixel# and run
1559 file, and compares them to the global pedestal mean and rms
1560
1561
1562
1563 2004/01/15: Raquel de los Reyes
1564
1565 * mhist/MHCamEvent.cc, mhist/MHCamera.cc
1566 - changed the MHCamEvent::SetupFill and MHCamera::GetBinError
1567 functions to compute the estimation of the error of the
1568 mean. It can be done calling to the function
1569 MCamEvent::SetBit(MHCamera::kVariance) in the macro
1570
1571
1572
1573 2004/01/15: Markus Gaug
1574
1575 * mhist/MHCamera.[h,cc]
1576 - incorporate Thomas's changes
1577 - replace void CreateProjection() by TH1D *Projection(const char*)
1578
1579 * macros/calibration.C
1580 - replace MHCamera->Draw("proj") by MHCamera->Projection()
1581 - produce better fits to the projection
1582
1583 * manalysis/MSimulatedAnnealing.[h,cc],
1584 mhist/MHSimulatedAnnealing.[h,cc]:
1585 - moved to directory mtools
1586 - MSimulatedAnnealing now inherits from TObject
1587
1588 * manalysis/Makefile, manalysis/AnalysisLinkDef.h,
1589 mhist/Makefile, mhist/HistLinkDef.h:
1590 - removed MSimulatedAnnealing
1591 - removed MHSimulatedAnnealing
1592
1593 * mtools/Makefile, mtools/AnalysisLinkDef.h:
1594 - added MSimulatedAnnealing
1595 - added MHSimulatedAnnealing
1596
1597
1598
1599 2004/01/15: Thomas Bretz
1600
1601 * manalysis/AnalysisLinkDef.h:
1602 - removed MCurrents
1603
1604 * mhist/MHCamera.[h,cc]:
1605 - added member function Projection
1606 - removed fYproj
1607
1608 * mreport/MReport*.*:
1609 - added more comments
1610
1611
1612
1613 2004/01/14: Markus Gaug
1614
1615 * mtools/MFFT.[h,cc]
1616 - new class to perform Fast Fourier Transforms
1617
1618 * mtools/Makefile
1619 * mtools/ToolsLinkDef.h
1620 - include MFFT
1621
1622 * manalysis/MExtractedSignalCam.h
1623 - removed variables fNumHiGainSamples and fNumLoGainSamples
1624 - function SetNumUsedFADCSlices replaced by SetUsedFADCSlices
1625
1626 * manalysis/MExtractSignal.cc
1627 - updated call to SetUsedFADCSlices
1628
1629
1630
1631 2004/01/14: Abelardo Moralejo
1632
1633 * manalysis/MMcCalibrationCalc.cc:
1634 - set pedestal rms per FADC slice to 0.01 counts in case it is 0.
1635 This can happen (depending on camera simulation parameters), and
1636 rms = 0 later resulted in the pixel being eliminated in the
1637 image cleaning.
1638
1639
1640
1641 2004/01/14: Thomas Bretz
1642
1643 * Makefile:
1644 - replaced old style Makefile.depend by directory specific
1645 dependancy files
1646
1647 * Makefile.rules:
1648 - changed obsolete '.cc.o' style to newer style '%.o: %.c'
1649 - added rule to make dependency files
1650 - added rule to remove dependancy files.
1651 - added rmdep as prerequisite to clean
1652 - include dependency file
1653
1654 * mbase/Makefile, mcalib/Makefile, mcamera/Makefile,
1655 mdata/Makefile, mfileio/Makefile, mfilter/Makefile,
1656 mgeom/Makefile, mgui/Makefile, mhbase/Makefile,
1657 mhist/Makefile, mhistmc/Makefile, mimage/Makefile,
1658 mmain/Makefile, mmc/Makefile, mmontecarlo/Makefile,
1659 mpointing/Makefile, mranforest/Makefile, mraw/Makefile,
1660 mreflector/Makefile, mreport/Makefile, mtemp/Makefile,
1661 mtools/Makefile:
1662 - removed clean-rule, use the one in Makefile.rules instead
1663
1664 * mreport/Makefile, mreport/ReportLinkDef.h:
1665 - added MReportHelp
1666
1667 * mreport/MReportFileRead.cc:
1668 - moved code from MReportHelp to new file
1669 - removed usage of MReport class completely
1670
1671 * mfilter/MFGeomag.[h,cc]:
1672 - fixed a bug which causes MFGeomag to fail if MARSSYS is not set
1673 - changed the second loop from 0->1151 to 1152->2304
1674 - removed dummy arrays used for reading
1675 - output filename in case of 'file not found'
1676 - removed obsolete data members
1677 - removed obsolete Init function
1678 - removed forbidden underscore from member variable
1679 - changed wrong 0/1 in allocation of fResult into kFALSE/TRUE
1680
1681 * mbase/MStatusDisplay.[h,cc]:
1682 - added new member function Open
1683 - added new menu entry kFileOpen
1684 - changed UpdatePSheader algorithm (the old one was much too slow)
1685
1686 * manalysis/MCurrents.[h,cc]:
1687 - removed (old outdated)
1688
1689 * manalysis/Makefile, manalysis/AnalysisLinkDef.h:
1690 - removed MCurrents
1691
1692
1693
1694 2004/01/14: Wolfgang Wittek
1695
1696 * macros/ONOFFAnalysis.C:
1697 - current version
1698
1699 * mhist/MHSigmaTheta.[h,cc]:
1700 - replace MPedestalCam by MPedPhotCam
1701
1702 * manalysis/MPad.[h,cc], manalysus/MSigmabar.[h,cc],
1703 manalysus/MSigmabarCalc.[h,cc], manalysus/MCT1PadONOFF.[h,cc],
1704 manalysus/MCT1PadSchweizer.[h,cc], manalysus/MPadding.[h,cc]:
1705 - replace MPedestalCam by MPedPhotCam
1706
1707 * manalysis/MPedPhotPix.[h,cc]
1708 - uncomment SetRms()
1709
1710
1711
1712 2004/01/13: Markus Gaug
1713
1714 * manalysis/MExtractSignal.h
1715 - seems that the reduced light intensity of the CT1 Pulser
1716 results in broader pulses -> Set Default time slices to [3,10]
1717
1718 * mhist/MHCamera.cc
1719 - make Stat Window in option 'proj' bigger
1720 - add comment line at beginning of Draw()
1721
1722 * mcalib/MHCalibrationBlindPixel.[h.cc]
1723 - add Function DrawClone()
1724 - fix bug in calculation of integral (GetIntegral("width"))
1725 - restrict parameters tighter
1726 - declare fit as not valid, if less than 100 events
1727 in single photo-electron peak
1728
1729 * mcalib/MCalibrationFits.h, mcalib/MHCalibrationBlindPixel.[h.cc]
1730 - fit now with fixed normalization
1731
1732 * mcalib/MHCalibrationPixel.[h.cc]
1733 - new function IsEmpty()
1734 - Time fit accepted if ChiSquare less than 30. (instead of 20.)
1735
1736 * mcalib/MCalibrationPix.[h.cc]
1737 - F-Factor corrected and added error
1738 - Histograms not fitted if they are empty
1739 - rejection criteria of fitted charges now > 5 PedRMS (instead 3)
1740
1741 * mcalib/MCalibrationCam.cc
1742 - Square Root of Reduced Sigmas not taken, if they are < 0.
1743 - Reduced Sigma / Charge squared replaced by reduced sigma / charge
1744
1745 * mcalib/MCalibrationCalc.cc
1746 - Blind Pixel is not additionally treated as normal pixel any more
1747 - Blind Pixel Draw replaced by DrawClone
1748
1749 * macros/calibration.C
1750 - took out some unused code
1751 - some default axis labelling corrected
1752
1753
1754
1755 2004/01/13: Abelardo Moralejo
1756
1757 * manalysis/MMcPedestalCopy.cc
1758 - added check of whether input file is a MC file before executing
1759 the PreProcess.
1760
1761
1762
1763 2004/01/13: Wolfgang Wittek
1764
1765 * macros/ONOFFAnalysis.C, macros/ONAnalysis.C:
1766 - change macro to handle also MC events with finite sigmabar
1767
1768 * manalysis/MPadOn.[h,cc]:
1769 - deleted, is replaced by MPad
1770
1771 * manalysis/MPadOnOFF.[h,cc]:
1772 - deleted, is replaced by MPad
1773
1774 * manalysis/MPad.[h,cc]:
1775 - new class, replacing MPadON and MPadONOFF
1776 - handle also MC events with finite sigmabar
1777
1778 * manalysis/Makefile, manalysis/AnalysisLinkDef.h:
1779 - replace MPadON and MPadONOFF by MPad
1780
1781
1782
1783 2004/01/13: Thomas Bretz
1784
1785 * mraw/MRawRunHeader.[h,cc]:
1786 - implemented new member function GetRunTypeStr
1787
1788 * Changelog.03:
1789 - added (contains entries of 2003)
1790
1791 * Changelog:
1792 - removed entries of 2003
1793
1794 * mfilter/MFGeomag.cc:
1795 - simplified open/close of input files
1796
1797 * manalysis/MEventRate.[h,cc], manalysis/MEventRateCalc.cc:
1798 - added some comments
1799 - added new member function GetError
1800
1801 * Makefile:
1802 - updated 'make dox' output for convinience
1803
1804 * macros/dohtml.C:
1805 - do not print Info's
1806 - added mcamera
1807 - added mpointing
1808 - added mreport
1809
1810 * mreport/MReportCurrents.cc, mreport/MReportDAQ.cc:
1811 - removed some obsolete comments (these comments confused THtml)
1812
1813 * manalysis/MCameraData.[h,cc], mfileio/MCT1ReadAscii.[h,cc],
1814 mfileio/MCT1ReadPreProc.[h,cc], mfilter/MFCT1SelBasic.cc,
1815 mfilter/MFSelBasic.cc, mhist/MHCamera.cc, mhist/MHEvent.[h,cc],
1816 mimage/MImgCleanStd.[h,cc], mimage/MImgCleanTGB.[h,cc],
1817 mmain/MAnalysis.cc, mmain/MEventDisplay.cc:
1818 - replaced MPedestalCam by MPedPhotCam
1819 - removed some obsolete includes
1820
1821 * mbase/BaseLinkDef.h, mbase/Makefile:
1822 - added MLogPlugin
1823 - added MLogHtml
1824
1825 * mbase/MLog.[h,cc]:
1826 - added use of plugins
1827
1828 * mbase/MLogPlugin.[h,cc], mbase/MLogHtml.[h,cc]:
1829 - added
1830
1831 * mbase/MStatusDisplay.[h,cc]:
1832 - added a Save-As dialog
1833
1834
1835
1836 2004/01/12: Thomas Bretz
1837
1838 * macros/rootlogon.C:
1839 - added mcamera to include path
1840 - added mpointing to include path
1841 - added mreport to include path
1842
1843 * mbase/MLog.cc:
1844 - updated my eMail address
1845
1846 * mbase/MParContainer.h:
1847 - added Read member function
1848
1849 * mbase/MStatusDisplay.[h,cc]:
1850 - changed size of ps-paper
1851 - added a user defined bottom line to the ps-files
1852 - added name (currently unused)
1853 - added title (used as possible bottom line in ps-file)
1854
1855 * mraw/MRawRunHeader.cc:
1856 - added some comments
1857
1858 * status.cc:
1859 - set name of input as bottom line of status display
1860
1861
1862
1863 2004/01/12: Abelardo Moralejo
1864
1865 * mimage/MStereoPar.cc
1866 - fixed mistake: now fSourceY = scale1*hillas1.GetMeanY() + ...
1867 instead of fSourceY = scale2*hillas1.GetMeanY() + ...
1868 Bug had no effect unless scale1 != scale2 (-> telescopes of
1869 different size).
1870
1871
1872
1873 2004/01/12: Markus Gaug
1874
1875 * manalysis/MExtractSignal.[h,cc]
1876 - take out some uncommented code
1877 - replace logainshift by two independent variables:
1878 logainfirst, logainlast
1879 - because in most data, maximum occurs in slice 4, shift default
1880 from slices 4-9 to slices 3-8.
1881
1882 * manalysis/MExtractedSignalPix.[h,cc]
1883 - took out some uncommented code
1884 - new initializers: instead of -1. now 99999.9
1885
1886
1887
1888 2004/01/09: Markus Gaug
1889
1890 * mcalib/MCalibrationCam.[h,cc]
1891 - take out 1-dim histos because we can use
1892 the projections in MHCamera (s.b.)
1893
1894 * mcalib/MHCalibrationBlindPixel.h
1895 - make the fit by default quiet
1896
1897 * mcalib/MHCalibrationPixel.[h,cc]
1898 * mcalib/MCalibrationPix.[h,cc]
1899 - Ranges of time slices stored independently for HiGain and LoGain
1900 in order to allow consecutive checks
1901
1902 * mhist/MHCamera.[h.cc]
1903 - add the possibility to call a Draw("proj") which will
1904 draw a Y-Projection of the histogram
1905
1906 * macros/calibration.C
1907 - apply the drawing of the projections and fit them
1908
1909 * mcalib/MCalibrationCalc.cc
1910 - catch the possibility of a calibration file,
1911 unintendedly being a pedestal or cosmic file.
1912 Program now exits with an error before doing the fits
1913
1914 * mcalib/MCalibrationPix.[h,cc]
1915 - fixed a bug in calculation of fFitValid.
1916 before, a call to IsFitValid() always returned false
1917
1918
1919
1920 2004/01/09: Javier L¢pez
1921
1922 * macros/bootcampstandardanalysis.C
1923 - added new macro that holds the main scheleton discussed in the
1924 december bootcamp in Wuerzburg. It runs first over a pedestal
1925 run, then over a calibration run, again over the pedestal run
1926 to compute de pedestal in number of photons and finally over a
1927 data run to calibrate the data.
1928
1929
1930
1931 2004/01/06: Sebastian Raducci
1932
1933 * manalysis/MArrivalTime.[h,cc]
1934 - added new method to calculate photon arrival times. It uses the
1935 TSpline5 Root Class to interpolate the Fadc Slices. The time is
1936 the abscissa value of the absolute maximum of the interpolation
1937 - added new method to find clusters with similar arrival times.
1938 For now it's a preliminary version. It simply search for adiacent
1939 pixels having the same arrival time (color).
1940
1941 * manalysis/MArrivalTimeCalc.[h,cc]
1942 - modified the Process() method according to the changes in the
1943 Arrival Time Cointainer
1944
1945 * mmain/MEventDisplay.cc
1946 - added new tab in the camera event display to show the arrival
1947 time. This arrival time is calculated with the spline method
1948 - the old Arrival Time pad now it's called Max Slice Idx, because
1949 it's only the index of the slice with the max content.
1950
1951 * mhist/MHEvent.[h,cc]
1952 - added new fType in te enumeration to handle the arrival time
1953 histos
Note: See TracBrowser for help on using the repository browser.