Please do not write behind the end of line tag so that it is possible to send a Changelog file to a line printer directly. Thanks. For your entries please follow EXACTLY this style: _yyyy/mm/dd:_[Your Name] _ ___*_filename: _____-_description _ ___*_filename2, filename3: _____-_description _ _ _ While an underscore is a placeholder for a white-space or an empty line. -*-*- END OF LINE -*-*- 2004/04/23: Markus Gaug * mcalib/MHCalibrationCam.cc - fixed a bug in the ReInit() for the number of average events in each area index and sector 2004/04/23: Thomas Bretz * */Makefile: - added some more mpedestal * mreport/MReportRun.cc: - changed to work with the latest version of report-files --> This will make it incompatible with older report files (for this use older Mars versions for merpping) * mbase/MStatusDisplay.[h,cc]: - added combo-box to surf through tabs in MARS-tab 2004/04/22: Nadia Tonello * mcalib/MCalibrateData.cc - changed request for MBadPixelsPix::IsCalibrationResultOK() for MBadPixelsPix::IsUnsuitable(MBadPixelsPix::kUnsuitableRun) 2004/04/22: Thomas Bretz * mhist/MHCamera.[h,cc]: - implemented SetUsed * merpp.cc: - added "-ff" and interleave mode - both not execcively tested yet * mhbase/MFillH.cc: - added a missing 'endl' * mraw/MRawCrateData.[h,cc], mraw/MRawEvtData.[h,cc], mraw/MRawEvtHeader.[h,cc] - added SkipEvt (the number of skipped bytes is untested) * mraw/MRawEvtHeader.[h,cc] - return kCONTINUE if time is invalid * mraw/MRawFileRead.[h,cc]: - implemented AddFile feature - first draft! - added feature to skip events * mraw/MRawFileWrite.h: - changed default compression level corresponding to merpp to 2 * mraw/MRawRead.[h,cc]: - added fForceMode flag to be able to suppress event errors * mbadpixels/MBadPixelsTreat.[h,cc]: - changes such that the pedestal interpolation is now done only in ReInit. If you need the old behaviour call SetProcessRMS() Another step towards less mess: * MMcPedestalCopy.[h,cc], MMcPedestalNSBAdd.[h,cc], MPedPhotCalc.[h,cc], MPedPhotCam.[h,cc], MPedPhotPix.[h,cc], MPedCalcPedRun.[h,cc], MPedestalCam.[h,cc], MPedestalPix.[h,cc]: - moved from manalysis to mpedestal * mpedestal/Makefile, mpedestal/PedestalLinkDef.h, mpedestal/PedestalIncl.h: - added * manalysis/Makefile, manalysis/AnalysisLinkDef.h, manalysis/AnalysisIncl.h: - removed files above * mbadpixels/Makefile: - added mpedestals * Makefile: - added mpedestals 2004/04/22: Antonio Stamerra * mmain/MEventDisplay.cc - Added new tab "Trigger" adding a new MHEvent (evt9), filled through the MMcTriggerLvl2 container. A new MFillH task for evt9 and MMcTriggerLvl2Calc task have been added. * mhist/MHEvent.[h,cc] - Added new event type kEvtTrigPix * manalysis/MMcTriggerLvl2.[h,cc] - The class now inherits from MCamEvent - Added the methods GetPixelContent and DrawPixelContent (from MCamEvent) - Added the method IsPixelInTrigger that returns kTRUE if a pixels is in the trigger region * manalysis/MMcTriggerLvl2Calc.[h,cc] - Added the methods CheckRunType and ReInit to check if the file is MC. * mhistmc/Makefile - Added the include for mgui 2004/04/22: Markus Gaug * mcalib/MCalibrate.[h,cc] - introduced flat-fielding of charges for the muon calibration, accessible with SetCalibrationMode(kFlatCharge) * manalysis/MPedCalcPedRun.cc - added a SetReadyToSave() at the end of PostProcess * mjobs/Makefile - added include of mraw * mjobs/MJCalibration.cc - added MRawFileRead for option SetDataCheck() * mjobs/MJPedestal.cc - added MRawFileRead for option SetDataCheck() 2004/04/21: Thomas Bretz * mbase/MTask.cc, mbase/MTaskList.cc: - let MTask in list fTaskProcess to be used as a counter * mdata/MDataChain.[h,cc]: - added some treatments for combinations of +/- signs * mfbase/MFilterList.[h,cc]: - added a new constructor to simplyfy filter-inversions * mfileio/MReadReports.cc: - added comment * mhbase/MBinning.[h,cc]: - added new constructor to simplify calls in macros * mhbase/MFillH.[h,cc]: - added fDrawOption to be used in MStatusDisplay * mhist/MHFalseSource.cc: - added comment 2004/04/20: Thomas Bretz * macros/derotatedc.C - added tutorial macro plotting derotated dc currents * mhist/MHCamEventRot.[h,cc]: - added histogram to be filled with derotated MCamEvents 2004/04/18: Abelardo Moralejo * mgeom/MGeomCam.h - Update class version to 4 (necessary after M. Gaug's change of the type of member fMaxRadius. 2004/04/16: Abelardo Moralejo * mcalib/MCalibrationQEPix.[h,cc] - Added fAverageQE. Same role as gkDefaultAverageQE, but can be changed via SetAverageQE. Made public GetAverageQE and GetAverageQERelVar (this changes needed for MC). * mcalib/MMcCalibrationCalc.[h,cc] * manalysis/MMcCalibrationUpdate.[h,cc] - Adapted to M. Gaug's changes in calibration classes. Behaviour has been tested to be the same as before those changes. Now the conversion factor from ADC counts to photoelectrons, and the average QE (photons->photoelectrons) are calculated independently (and later combined by MCalibrate to obtain the conversion ADC->photons). * mmain/MEventDisplay.cc, macros/mccalibrate.C, starmc.C - Added call to MExtractSignal::SetSaturationLimit(240) Affects only MC display. This was necessary because if electronic noise is simulated in the FADC, sometimes saturated slices look not saturated due to negative fluctuations, so it is better to set the saturation limit at a safe value (240 ADC counts). Changed signal integration range (only for MC), now from slices 5 to 10. * msignal/MExtractSignal3.[h,cc] - Changed name of function SetRange for the more adecquate "SetWindows". No change in behaviour of the function. 2004/04/16: Markus Gaug * msignal/MExtractSignal.cc - commited proposed larger default window from fgLast = 10 to fgLast = 14, because in March the pulses have moved to later arrival times. - removed some inconsistency with slice numbering in FindSignal() from pixel.GetHiGainSamples()+fHiGainFirst-1 to pixel.GetHiGainSamples()+fHiGainFirst and also for the low gain * msignal/MExtractSignal2.cc - committed the proposed smaller window egdes from fgFirst=0 to fgFirst = 3, because in March some of the high-gain pulses reach into the "low-gain samples" and mislead thus sliding window to be maximized on the tail of the high-gain pulse. * mcalib/MHPedestalPix.cc - fixed a bug which made normalization to values per slice not happen * macros/pedestalstudies.C - fixed and documented 2004/04/15: Markus Gaug * macros/calibration.C - added a function FindColor() to extract the colour by filename, works if there is indeed a colour or if the run nubmer is smaller than 20000 -> take ct1 * macros/bootcampstandardanalysis.C * macros/pedphotcalc.C * macros/calibrate_data.C - updated the macro to the cvs-standard used at the Udine bootcamp * mcalib/MCalibrateRelTimes.[h,cc] * mcalib/Makefile * mcalib/CalibLinkDef.h - new class to calibrate the relative times * manalysis/MGeomApply.cc - added MArrivalTime::Init() * msignal/MArrivalTime.[h,cc] - added array fDataErr * macros/rootlogon.C - added directories mbadpixels and mjobs * mcalib/MCalibrationQEPix.cc - set the fAvNorm variables to 1 in Clean() * manalysis/MPedPhotCalc.[h,cc] - included possibility to use an MBadPixelsCam 2004/04/14: Thomas Bretz * manalysis/MCerPhotEvt.[h,cc]: - fixed a bug which caused a missing last pixel (in most cases Index 576) * manalysis/MCerPhotPix.cc: - fixed output in Print * macros/mccalibrate.C, mmain/MEventDisplay.cc: - added missing SetCalibrationMethod * mbadpixels/MBadPixelsCam.[h,cc]: - added copy constructor * mbadpixels/MBadPixelsMerge.cc: - added comments * mraw/MRawRunHeader.[h,cc]: - added new run-type (kRTPointRun=7) * mmain/MEventDisplay.cc: - fixed the broken cleaning levels 2004/04/14: Markus Gaug * mcalib/MCalibrationQEPix.cc - found a bug in the calculation of the error, fixed * macros/mccalibrate.C, mmain/MEventDisplay.cc: - replaced SetCalibrationMethod by SetCalibrationMode * htmldoc/images/CalibClasses.gif * htmldoc/images/RelTimeClasses.gif - two schemes used in the class descriptions * mcalib/MHCalibrationCam.[h,cc] - included function GetAverageAreas() and GetAverageSectors() like in MCalibrationCam * mjobs/MJCalibration.[h,cc] - included calibration of rel.Times, to be chosen with a flag RelTimeCalibration() - signal extractor and arrival time extractor can be chosen by flags as well (see Class description) * mbadpixels/MBadPixelsCam.cc - add two new types in GetPixelContent, add documentation of GetPixelContent * msignal/MArrivalTimeCalc2.cc - commented the warning for pixels with lowgain saturation 2004/04/13: Markus Gaug * macros/dohtml.C - included directory mbadpixels * mcalib/MCalibrationPix.[h,cc] - add functions GetHiLoMeansDivided(), GetHiLoSigmasDivided() and errors * mcalib/MCalibrationChargeCam.[h,cc] - removed hi-vs.Lo histograms (come into a separate MIntensityCam) - updated GetPixelContents - updated class documentation * mgeom/MGeomMirror.h - include , otherwise it does not compile on my machine * mjobs/MJPedestals.cc * mjobs/MJCalibration.cc - replaced MBadPixelsMerge by MParList.AddToList(fBadPixels) until bug in MBadPixelsMerge is resolved (see bugtracker). * mcalib/MHCalibrationChargePINDiode.cc - return in Draw() if histogram is empty (otherwise segm. violation in eventloop * msignal/MExtractedSignalCam.cc - intialize variables by default to 0. * mcalib/MHCalibrationChargeCam.[h,cc] - pointer to fSig is not stored, somehow, when running MJCalibration Don't know why. Removed and stored some variables instead * mjobs/MJCalibration.[h,cc] - updated documentation, updated QE Cam - set the pulser colour (now obligatory) - set the possibility to choose different displays * mcalib/MCalibrationChargeCalc.cc - set the pulser colour (now obligatory) * mcalib/MCalibrationChargePix.[h,cc] - put GetRSigmaPerCharge into this class 2004/04/13: Thomas Bretz * mastro/MAstroCamera.cc, mastro/MAstroCatalog.[h,cc]: - enhanced comments - added some new features * mbase/MAGIC.h: - removed some empty lines * mfileio/MWriteRootFile.cc: - fixed a compiler warning * mgeom/MGeomCorsikaCT.h: - removed obsolete include of TArrayF * mgeom/MGeomMirror.[h,cc]: - replaced fReflector by *fReflector * mmain/MGDisplayAdc.cc: - fixed a bug which caused the wrong histogram entry to be displayed 2004/04/10: Markus Gaug * macros/dohtml.C - included directory mjobs * mjobs/MJCalibration.[h,cc] - added and updated documentation (not yet ready) * htmldoc/images/CalibClasses.gif - scheme of the calibration classes, used for documentation in MJCalibration.cc 2004/04/10: Thomas Bretz * mastro/MAstroCatalog.[h,cc], mastro/MAstroCamera.[h,cc]: - added comments * macros/starfield.C: - added * mastro/Makefile, mastro/AstroLinkDef.h - added MAstroCamera 2004/04/09: Markus Gaug * mcalib/MHCalibrationChargePINDiode.[h,cc] * mcalib/MHCalibrationChargeCam.[h,cc] * mcalib/MHCalibrationChargeCalc.[h,cc] - put abs. time consistency check from MCalibrationChargeCalc into MHCalibrationChargePINDiode and MHCalibrationChargeCam * mcalib/MHCalibrationCam.[h,cc] * mcalib/MHCalibrationChargeCalc.[h,cc] - number of used FADC slices also stored in MHCalibrationCam, MHCalibrationChargeCalc needs no pointer to the signal extractors any more -> removed * mcalib/MCalibrationChargePINDiode.[h,cc] * mcalib/MCalibrationChargeBlindPix.[h,cc] * mcalib/MCalibrationCam.[h,cc] - put a default pulser color kNONE * manalysis/MPedestalCam.[h,cc] * manalysis/MPedCalcPedRun.[h,cc] * manalysis/MGeomApply.cc - added average pixels in the way like it is done in MCalibrationCam 2004/04/08: Thomas Bretz * mfbase/MF.cc: - optimized output * mfbase/MFilterList.cc: - added some comments * mfileio/MReadMarsFile.[h,cc], mfileio/MReadTree.[h,cc]: - added SortFiled-option -- RAQUEL, this is for you! * mfileio/MWriteRootFile.cc: - class AddSerialNumber in AddContainer * mhist/MHFalseSource.[h,cc]: - optimized setting of hist maximum - added more source dependant cuts - changed display layout - scale number of entries to correct for different acceptance (not perfect, but the best I can currently do) * mimage/MHHillasExt.[h,cc]: - added new histogram for fMaxDist * mimage/MHNewImagePar.[h,cc]: - added new histograms for Used/CoreArea * mimage/MHillasCalc.cc: - optimized output * mimage/MHillasExt.cc: - fMaxDist got a sign * mimage/MNewImagePar.[h,cc]: - enhanced comments - added new Print() member function * macros/readCT1.C, macros/readMagic.C, mmain/MEventDisplay.cc: - forward geomcam to newimgepar.Print() 2004/04/08: Markus Gaug * mcalib/MCalibrationChargeCalc.[h,cc] * mcalib/MCalibrationChargeCam.[h,cc] * mcalib/MCalibrationChargePix.[h,cc] * mcalib/MCalibrationChargeBlindPix.[h,cc] * mcalib/MCalibrationChargePINDiode.[h,cc] - put calculation of photon fluxes with the three methods into MCalibrationChargeCalc - reorganized calculations in a better readable way (hopefully!) * mbase/MAGIC.h * mcalib/MCalibrationCam.[h,cc] * mcalib/MCalibrationQECam.[h,cc] * mcalib/MCalibrationQEPix.[h,cc] - put PulserColor_t away from MAGIC.h into MCalibrationCam - full implementation of the QE-calibration from MCalibrationQEPix * msignal/MExtractBlindPixel.cc - removed warning about low-gain saturation of Blind pixel * mcalib/MCalibrate.[h,cc] * mcalib/MCalibrateData.[h,cc] * mcalib/MMcCalibrationCalc.[h,cc] * manalysis/MMcCalibrationUpdate.[h,cc] - conversion factors now separated into FADC2phe and then into call to average Quantum efficiency. 2004/04/07: Markus Gaug * mcalib/MHGausEvents.[h,cc] - added fBlackout events 2004/04/06: Thomas Bretz * mcalib/MCalibrationCam.[h,cc]: - simplified call to initialization by new function Init() * mcalib/MH*.cc: - fixed some warnings (comparision between signed and unsigned) * manalysis/MGeomApply.cc: - use new Init-funtion of MCalibrationCam * mastro/MAstro.cc: - some fixes to the conversion functions * mastro/MAstroCamera.[h,cc]: - added comments - changed argument type of AddPrimitives * mastro/MAstroCatalog.[h,cc]: - many changes to make it possible to overlay the catalog on top of a 2D histogram * mbase/MEvtLoop.cc: - fixed estimation of run-time * mbase/MMath.[h,cc]: - added member functions for signed significances * mbase/MParContainer.cc: - changed GetterMethod() to support double reference data mebers * mbase/MStatusDisplay.cc: - removed some obsolete debug outputs * mbase/MTask.[h,cc]: - removed fNumExecutions, fStopwatch already counts the calls - slight chagnes to output of PrintStatistics * mbase/MTaskList.[h,cc]: - slight chagnes to output of PrintStatistics * mbase/MTime.cc: - removed +TwoPi from GetGmst * mcamera/MCameraAUX.h, mcamera/MCameraHV.h, mcamera/MCameraLV.h, mcamera/MCameraLid.h, mcamera/MCameraLids.h, mcamera/MCameraPowerSupply.h: - added missing Getter functions * mcamera/MCameraHV.h: - removed obsolete data-meber fMean * mdata/DataLinkDef.h: - added MDataFormula * mdata/MDataChain.cc, mdata/Makefile: - enhanced dosumentation - implemented use of multi argument functions - added ^-operator * mdata/MDataList.[h,cc]: - added ^-operator - enhanced IsValid * mfbase/MFilterList.cc: - changed a warn-output to inf * mgeom/MGeomCam.[h,cc]: - added getter returning index corresponding to XY * mgeom/MGeomPix.[h,cc]: - added getter IsInside * mhist/MHCamera.cc: - Return 0 in GetMean if no entries * mhist/MHFalseSource.[h,cc]: - removed conversion stuff (mm/deg) - slight change to calculation of significance - added dist-cuts - added histogram showing number of entries - added display of catalog * mhist/MHStarMap.cc: - added comment * mimage/MHillasExt.[h,cc]: - changed class version to 3 - added new data-member fMaxDist * mimage/MNewImagePar.[h,cc]: - added new data member fUsedArea and fCoreArea * mmc/MMcConfigRunHeader.h: - readded GetMirrors (WHY WAS IT GONE?) * mpointing/MPointingPos.[h,cc] - implemented Getter to get coordinates in rad * mpointing/MSrcPosCalc.[h,cc]: - fixed direction of rotation - for the moment do use fTime 2004/04/06: Markus Gaug * mcalib/MCalibrationChargePix.[h,cc] - change names of the GetLoGain*() functions to GetConvertedLoGain*() for better clarity * mcalib/MCalibrationChargeCam.[h,cc] - updated and enlarged documentation * mcalib/MHCalibrationChargeCam.cc * mcalib/MHCalibrationRelTimeCam.cc - set the arrays by use of memset - initialize TObjArrays with the Init-Function 2004/04/05: Markus Gaug * msignal/MExtractedSignalPINDiode.h - new function GetLastUsedSlice() * mcalib/MCalibrationChargeCalc.[h,cc], * mcalib/MCalibrationChargeCam.cc: - holds also pointers to MExtractedSignalPINDiode and MExtractedSignalBlindPixel and does the checks inside the task (instead of inside the containers) * mcalib/MCalibrationChargeBlindPix.[h,cc], * mcalib/MCalibrationChargePINDiode.[h,cc]: - updated and enlarged documentation * mcalib/MHCalibrationChargePINDiode.cc * mcalib/MHCalibrationChargeCam.[h,cc] - rename Setter for fMeanVar from SetMeanErr() to SetMeanVar() - rename arrays of fAverageSigmaErr to AverageSigmaVar * mcalib/MCalibrationPix.[h,cc] * mcalib/MCalibrationChargePix.[h,cc] * mcalib/MCalibrationChargeBlindPix.[h,cc] * mcalib/MCalibrationChargePINDiode.[h,cc] - add Getters to the relative variance * mcalib/MHGausEvents.[h,cc] * mcalib/MCalibrationPix.[h,cc] * mcalib/MHCalibrationCam.cc - add to Pickup also Blackout events 2004/04/05: Nadia Tonello * mbadpixels/MBadPixelsTreat.cc - In Unmap(): replaced SetPixelUnused with SetPixelUnmapped 2004/04/02: Markus Gaug * mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationCam.[h,cc], mcalib/MCalibrationQEPix.[h,cc], mcalib/MCalibrationQECam.[h,cc], mcalib/MCalibrationRelTimeCam.[h,cc], mcalib/MCalibrationRelTimePix.[h,cc]: - updated and enlarged documentation * mcalib/MHGausEvents.[h,cc], mcalib/MHPedestalPix.[h,cc], mcalib/MHCalibrationChargePix.[h,cc], mcalib/MHCalibrationChargeHiGainPix.[h,cc], mcalib/MHCalibrationChargeLoGainPix.[h,cc], mcalib/MHCalibrationChargeBlindPix.[h,cc], mcalib/MHCalibrationChargePINDiode.[h,cc]: - put fPixId, fPickup, fPickupLimt, CountPickup(), RepeatFit() and ChangeHistId() into MHGausEvents (before in the derived classes) - put fChargeNbins, fChargeFirst, fChargeLast, * mcalib/MHCalibrationRelTimePix.[h,cc]: - put fRelTimeNbins, fRelTimeFirst, fRelTimeLast together into MHGausEvents as fNbins, fFirst and fLast * mcalib/MHCalibrationRelTimePix.[h,cc]: - remove Renormalization to time slices. Need to think about more direct way to implement * mcalib/MHPedestalCam.[h,cc], mcalib/MHCalibrationCam.[h,cc], mcalib/MHCalibrationChargeCam.[h,cc], mcalib/MHCalibrationRelTimeCam.[h,cc]: - put most of the functionality into the base class MHCalibrationCam - derived classes overload the functions SetupHists, ReInitHists, FillHists, FinalizeHists and FinalizeBadPixels. - functions FitHiGainArrays, FitLoGainArrays, FitHiGainHists, FitLoGainHists and InitHists can be used from base class. * mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationChargePix.[h,cc], mcalib/MCalibrationRelTimePix.[h,cc]: - put most of the functionality into the base class MCalibrationPix - other two classes derive now from MCalibrationPix * mcalib/MCalibrationCam.[h,cc], mcalib/MCalibrationChargeCam.[h,cc] mcalib/MCalibrationRelTimeCam.[h,cc]: - put most of the functionality into the base class MCalibrationCam - other two classes derive now from MCalibrationCam - calls to MCalibration*Cam[i] now have to cast! * mcalib/MCalibrate.cc, mcalib/MCalibrateData.cc, * mcalib/MMcCalibrateCalc.cc, manalysis/MMcCalibrationUpdate.cc, * mcalib/MCalibrationChargeCalc.cc: - cast calls to MCalibration*Cam[i] * manalysis/MGeomApply.cc - add initialization MCalibrationRelTimeCam - add intialization of average pixels 2004/04/02: Abelardo Moralejo * msignal/MExtractSignal3.[h,cc] - added. Alternative method for signal extraction. Uses sliding window from event to event, but a common window for all pixels in an event. * msignal/Makefile, SignalLinkDef.h - added MExtractSignal3. 2004/04/02: Markus Gaug * mbadpixels/MBadPixelsPix.h - added kRelTimeNotFitted and kRelTimeOscillating to Calibration_t enum * mcalib/MCalibrationCam.[h,cc], mcalib/MCalibrationPix.[h,cc], mcalib/Makefile, mcalib/CalibLinkDef.h: - two new base classes for general calibration storage containers, contain average pixel storage functionality * mcalib/MCalibrationRelTimeCam.[h,cc], mcalib/MCalibrationRelTimePix.[h,cc]: - new storage container for the rel. time calibration results, derive from MCalibrationPix, MCalibrationCam 2004/04/01: Markus Gaug * msignal/MArrivalTimeCalc.[h,cc] - set fSaturationLimit as a variable with default (instead of 0xff) * mcalib/MHCalibrationChargeCam.[h,cc] mcalib/MCalibrationChargeCam.[h,cc] mcalib/MCalibrationChargeCalc.cc, manalysis/MGeomApply.cc: - add average pixels per sector * mcalib/MHGausEvents.[h,cc], mcalib/MHCalibrationChargePix.[h,cc], mcalib/MHCalibrationRelTimePix.[h,cc]: - moved BypassFit() function to MHGausEvents * mcalib/MHCalibrationChargeCam.[h,cc]: - updated and enlarged documentation - derives now from mcalib/MHCalibrationCam * mcalib/MCalibrationChargePix.[h,cc]: - removed flag kLoGainSaturation, because it is already in MBadPixelsPix * mcalib/MCalibrationCam.[h,cc], mcalib/Makefile, mcalib/CalibLinkDef.h: - new base class for all MHCalibration*Cam object, contains the average pixel functionality 2004/03/31: Markus Gaug * mcalib/MHCalibrationChargeCam.[h,cc], mcalib/MCalibrationChargeCam.[h,cc], mcalib/MCalibrationChargeCalc.cc, manalysis/MGeomApply.cc: - make the average pixel independent on camera geometry, i.e. one average pixel per MGeomPix::Aidx 2004/03/31: Abelardo Moralejo * mmc/MMcConfigRunHeader.[h,cc] - updated to current version (3) in camera program. Added member fLightCollectionFactorOuter so that we can store the data on the simulatedlight collection efficiency (light guides + plexiglas +...) as a function of incidence angle for outer and inner pixels independently. Added getters for this information on light collection efficiency. 2004/03/30: Markus Gaug * mcalib/MHGausEvents.[h,cc], mcalib/MHCalibrationChargePix.[h,cc], mcalib/MHCalibrationChargeHiGainPix.[h,cc], mcalib/MHCalibrationChargeLoGainPix.[h,cc], mcalib/MHCalibrationChargeBlindPix.[h,cc], mcalib/MHCalibrationChargePINDiode.[h,cc], mcalib/MHCalibrationRelTimeCam.[h,cc], mcalib/MHCalibrationRelTimePix.[h,cc], mcalib/MHPedestalPix.[h,cc], mcalib/MHPedestalCam.[h,cc]: - updated and enlarged documentation 2004/03/30: Abelardo Moralejo * mmc/MMcFadcHeader.hxx - updated to current version (4) in camera program. 2004/03/29: Markus Gaug * manalysis/MSourcePosFromStarPos.cc - replaced fabs(ival) by TMath::Abs(ival) * mbadpixels/MBadPixelsPix.h - adopt treatment of UnCalibrated_t like the one in Unsuitable_t * mbadpixels/MBadPixelsPix.cc - put some documentation in the header * mcalib/MHCalibrationChargeCam.cc mcalib/MCalibrationChargeCam.cc mbadpixels/MBadPixelsCam.cc - adopt to new style in MBadPixelsPix.h * mcalib/MCalibrationChargeCalc.[h,cc] mcalib/MCalibrationChargePix.[h,cc] - move consistency checks from Pix to Calc * mcalib/MHGausEvents.[h,cc] - fixed axes for event and fourier spectrum Draw * mcalib/MHCalibrationChargePix.[h,cc] mcalib/MHCalibrationChargeCam.[h,cc] - moved definition of pulser frequency to MHCalibrationChargeCam 2004/03/24: Thomas Bretz * mbase/MMath.cc: - now SignificanceLiMa returns 0 in case sum==0 2004/03/23: Thomas Bretz * mbase/MContinue.cc, mhbase/MH.cc: - changed a warning message to an inf-message * mfileio/MReadTree.cc: - added an additional logging message when adding files to a chain successfully. * mbase/MProgressBar.cc: - fixed initial size * mastro/MAstro.[h,cc]: - changed the code for the rotation angle back to its original shape. The definition I tried to introduced was already correctly implemented (assuming that sin is the x-component of the vector I had it wrong in my mind twice, using atan2(y,x) everywhere I did recognize it...) * mreport/MReport.cc: - fixed a bug which caused a crash when the time is not valid * mhist/MHStarMap.cc, mpointing/MSrcPosCalc.cc: - fixed: v.Roatete() must be v=v.Rotate() - MHStarMap no waorks also without MSrcPosCam, MPointingPos or MObservatory (leaving out the corresponding translations) 2004/03/22: Markus Gaug * mfileio/Makefile, mimage/Makefile - mpointing included 2004/03/22: Thomas Bretz * mpointing/MSrcPosCalc.[h,cc], MSrcPosCam.[h,cc]: - added * mastro/MAstro.[h,cc]: - added code to calculate rotationangle previously in MObservatory - changed definition of rotation angle such, that it is now 180deg if Ra and Az grid is parallel * mastro/MAstroCatalog.[h,cc]: - fixes and enhancements to the display (such as misscalculated number of grid lines, title display, etc) - enhancements to the output - generalized creation of grid - for further usage * mastro/MAstroSky2Local.[h,cc]: - replaced calculation of rotation angle by the function in MAstro * mastro/MObservatory.[h,cc]: - small changes to Print output - moved code for calculation of rotation angle to MAstro * mbase/MEvtLoop.cc: - do not output number of events per second if no events processed * mbase/MParList.cc: - updated some comments * mfileio/MCT1ReadAscii.cc, mfileio/MCT1ReadPreProc.cc, mfileio/MReadRflFile.cc, mraw/MRawFileRead.cc, mreport/MReportFileRead.cc: - output error string if file cannot be opened * mfileio/MReadTree.cc: - output name of chain which is scanned * mimage/MConcentration.cc: - replaced loop by iterator - removed obsolete (unused) variables * mimage/MHNewImagePar.[h,cc]: - fixed display colors * mpointing/MPointingPos.[h,cc]: - added member function to calculate rotation angle - added comments * mpointing/Makefile: - added include MAstro * manalysis/MSrcPosCam.[h,cc]: - moved to mpointing * mpointing/MSrcPosCalc.[h,cc]: - added: Derotates a star in the camera into MSrcPosCam * mpointing/Makefile, mpointing/PointingLinkDef.h: - added MSrcPosCam - added MSrcPosCalc * manalysis/Makefile, manalysis/AnalysisLinkDef.h: - removed MSrcPosCam * mmain/Makefile: - added include for mpointing * manalysis/AnalysisIncl.h: - removed TVector2 * mbase/MParContainer.h: - added new abstract virtual member function SetVariables (to be used in fits) - addeed some text to class description * mdata/MData.cc: - added comment * mdata/MDataArray.[h,cc], mdata/MDataElement.h, mdata/MDataList.[h,cc], mdata/MDataMember.h, mfbase/MFDataMember.[h,cc], mfbase/MFilterList.[h,cc]: - added SetVariables * mdata/MDataChain.[h,cc]: - added support for indexed variables [i] - added SetVariables * mdata/MDataValue.[h,cc]: - added support for variable values (through SetVariables) - added support for an index - added SetVariables * mfbase/MF.[h,cc]: - removed support for {}. This case is now detected automatically - added SetVariables - added support for expressiond like "MHillas.fLength<2*MHillas.fWidth" * mfbase/MFDataChain.[h,cc]: - added fCond data member - addednew constructor to support fCond - added support for new condition type - adapted Print and GetRule * mimage/MNewImagePar.[h,cc]: - added some comments * mhist/MHStarMap.[h,cc]: - fixed to use the correct MPointingPos instead of the deprecated MMcEvt. Use MPointingPosCalc to copy the pointing position from MMcEvt to MPointingPos * mbase/MMath.[h,cc]: - added, which currently only implements calculation of significance and Li/Ma significance * mbase/Makefile, mbase/BaseLinkDef.h: - added MMath 2004/03/19: Markus Gaug * mcalib/MHCalibrationChargePix.cc - added some style to the default Draw in order to see the label and axis titles better * mcalib/MHCalibrationChargeCam.[h,cc] - store and display more information on the average pxiels * mcalib/MCalibrationCam.cc - the GetPixelContent flag were not correct any more, fixed them * macros/calibration.C - fixed GetPixelContent flags - draw radial profile of the variables * mjobs/MJCalibration.cc - fixed GetPixelContent flags - introduced RadialProfile for some displays - removed some not so important displays * manalysis/MGeomApply.cc - included MCalibrationQECam to be initialized * mcalib/MCalibrationChargePix.[h,cc], mcalib/MCalibrationQEPix.[h,cc]: - replace DefinePixId by SetPixId * mcalib/MCalibrationChargeCalc.[h,cc] - added MCalibrationQECam - cleaned the code up a little - give more information at the end * mcalib/MCalibrationChargePix.[h,cc] - took out fNumLoGainSampels whihc is not needed any more because conversion is only done in the getters - Canceled function ApplyLoGainConversion (for same reason) * msignal/MExtractSignal2.cc - remove uncommented piece of code * msignal/MExtractSignal.cc, msignal/MExtractSignal2.cc: - remove warning about pixel with low gain saturation, now in MBadPixelsPix * mbadpixels/MBadPixelsPix.[h,cc], mcalib/MCalibrationChargeCam.cc: - added new flag: kDeviatingNumPhes * mcalib/MCalibrationChargePix.cc - check for mean arr. time in last bin replaced by check in last two bins * mcalib/MCalibrationChargePix.[h,cc], mcalib/MCalibrationChargeCam.cc, mcalib/MHCalibrationChargeCam.cc: - removed flag kHiGainFitted, kLoGainFitted, since they are available from MBadPixelsPix * macros/calibration.C, macros/calibrate_data.C - a few flags from MCalibrationChargeCam::GetPixelContent were wrong, corrected them 2004/03/18: Raquel de los Reyes * macros/DAQDataCheck.C - macro to check the data from the DAQ system (.raw files). 2004/03/18: Thomas Bretz * manalysis/AnalysisIncl.h: - added TVector2 * manalysis/MSrcPosCam.[h,cc]: - added Getter/Setter using TVector2 * mhbase/MH.cc: - fixed GetMinimumGT for TH2 and TH3 * mpointing/MPointingPos.h: - added Getter/Setter for Ra/Dec * mpointing/MPointingPosCalc.cc: - fill Ra/Dec into MPointingPos 2004/03/18: Markus Gaug * mgeom/MGeomCam.[h,cc] - replace fMaxRadius by a TArrayF of pixel area types - new TArrayF fMinRadius of each pixel area type - backward compatibility should be given, call to GetMaxRadius() returns the value for the whole camera (which corresponds to the previous value for the Magic camera) * mimage/MConcentration.cc - fixed on flog to fLog in order to compile 2004/03/17: Thomas Bretz * mastro/MAstroCatalog.[h,cc]: - some simplifications and changes * mastro/MAstroCatalog.[h,cc]: - some simplifications and changes * mastro/MAstroSky2Local.[h,cc]: - rotation matrix from sky to local coordinates - added * mastro/Makefile, mastro/AstroLinkDef.h: - MAstroSky2Local added * mraw/MRawEvtPixelIter.cc: - GetIdxMaxLoGainSample(const Byte_t lofirst) const accelerated and fixed (the first slice was compared to itself and the last slice was not taken into account) * manalysis/MCerPhotAnal2.cc: - fixed a bug in the new treatment of lo-gains * mhvstime/MHPixVsTime.cc: - fixed missing initialization of fTypeErr in constructor * mimage/MHillas.[h,cc]: - implemented member function which returns MeanX/Y as TVector2 * mimage/ImageIncl.h: - added TVector2 * manalysis/MCerPhotEvt.[h,cc]: - fixed a bug in AddPixels which - in some special circumstances - cutted pixels with high pixel indices 2004/03/17: Antonio Stamerra * macros/datatrigcheck.C - added macro for time and trigger data-checking 2004/03/17: Abelardo Moralejo * manalysis/MSourcePosfromStarPos.cc - added cast fabs((Double_t)ival), line 703. Otherwise it does not compile. * macros/starmc.C - added parameter accepted_fraction to select fraction of events to be processed (useful to make smaller outputs). 2004/03/17: Wolfgang Wittek * manalysis/MSigmabar.[h,cc] - correct calculation of sector, which was wrong 2004/03/16: Markus Gaug * mhist/MHCamera.[h,cc] - added function RadialProfile which returns a TProfile of the value along the radius from the camera center 2004/03/16: Oscar Blanch Bigas * mimage/MConcentration.[h,cc] - new class for Concentration stuff. - It computes and stores Concentration 1-8 * mimage/MNewImagePar.[h,cc] - New Concentration stuff is moved to MConcentration. * mimage/MHillasCalc.[h,cc], Makefile, ImageLinkDef.h - Modifications needed to support and compile new MConcentration class. 2004/03/16: Thomas Bretz * mjobs/MJ*.[h,cc] - removed some obsolete comments - removed projections from Directory (SetDirectory(0)) 2004/03/16: Wolfgang Wittek * manalysis/MSigmabar.[h,cc] - calculate sigmabar as mean of individual pedestalRMS instead of sqrt of mean pedestalRMS^2 2004/03/16: Oscar Blanch * mimage/MNewImagePar.[h,cc] - New variables members added: fInnerSize, fInnerLeakage[1,2], fConc[3-8]. - It is only ready for Magic Camera geometry. It has to be done MGeomCam base. - The version ahs not been updated since it was done on the 2004/03/10 by Abelardo. 2004/03/15: Markus Gaug * mcalib/MCalibrationChargePix.[h,cc], mcalib/MCalibrationChargeCam.[h,cc], mcalib/MCalibrationChargeCalc.cc: - conversion from hi- to logain now not applied until the value is exported outside the class. This is necessary for the error propagation in the F-Factor method: In the calculation of the number of Phe, the conversion factors cancel out and do not enlarge the errors - pixels with number of phe's outside the range defined by fPheFFactorRelErrLimit are not any more declared as: MCalibrationChargePix::IsFFactorMethodValid() == kFALSE , but instead as: MBadPixelsPix::IsSuitableRun(MBadPixelsPix::kUnreliableRun) == kTRUE, Like this, everybody is allowed to calibrate pixels which give no reasonable results in the calibration without bothering that too many pixels fall out. Enjoy! - In that procedure, the classes passed _internally_ from calculation of sigmas to calculation of variances which saves all the useless square rooting. - took out pointers to MCalibrationChargeBlindPix and MCalibrationChargePINDiode in MCalibrationChargeCam. 2004/03/15: Abelardo Moralejo * mmc/MMcEvt.hxx - added getter function for fZFirstInteraction 2004/03/15: Wolfgang Wittek * mastro/MObservatory.[h,cc] - remove bugs in RotationAngle(theta, phi, sin, cos) replaced cos = sinl + cosl*cosp /denom; by cos = (sinl - cosl*cosp) /denom; 2004/03/15: Thomas Bretz * mastro/MObservatory.[h,cc]: - implemented RotationAngle(ra, dec, time) * mbase/MTask.[h,cc]: - implemented usage of a TStopwatch to retriev time consumtion informations - changed PrintStatistics not to print classes having no Process() function * mbase/MTaskList.[h,cc], mfileio/MReadReports.[h,cc]: - changed PrintStatistics according to changes in MTask * mraw/MRawEvtHeader.cc: - added a comment to Fill member function * manalysis/MCerPhotEvt.[h,cc]: - added fLut.Set to FixSize and resize fLut by a factor of 2 instead of +1 which acelerates creation of all pixels a lot * mbadpixels/MBadPixelsPix.cc: - fixed a typo * mfilter/MFSoftwareTrigger.cc: - made statistics output meaning independant of usage of filter! * mhbase/MFill.[h,cc]: - added possibility to give tab a different name * mhist/MHCamera.cc: - fixed a bug when determin scale for same-option * mjobs/MJCalibration.cc: - changed tab names for MFillH * mjobs/MJExtactSignal.cc: - added MRawEvtHeader to output * mbase/MStatusDisplay.[h,cc]: - changed displayed year - read and store MStatusArray to and from files * mfileio/MReadTree.cc: - enhanced output * mmain/MCameraDisplay.cc, mmain/MEventDisplay.[h,cc]: - added preliminary mode to display F1/F2/F3-files * mbase/MStatusArray.[h,cc]: - added * mbase/Makefile, mbase/BaseLinkDef.h: - added MStatusArray * mhits/MHCamera.[h,cc], mgui/MHexagon.[h,cc]: - improved drawing MHCamera with 'same' option 2004/03/13: Markus Gaug * mcalib/MCalibrationChargeCalc.cc, mcalib/MCalibrationChargeCam.cc, mcalib/MCalibrationChargePix.[h,cc], mcalib/MHCalibrationChargeCam.cc, mcalib/MHCalibrationChargeLoGainPix.cc: - fixed Low Gain calibration * mcalib/MHGausEvents.cc: - changed default fit prob. limit from 0.005 to 0.001 * mbadpixels/MBadPixelsPix.h : - IsCalibrationResultOK does not ask for FitOK any more * mcalib/MHCalibrationChargeCam.cc: - replaced Rel. Err. Limit for outliers in Phe's from 5 sigma to 7 * mraw/MRawEvtPixelIter.[h,cc]: - function GetIdxMaxLoGainSamples can be called optionally with offset (because first "loGain" samples are often in reality hiGain with high values. 2004/03/12: Sebastian Raducci * manalysis/Makefile - added mastro in the include directories 2004/03/12: Thomas Bretz * merpp.cc: - added 'force' option * manalysis/MCerPhotAnal2.cc: - extract pedestal and pedestal rms from lo-gain if hi-gain not above a certain athreshold * mastro/MAstroCatalog.[h,c]: - added text argument to DrawStar * mbase/MStatusDisplay.cc: - some small changes to output of SaveAsPS * mfilter/MFCosmics.cc: - changed output of filter statistics * mbadpixels/MBadPixelsTreat.[h,cc]: - fixed some problems with the code - now it should work like expected - added a new member function to be able to change the number of required neighbors 2004/03/12: Wolfgang Wittek * manalysis/Makefile - include 'mastro' * manalysis/MSourcePosfromStarPos.[h,cc] - include MObservatory.h - call member function Rotationangle() of MObservatory 2004/03/12: Markus Gaug * mjobs/MJCalibration.cc - updated call in displays to the corr. Cams. * macros/calibrate_data.C - macro to study calibrate and study data used in Munich and IFAE 2004/03/12: Antonio Stamerra * mraw/MRawEvtHeader.[h,cc] - Added the method GetTriggerID() to decode the trigger pattern. 2004/03/11: Abelardo Moralejo * mimage/MHillasCalc.cc - Added some printout in PostProcess, to better express the reasons for which the reconstruction of some events did not succeed. 2004/03/11: Thomas Bretz * status.cc: - updated * manalysis/MCerPhotAnal2.cc: - removed an obsolete debug output * mhist/MHCamera.[h,cc]: - added same-option to camera display * mbadpixels/MBadPixelsCalc.[h,cc], mbadpixels/MBadPixelsTreat.[h,cc]: - implemented functionality of MBlindPixelsCalc2 * mbadpixels/MBadPixelsCam.[h,cc], mbadpixels/MBadPixelsPix.[h,cc], mbadpixels/MMcBadPixelsSet.cc, mcalib/MCalibrationChargeCalc.cc, mcalib/MCalibrationChargePix.cc, mcalib/MHCalibrationChargeCam.cc: - replaced several Set/GetUnsuitable* by a single member function 2004/03/11: Markus Gaug * mbadpixels/MBadPixelsPix.h - removed bits about validity of calibration methods - IsCalibrationResultOK asks also from IsSuitableRun * mbadpixels/MBadPixelsCam.cc - updated GetPixelContent - added Print function * mcalib/MCalibrationChargeCam.[h,cc] mcalib/MCalibrationChargePix.h, mcalib/MCalibrationChargeCalc.cc: - removed pointers to MGeomCam and MBadPixelsCam in MCalibrationChargeCam - use two loops over pixels in order to determine mean flux of phe;s to discard pixels far outside the normal distribution * mcalib/MCalibrate.cc - added case that no MBadPixelsCam is available. * mcalib/MHCalibrationChargeCam.cc - adapted to new MBadPixelsPix::SetUnsuitable function 2004/03/10: Abelardo Moralejo * manalysis/MCerPhotPix.[h,cc] - Added member fIsHGSaturated, and setter/getter functions. Updated class version to 4. * mcalib/MCalibrate.cc, MCalibrateData.cc - Added setting of MCerPhotPix.fIsHGSaturated if one or more HG slices saturate. * mimage/MNewImagePar.[h,cc] - Added member fNumHGSaturatedPixels to count the number of pixels in which high gain saturates. Added getter funciton for it. Updated class version to 3. 2004/03/10: Markus Gaug * mcalib/MCalibrationChargeCalc.cc, mcalib/MCalibrationChargePix.[h,cc], mcalib/MCalibrationChargeCam.[h,cc]: - calculation of conversion factor with F-Factor method from same mean number of photons, derived from weighted mean number of photo-electrons from inner and outer pixels, respectively * mjobs/MJPedestal.cc, mjobs/MJCalibration.cc, macros/calibration.C: - fixed the projections (did only display inner pixels up to now) * macros/calibration.C - small bug fixed in display of rel. arrival times ( used MArrivalTimeCam instead of MHCalibrationRelTimeCam) * mbadpixels/MBadPixelsCam.cc - replaced some InitSize(idx) by InitSize(idx+1) in order not to crash to program when reading from an ascii-file. * mbadpixels/MBadPixelsCalc.cc - replaced one SetUnsuitableRun(....) by the new version without argument. 2004/03/10: Thomas Bretz * mfilter/MFSoftwareTrigger.[h,cc]: - changed to support also a predifined number of NN * mastro/MAstroCatalog.[h,cc]: - many enhancements - many speed improvements * mbadpixels/MBadPixelsPix.[h,cc]: - fixed 2004/03/10: Ester Aliu * mtemp/MIslands.[h,cc] - New MParContainer to hold information about islands (number of islands, pixels in each Island, Signal/Noise of each Island). * mtemp/MIslandCalc.[h,cc] - New MTask to count and characterize Islands. 2004/03/09: Thomas Bretz * Makefile.rules: - replaced *.o by $(...) for building archives * mjobs/MJCalibration.cc: - exchanged apply and merge task * mjobs/MJCalibration.h, mjobs/MJExtractSignal.h, mjobs/MJPedestal.h: - fixed some const-qualifiers * mcalib/MHCalibrationChargeBlindPix.cc, mcalib/MHCalibrationChargeCam.cc, mcalib/MHCalibrationChargePINDiode.cc - removed some obsolete output when calling FindCreateObj - changed some 'not found' output messages to be 'Mars-compliant' - replaced some gLog by *fLog 2004/03/08: Markus Gaug * mbadpixels/MBadPixelsPix.h - small modifications for better readability - remove Getters for calibration methods - added flag "UnReliableRun" in fInfo[0] * mcalib/MHCalibrationChargeCam.cc, mcalib/MCalibrationChargePix.cc: - fill MBadPixelsPix with UnReliableRun or UnSuitableRun when calibration does not succeed. * mcalib/MCalibrationChargeCam.cc - displaying saturation also for not-valid pixels in GetPixelContent * msignal/MExtractedSignalCam.[h,cc], msignal/MExtractSignal.[h,cc], msignal/MExtractSignal2.[h,cc], mananlysis/MHPedestalCam.cc, mcalib/MCalibrationChargeCalc.[h,cc]: - in SetUsedFADCSlices, also the window (hi-and logain) is set. This because MExtractSignal2 set the whole window which was much bigger than the actually used one. This bug is now removed. 2004/03/08: Thomas Bretz * merpp.cc: - fixed a bug in the screen output * mgeom/MGeomMirror.cc: - added comment * mmc/MMcConfigRunHeader.h: - added member function GetMirrors 2004/03/08: Abelardo Moralejo * macros/starmc.C, starmcstereo.C, mccalibrate.C - adapted to m. Gaug's changes: now one MBadPixelsCam containers is added for each telescope to the parameter list. * mmain/MEventDisplay.cc, Makefile - added MBadPixelsCam to par list, and mbadpixels/ to includes. Necessary due to changes in MCalibrate. 2004/03/06: Markus Gaug * macros/calibration.C - adapted call to MHCamera::ProjectionS to the new version * mcalib/Makefile - include directory mbadpixels * manalysis/Makefile - include directory mbadpixels * mcalib/MCalibrationChargeCalc.[h,cc] - include MBadPixelsCam - remove exclusion of pixels from ascii-file (now accessible from MBadPixelsCam) * mcalib/MCalibrationChargePix.[h,cc] - include MBadPixelsCam * mcalib/MCalibrationChargeCam.[h,cc] - include MBadPixelsCam * mcalib/MHCalibrationChargeCam.[h,cc] - include MBadPixelsCam - include one additional MBadPixelsPix for the average inner and outer pixel, respectively * mcalib/MHCalibrationChargePix.[h,cc] - make fSaturated and fPickup a Float_t (for average pixel) * mbadpixels/MBadPixelsPix.h - include the CalibrationType_t infos - exchange "SetUnsuitable" by "SetUnsuitableRun" * mbadpixels/MBadPixelsCam.cc, mbadpixels/MMcBadPixelsSet.cc: - exchange "SetUnsuitable" by "SetUnsuitableRun" * mbadpixels/MBadPixelsCalc.cc: - exchange "SetUnsuitable" by "SetUnsuitableEvt" * manalysis/MGeomApply.cc - remove obsolete MArrivalTime - add MBadPixelsCam * mcalib/MCalibrate.[h,cc], mcalib/MCalibrateData.[h,cc] - implemented calls to MBadPixelsCam * macros/calibration.C, macros/bootcampstandardanalysis.C, macros/pedphotcalc.C - implemented calls to MBadPixelsCam * mjobs/MJCalibration.cc - call to MBadPixelsCam 2004/03/05: Nadia Tonello * manalysis/MBlindPixelsCalc2.[h,cc], manalysis/AnalysisLinkDef.h, manalysis/Makefile - Temporary class added (will be included in mbadpixels/ soon) - All the functions of MBlindPixelCalc are kept(with small improvements) - New function added: SetCheckPedestalRms * manalysis/MCerPhotPix.h - Status Unmapped added (not include the pixel in the cleaned image) * mimage/MImgCleanStd.cc - Checks for Unmapped status added * mastro/MAstroCatalog.cc, msql/MSQLServer.cc: - include to solve compilation error 2004/03/05: Sebastian Raducci * msignal/MArrivalTimeCalc.cc - fixed a little bug (exchanged a - with a + in the Calc() method) 2004/03/05: Markus Gaug * mcalib/MCalibraitonChargeCalc.cc - remove some runheader line: if (runheader->IsMonteCarloRun()) return kTRUE; which gave always true since this week, don't know why. - added some information in class description 2004/03/04: Sebastian Raducci * msignal/MArrivalTimeCalc.cc - fixed a memory leak (the spline was not deleted...) 2004/03/04: Thomas Bretz * mgeom/MGeomCam.[h,cc]: - added new data member fNumAreas - added new function CalcNumAreas - increased class version to 3 * mgeom/MGeomCamMagic.cc: - added setting of area index * mgeom/MGeomPix.[h,cc]: - added fAidx data member - added getter function fAidx - increased class version to 3 * macros/sectorvstime.C: - added example of how to plot the evolution of a sector vs time * mhist/MHVsTime.[h,cc], mhist/MHPixVsTime.[h,cc]: - moved to mhvstime * mhvstime/MHSectorVsTime.[h,cc]: - added * Makefile: - added mhvstime * mhvstime/Makefile, mhvstime/HVsTimeLinkDef.h, mhvstime/HVsTimeIncl.h: - added * mhist/Makefile, mhist/HistLinkDef.h, - removed MHVsTime - removed MHPixVsTime * macros/rootlogon.C, macros/dohtml.C: - added new directory mhvstime * msignal/MExtractSignal.cc, msignal/MExtractSignal2.cc: - changes such, that it doesn't crash if signal has no lo-gain (This might still give wrong results!) * macros/dohtml.C: - added pixvstime.C - added sectorvstime.C * manalysis/MMcCalibrationUpdate.cc: - some changes on file consistency check done by Abelardo, he may comment on it * mhist/MHCamera.[h,cc]: - changed to support also dividing the camera in pixels area indices * mhist/MHEvent.cc: - minor change * mjobs/MJPedestal.cc: - adapted to changes in MHCamera * mastro/MAstroCatalog.[h,cc]: - added preliminary catalog * mastro/Makefile, mastro/AstroLinkDef.h: - added MAstroCatalog 2004/03/03: Thomas Bretz * mgeom/MGeomCam.cc: - give a name and title also if the default constructor is used * mgeom/MGeomMirror.[h,cc]: - added member function GetReflection - added persistent data member fReflector * mjobs/MJCalibration.cc, mjobs/MJExtractSignal.cc, mjobs/MJPedestal.cc: - fixed a typo in the output * mraw/MRawFileWrite.cc: - added the missing '.' to MRawRunHeader. Because of the design of MReadTree this is backward compatible * mraw/MRawRunHeader.h: - removed last change from Abelardo. '>255' is the correct check for MC files following the definition that all MC files have run types >255 which was made in the past. * manalysis/MCerPhotAnal.[h,cc], manalysis/MCerPhotAnal2.[h,cc]: - created ReInit member function to hold all code (moved from PreProcess) accessing the run header. The run header is not available in PreProcess. That it was working before was only by chance, because the run type is initialized with 65535 which is != 255 but not >255. 2004/03/03: Sebastian Raducci * msignal/MArrivalTimeCalc.cc - The calculation of the arrival times is made only when needed (when the HalfMax is over the pedestal) * mtools/MCubicSpline.cc - Commented out an annoying warn 2004/03/03: Abelardo Moralejo * mraw/MRawRunHeader.h - Replaced Bool_t IsMonteCarloRun() const { return fRunType>0x00ff; } by Bool_t IsMonteCarloRun() const { return (fRunType==0x0100); } since the latter is the exact translation of what the function intends to do. I do not know why, but the display of real data did not work with the upper line! * mgeom/MGeomCam.cc - Undid yesterday change! I do not know why, display completely fails after that change, both for old and new camera files. Put back fPixels[i] = new MGeomPix; in constructor. 2004/03/02: Abelardo Moralejo * mmc/MMcCorsikaRunHeader.[h,cc] - Added operator [] to get references to the objects in TObjArray fTelescopes. - Added Print() function. - Added GetNumCT() function. - Replaced fTelescopes[i]= new MGeomCorsikaCT; by MGeomCorsikaCT* dummy = new MGeomCorsikaCT(); fTelescopes.Add(dummy); * mgeom/MGeomCorsikaCT.[h,cc] - Added getter functions for telescope coordinates. - Added Print() function. * mgeom/MGeomCam.cc => NOTE: this change was undone later! - Replaced fPixels[i] = new MGeomPix; by MGeomPix* dummy = new MGeomPix(); fPixels.Add(dummy); 2004/03/02: Thomas Bretz * mcalib/MCalibrateData.cc: - removed usage of MGeomCam (you have MGeomApply for this!) 2004/03/01: Nadia Tonello * manalysis/MCerPhotEvt.cc - TObject *MCerPhotEvtIter::Next() now returns Used pixels only if fUsedonly=kTRUE, otherwise it returns all the pixels in the array 2004/03/01: Sebastian Raducci * msignal/MArrivalTimeCalc.[cc,h] - now the arrival time is at the half max of the spline: half max = (maximum - pedestal)/2 * mmain/MEventDisplay.cc - fixed an include (from MArrivalTime.h to MArrivalTimeCam.h) 2004/03/01: Wolfgang Wittek * mhist/MHStarMap.[h,cc] - remove bugs - change GetRotationAngle() such that it can be called from outside 2004/03/01: Thomas Bretz * Makefile: - enhanced all calls to subsequent makes by '-f Makefile' to make sure the correct Makefile is called * merpp.cc: - enhanced interpretation of time - fixed a bug in determin the file-type * mbase/MTime.[h,cc]: - added GetGmst() member function * mastro/MAstro.[h,cc]: - added Coordinate2Angle - added AngularDistance - implemented UT2GMST - replaced defined by TMath::Pi() * mastro/MObservatory.[h,cc]: - added data members for sin-/cos-component of latitude - added calculation of rotation angle * mhist/MHStarMap.[h,cc]: - changes to use MObservatory member function * manalysis/MCerPhotAnal.cc, manalysis/MCerPhotAnal2.cc, manalysis/MCerPhotCalc.cc, manalysis/MMcCalibrationUpdate.cc, manalysis/MMcPedestalCopy.cc, manalysis/MMcPedestalNSBAdd.cc, manalysis/MPedCalcPedRun.cc, manalysis/MPedPhotCalc.cc, mcalib/MCalibrationChargeCalc.cc, mcalib/MMcCalibrationCalc.cc - changed to use IsMonteCarloRun() now * manalysis/MMcCalibrationUpdate.cc: - unified output to log-stream - replaced sqrt by TMath::Sqrt * mcalib/MCalibrationChargeCalc.cc: - unified output to log-stream - removed .Data() from TString where obsolete - fixed memory leak using gSystem->ExpandPathName * mpointing/MPointingPosCalc.cc, mraw/MRawFileWrite.cc: - adde class name to used kRT*/kTT* enums * mraw/MRawEvtHeader.h: - made enum data member of class * mraw/MRawRunHeader.[h,cc]: - made kMagicNumber and kMaxFormatVersion a static data member of the class - added IsMonteCarloRun member function 2004/02/27: Markus Gaug * mjobs/MJPedestal.cc, mjobs/MJCalibration.cc, macros/calibration.C: - put in call to MHCamera::Projection the name of the calling class, otherwise the projected hsitogram will be overwritten by an empyt one. * mcalib/MHCalibrationChargePix.[h,cc], mcalib/MHCalibrationHiGainChargePix.[h,cc], mcalib/MHCalibrationLoGainChargePix.[h,cc]: - histogram name setting and title setting moved to constructor, Functions Init and ChangeHistId derive directly from MHcalibrationChargePix * mcalib/MHCalibrationChargeCam.[h,cc], mcalib/MCalibrationChargeCam.[h,cc], mcalib/MCalibrationChargeCalc.[h,cc]: - introduced "average inner" and "average outer" higain and logain pixels. 2004/02/27: Raducci Sebastian * mhist/Makefile - added mastro in the include list 2004/02/27: Abelardo Moralejo * mmain/MEventDisplay.cc - replaced in fill8 obsolete MArrivalTime with MArrivalTimeCam. - Updated display of MC data: removed MCerPhotCalc, and replaced it by MExtractSignal+MMcCalibrationUpdate+MCalibrate. Now MPedPhotCam is filled and all the camera display tabs are shown correctly (most were not working for MC events since a while ago). * mmain/Makefile - Added mcalib to list of include directories. * manalysis/MMcCalibrationUpdate.[h,cc] - Added member variable Bool_t fOuterPixelsScaling, which is kTRUE by default. If set to kFALSE, MCalibrationCam is filled such that MCerPhotEvt will later be filled with the signal as it is, not corrected for the (possibly) different gain of the outer pixels electronic chain. This option was necessary to allow for the change in the camera display (see above). * macros/starmc.C - added (optional) division of output into two, for use as train and test samples in g/h separation studies. 2004/02/26: Hendrik Bartko * macros/dohtml.C - included the path msignals/ 2004/02/26: Abelardo Moralejo * macros/starmcstereo.C - changed filters to divide data between train and test sample for gamma hadron separation studies. Now we use the modulus operator applied to (Corsika) event number: MF filter1("{MMcEvt;1.fEvtNumber%2}<0.5"); MF filter2("{MMcEvt;1.fEvtNumber%2}>0.5"); - cleaned up a bit the way the CT coordinates are fed to the task MStereoCalc. - Changed default FADC integration range (center range to adapt to new camera). 2004/02/26: Thomas Bretz * mhist/MHCamera.cc: - fixed a function description * mreport/MReport.cc, mreport/MReportFileRead.cc: - introduced return case -1 * Makefile.rules: - remove all dependancy files when calling 'rmdep' * mbase/MAGIC.h, mmc/MMcEvt.hxx: - moved ParticleId_t to MMcEvt - implemented MMcEvt::GetParticleName - implemented MMcEvt::GetEnergyStr * mfilter/MFGeomag.cc, mfilter/MFParticleId.cc, mhist/MHCompProb.cc, mhist/MHEvent.cc, mhist/MHHadronness.cc, mmontecarlo/MMcTriggerRateCalc.cc, mranforest/MHRanForest.cc: - fixed usage of ParticleId_t * msignal/Makefile: - removed obsolete includes * mastro/Makefile, mastro/AstroLinkDef.h, mastro/MAstro.[h,cc], mastro/MObservatory.[h,cc]: - added * mbase/MAstro.[h,cc]: - removed * mbase/Makefile, mbase/BaseLinkDef.h: - removed MAstro * Makefile: - added mastro - added msql - added mfbase * mtemp/MObservatory.[h,cc], mtemp/MObservatoryLocation.[h,cc]: - removed * merpp.cc: - added Sql support * mraw/MRawFileRead.h: - added GetFileName * msql/Makefile, msql/SqlLinkDef.h, msql/SqlIncl.h, MSQLServer.[h,cc], MSqlInsertRun.[h,cc]: - added * mfilter/MF.[h,cc], mfilter/MFDataChain.[h,cc], mfilter/MFDataMember.[h,cc], mfilter/MFEventSelector.[h,cc], mfilter/MFEventSelector2.[h,cc], mfilter/MFRealTimePeriod.[h,cc]: - moved to mfbase * mfbase/Makefile, mfbase/FBaseLinkDef.h, mfbase/FBaseIncl.h: - added * merpp.cc: - implemented control of gDebug (root debugging) * mfileio/MWriteAsciiFile.[h,cc], mfileio/MWriteFile.[h,cc], mfileio/MWriteRootFile.[h,cc]: - implemented CheckAndWrite return value * mfileio/MWriteRootFile.cc: - fixed updating already existing branches (eg concatenating report files) * macros/dohtml.C, macros/rootlogon.C: - added mastro - added mfbase - added msql * mraw/MRawEvtHeader.h: - implemented GetNumTrigLvl1 - implemented GetNumTrigLvl2 2004/02/25: Markus Gaug * mcalib/MExtractBlindPixel.[h,cc], mcalib/MExtractPINDiode.[h,cc], mcalib/MExtractedSignalBlindPixel.[h,cc], mcalib/MExtractedSignalPINDiode.[h,cc], mcalib/Makefile, msignal/Makefile, mcalib/CalibLinkDef.h, msignal/SignalLinkDef.h: - moved blindpixel and PINdiode extractors to msignal * mcalib/MCalibrationQECam.[h,cc], mcalib/MCalibrationQEPix.[h,cc]: - two new classes to hold the quantum efficieny information of the calibration * msignal/MArrivalTimeCalc.[h,cc] - fill now MArrivalTimePix instead of MArrivalTime * mcalib/MHCalibrationChargeCam.cc - display only valid pixels for the corr. values in GetPixelContent * mcalib/MHCalibrationRelTimeCam.cc - is now filled from MArrivalTimeCam instead of MArrivalTime * macros/calibration.C - divided into two macros: calibration.C using the MJPedestal standard procedure and pedestalstudies.C using the old procedures * macros/pedestalstudies.C - new macro containing the first previous part of calibration.C * mcalib/MCalibrationChargeBlindPix.h, mcalib/MCalibrationChargePINDiode.h, mbase/MAGIC.h, mjobs/MJCalibration.cc: - definition of PulserColot_t in MAGIC.h. 2004/02/25: Hendrik Bartko * macros/rootlogon.C - set the include path also to msignals/ * manalysis/MExtractSignal.[h,cc], manalysis/MExtractSignal2.[h,cc], manalysis/MExtractedSignalCam.[h,cc], manalysis/MExtractedSignalPix.[h,cc], manalysis/MArrivalTime.[h,cc], manalysis/MArrivalTimeCalc.[h,cc], manalysis/MArrivalTimeCalc2.[h,cc]: - removed * manalysis/Makefile, manalysis/AnalysisLinkDef.h: - removed classes mentioned above * msignal/MExtractSignal.[h,cc], msignal/MExtractSignal2.[h,cc], msignal/MExtractedSignalCam.[h,cc], msignal/MExtractedSignalPix.[h,cc], msignal/MArrivalTime.[h,cc], msignal/MArrivalTimeCalc.[h,cc], msignal/MArrivalTimeCalc2.[h,cc]: - added * msignal/Makefile, msignal/AnalysisLinkDef.h: - added classes mentioned above * mfilter/Makefile, mcalib/Makefile, mjobs/Makefile, mmain/Makefile: - added include msignal 2004/02/25: Wolfgang Wittek * mcalib/MCalibrateData.[h,cc] - initialize size for MPedPhotCam 2004/02/24: Wolfgang Wittek * manalysis/MSourcPosfromStarPos.[h,cc] - change member function SetSourceAndStarPosition() to expect sky coordinates in the standard units - generalize to more than 1 star - the class is not yet fully tested * mfilter/MFSelBasic.[h,cc] - change default values of cuts 2004/02/24: Markus Gaug * mjobs/MJCalibration.cc, macros/calibration.C, macros/bootcampstandardanalysis.C, macros/pedphotcalc.C: - added MCalibrationChargeBlindPix to plist - added new filling of histograms with MFillH - changed SetPulserColor to MCalibrationChargeBlindPix and MCalibrationChargePINDiode * mcalib/MHCalibrationChargeBlindPix.[h,cc]: - receives a pointer to MCalibrationChargePINDiode which is filled with the results and told to calculate the fluxes in the Finalize function - is filled via MFillH from MExtractBlindPixel - SetPulserColor directly in this class * mcalib/MCalibrationChargeBlindPix.[h,cc] - new storage container of the blind pxiel resutls, replaces MCalibrationBlindPix * mcalib/MCalibrationChargeCalc.[h,cc]: - does not fill the histograms any more, but does ony the calculations in the postprocess. No pointer to MExtractPINDidoe or MExtractBlindPixel any more. * mcalib/MCalibrationChargePix.cc - discovered an error in the calculation of phe's in CalcFFactorMethod(). The average QE was applied twice. This error had been introduced on 13/02/04 - loosened criterium convFFactorRelErrLimit from 0.1 to 0.2 - CalcFFactor asks for IsChargeValid before calculating anything * mcalib/MCalibrationChargePINDiode.[h,cc] - added function SetFluxOutsidePlexiglassAvailable - SetPulserColor directly in this class * mcalib/MCalibrationChargeCam.cc - removed function SetPulserColor from here * mcalib/MCalibrationPINDiode.[h,cc], mcalib/MHCalibrationConfig.h, mcalib/MHCalibrationPINDiode.[h,cc], mcalib/MCalibrationBlindPix.[h,cc], mcalib/MHCalibrationBlindPixel.[h,cc]: - removed since obsolote * mcalib/MHCalibrationChargePix.cc - make fPickup an Int_t * mcalib/MCalibrate.cc - test validity of every calibration method before retrieving conversion factors * mcalib/MHGausEvents.[h,cc] - add possibility to set fit ranges in call to FitGaus - make function CreateXaxis protected 2004/02/23: Markus Gaug * mraw/MRawEvtPixelIter.h - include GetNumHiGainSamples and GetNumLoGainSamples * mcalib/MExtractedSignalBlindPixel.h, mcalib/MExtractBlindPixel.[h,cc]: - included storage of pedestal * mcalib/MHGausEvents.[h,cc] - make the fit functions protected 2004/02/22: Markus Gaug * mfilter/MFCosmics.[h,cc] - fMaxNumEmpty changed from absolute number to relative number of pixels * mcalib/MHGausEvents.h - remove the "->" from the pointers which are initialized only in certain cases. The streamer did not work in case that MFGausFit was left at the NULL pointer. 2004/02/21: Markus Gaug * manalysis/MExtractedSignalPix.[h,cc] - changed variable fIsLoGainUsed to fLoGainUsed - added function GetNumHiGainSaturated() 2004/02/20: Markus Gaug * mcalib/MHCalibrationChargeHiGainPix.[h,cc], mcalib/Makefile, mcalib/MHCalibrationChargeLoGainPix.[h,cc], mcalib/CalibLinkDef.h - new class to replace MHCalibrationPixel, based on MHCalibrationChargePix * mcalib/MCalibrationChargeCalc.[h,cc] mcalib/MCalibrationChargeCam.[h,cc] mcalib/MCalibrationChargePix.[h,cc] mcalib/MCalibrationChargePINDiode.[h,cc] mcalib/MCalibrationCalc.[h,cc], mcalib/MCalibrationCam.[h,cc], mcalib/MCalibrationPINDiode.[h,cc]: - added the "charge" versions, remove the old ones. The histograms should be filled in the MH... versions independently of MCalibrationChargeCalc. This is fully realized for the PIN Didoe now and will later be so for the pixels and the blind pixel. * mcalib/MHCalibrationChargePINDiode.[h,cc] - receives a pointer to MCalibrationChargePINDiode which is filled with the results and told to calculate the fluxes in the Finalize function * mcalib/MCalibrate.[h,cc], mcalib/MCalibrateData.[h,cc], mcalib/MMcCalibrationCalc.[h,cc], mjobs/MJCalibration.[h,cc], manalysis/MMcCalibrationUpdate.[h,cc], mjobs/MJExtractSignal.[h,cc], manalysis/MGeomApply.cc, mcalib/Makefile, mcalib/CalibLinkDef.h, macros/calibration.C, macros/bootcampstandardanalysis.C, macros/pedphotcalc.C: - replace MCalibrationCam by MCalibrationChargeCam - replace MCalibrationCalc by MCalibrationChargeCalc 2004/02/19: Markus Gaug * mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationCam.cc, mcalib/MCalibrate.cc, mcalib/MCalibrateDate.cc, manalysis/MMcCalibrationUpdate.cc: - standardized naming of variables containing "Error", this also affected the calling functions MCalibrate, MMcCalibrationUpdate and MCalibrateData * mcalib/MCalibrationCam.cc, mcalib/MCalibrationPix.cc, mcalib/MCalibrationCalc.cc, mcalib/MCalibrate.cc, mcalib/MCalibrateData.cc, mcalib/MCalibrationConfig.h: - took out some configuration numbers and put them directly into the class - remove completely MCalibrationConfig.h 2004/02/19: Abelardo Moralejo * mhist/MHEvent.[h,cc]: - Changed names of Event "types" to make them more descriptive. Former kEvtSignal is now called kEvtSignalDensity, and indicates pixel content scaled by area. Added kEvtSignalRaw, which corresponds to pixel content (with no scaling) in whatever units (this depends on how the MHEvent object is filled!). The default constructor initializes type=kEvtSignalRaw. * mmain/MEventDisplay.cc - Changed filling of evt1 and evt2. Now they are filled with raw content of MCerPhotEvt. Since in MEventDisplay, MCerPhotEvt is still filled uncalibrated (hence in ADC counts), this means that what will be now shown in Mars' camera display is now the signal in each pixel without scaling with pixel area. Given that the default flat fielding is such that equal light density corresponds to equal absolute signal (in ADC counts), this is more reasonable, and allows to check for instance how the relative pixel gains are adjusted by looking at calibration events. To be FIXED: there is however an "inconsistency" in MEventDisplay, and it is that MCerPhotEvt is still used to keep uncalibrated signals. To be replaced by MExtractedSignalCam? 2004/02/19: Thomas Bretz * manalysis/MCerPhotEvt.h: - added operator= to MCerPhotEvtIter -- is this correct? * mhist/MHCamera.[h,cc]: - added member function to calculate minimum content and maximum content for a single sector - Added possibility to get a projection for a single sector. - GetMinimum/GetMaximum now only takes used pixels into account (you can request all pixels using a different member function) - fixed projection (projection only took pixels with contents!=0 instead of 'used' pixels - Don't call Sumw2() anymore for projection * mjobs/MJPedestal.cc: - added MPedestalCam to output again - MPedestalCam was fixed yesterday - Added Histograms for the two camera halves 2004/02/18: Markus Gaug * macros/calibration.C - fixed a buggy display of the F-Factor method * mcalib/MCalibrationCalc.cc - calculate the F-Factor method already in the post-Process * mcalib/MCalibrationPix.h - move CalcFFactorMethod to public 2004/02/18: Abelardo Moralejo * mtools/MCubicSpline.cc - in Init, corrected initialization of arrays temp and ysd, which was done with n-1 elements instead of n. * mgui/MHexagon.cc - added comment explaining the algorithm. - changed explicit values of Sin and Cos 60 degrees by const variables (more readable). 2004/02/18: Hendrik Bartko * msignal/: - removed the backup files *~ - removed the object files *.o - removed the files SignalCint.* * mgui/MHexagon.cc - added comment explaining the algorithm. 2004/02/18: Thomas Bretz * manalysis/MPedestalCam.[h,cc]: - Changed order of derivements - seems to be VERY important! - changed GetSize from UInt_t to Int_t which is the type of TClonesArray::GetSize() ! * mfileio/MReadReports.cc: - skip trees with no entries * mgui/MCamEvent.cc: - added a comment * mhbase/MFillH.cc: - in case SetupFill returns kFALSE and kCanSkip is set Skip task * mraw/MRawFileRead.cc: - don't print warning in case of none executions * manalysis/MArrivalTimeCalc2.cc: - added some const-qualifiers 2004/02/17: Raquel de los Reyes * macros/CCDataCheck.C - Added some improvements in the plots. 2004/02/17: Abelardo Moralejo * macros/readrfl.C - Added missing gPad->cd(1), otherwise the display of events was not updated. * mgui/MHexagon.cc - DistanceToPrimitive(Float_t px, Float_t py) Changed check of whether px,py is inside the pixel or not. Previous algorithm was just an approximation. 2004/02/17: Raquel de los Reyes * mcamera/MCameraHV.h - Now it derives from a MCamEvent class and implemented the GetPixContent() and DrawPixelContent() functions. Added the GetMean function to get the mean HV settings of the camera. * macros/CCDataCheck.C - Added the HV settings plots. 2004/02/17: Hendrik Bartko * msignal: - new: directory for all signal and time extraction classes * msignal/MArrivalTimeCam.[h,cc], manalysis/Makefile, msignal/AnalysisLinkDef.h, MGeomApply.cc: - new: Storage Container for the ArrivalTime in the camera * msignal/MArrivalTimePix.[h,cc], manalysis/Makefile, msignal/AnalysisLinkDef.h: - new: Storage Container for ArrivalTime information of one pixel * msignal/Makefile, SignalCint.[h,cc], SignalDep.d, SignalIncl.h, SignalLinkDef.h - auxiliary files for msignal directory * manalysis/MArrivalTimeCalc2.[h,cc]: - added functionality to compute error of the extracted ArrivalTime - calculated ArrivalTime is stored in MArrivalTimeCam * manalysis/MGeomApply.cc - geometry is applied to MArrivalTimeCam * Makefile: - directory msignal is included 2004/02/17: Sebastian Raducci * mtools/MCubicSpline.[h,cc] - little corrections in minimums evalustion methods - changed constructors (they require the fadc slices to be const) * macros/spline.C - changed according to the MCubicSpline new constructors * manalysis/MArrivalTimeCalc.[h,cc] - changed to use the MCubicSpline class intead of the TSpline class - warning: now the arrival time is again the maximum of the spline, soon it will be changed to half maximum 2004/02/17: Wolfgang Wittek * manalysis/MSourcPosfromStarPos.[h,cc] - new class; calculates the position of the source in the camera from the position of a star in the camera and puts it into MSrcPosCam 2004/02/16: Abelardo Moralejo * mcalib/MMcCalibrationCalc.cc - Fixed two typos in screen output. 2004/02/16: Markus Gaug * mcalib/MCalibrationPix.cc - documentation from David's email added - EffectiveQE decreased from 0.2 to 0.18 (see documentation) * mcalib/Makefile, mcalib/CalibLinkDef.h: - added MExtractBlindPixel and MExtractedSignalBlindPixel * mcalib/MExtractBlindPixel.[h,cc] - new signal extractor for the Blind Pixel * mcalib/MExtractedSignalBlindPixel.[h,cc] - new container for the extracted signal of the BlindPixel * mcalib/MCalibrationCalc.[h,cc] - does not extract signal from Blind Pixel any more, searches for MExtractedSignalBlindPixel and fills the hists from there * macros/calibration.C, macros/bootcampstandardanalysis.C, macros/pedphotcalc.C, mjobs/MJCalibration.cc: - introduce the blind pixel and PIN diode extraction in the macro * manalysis/MPedestalCam.h - changed type of fTotalEntries from ULong_t to UInt_t - fixed documentation of fTotalEntries * manalysis/MPedCalcPedRun.h - changed type of fNumSamplesTot from ULong_t to UInt_t * mcalib/MHGausEvents.h - changed type of fCurrentSize from ULong_t to UInt_t * mcalib/MCalibrationConfig.h - removed gkConversionHiLo and gkConversionHiLoErr which is now directly in the class MCalibrationPix 2004/02/16: Thomas Bretz * manalysis/AnalysisLinkDef.h: - added missing MCerPhotEvtIter * merpp.cc: - added possible usage of database * star.cc: - moved source code into new class MJStar - preliminary * manalysis/MCerPhotPix.cc: - updated class header - fixed Print-output * mbase/MAGIC.h: - removed definition of MLog * mbase/MArgs.h: - removed include of MAGIC.h * mbase/MLog.h: - added extern definition of gLog * mbase/MParContainer.[h,cc]: - move body of constructors to source file * mcalib/MCalibrate.cc, mcalib/MCalibrateData.cc, mraw/MRawCrateArray.cc, mraw/MRawCrateData.cc, mraw/MRawEvtData.cc, mraw/MRawEvtHeader.cc, mraw/MRawRead.cc, mraw/MRawEvtPixelIter.cc, mraw/MRawFileWrite.cc: - fixed documentation header * mcalib/MMcCalibrationCalc.[h,cc]: - fixed documentation header - fixed usage of FindCreateObj and FindObject - removed data member to count entries (use histogram instead) - use TH1 function Integral instead of doing it manually * mfilter/MFCosmics.cc: - fixed documentation * mimage/MHillas.cc, mimage/MImgCleanStd.cc, mimage/MNewImagePar.[h,cc]: - replaced for-loops by Iterators * mraw/MRawFileRead.cc, mraw/MRawSocketRead.cc: - fixed documentation header - check return value of MRawRunHeader::ReadEvt * mraw/mraw/MRawRunHeader.[h,cc]: - fixed documentation header - added return value to MRawRunHeader::ReadEvt - added constant number for max format version - preliminary (should by a static data member) * mcalib/MHCalibrationPINDiode.cc: - do not delete pointers in the destructor which are already deleted in the base class - reset histograms in Clear() * mcalib/MHCalibrationPixel.cc: - after deletion of instances in Clear() initialize pointer to NULL * mcalib/MCalibrationCalc.cc, mcalib/MHCalibrationBlindPixel.cc: - fixed usage of logging stream output levels * manalysis/MPedCalcPedRun.[h,cc]: - removed obsolete fSignals - removed obsolete fNumPixels * manalysis/MPedestalCam.h: - added '->' to fArray * mfileio/MWriteRootFile.cc: - changed some output to make debugging easier * mjobs/MJCalibration.cc: - fixed a bug in drawing * mjobs/MJExtractSignal.cc: - removed MPedestalCam from MWriteRootFile output. When creating the branch it crashes - reason unknown I'll investigate further 2004/02/16: Markus Gaug * mcalib/Makefile, mcalib/CalibLinkDef.h, macros/calibration.C: - added MHCalibrationRelTimePix * mcalib/MHCalibrationRelTimePix.[h,cc], mcalib/MHCalibrationRelTimeCam.[h,cc]: - new classes to fit and display the relative arrival times. - filled from MArrivalTime - need: MFillH("MHCalibrationRelTimeCam","MArrivalTime") * manalysis/MCalibrationCalc.cc - take out all uncommented code referring to the relative arrival time * manalysis/MArrivalTime.h - changed function GetNumPixels to GetSize * macros/bootcampstandardanalysis.C, macros/pedphotcalc.C - included cosmics rejection which was in MCalibrationCalc before 2004/02/14: Markus Gaug * mcalib/Makefile, mcalib/CalibLinkDef.h: - added MHCalibrationChargePINDiode * mcalib/MHCalibrationChargePINDiode.[h,cc] - new class to fill the PIN Diode histograms. Derives from MHCalibrationChargePix and is filled with MFillH from the container MExtractedSignalPINDiode. Will replace MHCalibrationPINDiode entirely soon. * mcalib/MHCalibrationChargePix.[h,cc] - new base class for the calibration charges histogram pixel. Derives from MH and can be filled with the MH with the MH functions. * mcalib/MExtractPINDiode.[h,cc] - new signal extractor for the PIN Diode * mcalib/MExtractedSignalPINDiode.[h,cc] - new container for the extracted signal of the PIN Diode * mcalib/MCalibrationCalc.[h,cc] - remove the PIN Diode signal extraction * manalysis/MHPedestalPix.[h,cc] - new version of MHPedestalPixel, deriving from MHGausEvents. * manalysis/MHPedestalPixel.[h,cc] - old version removed, since obsolete (and erroneous) * manalysis/MHPedestalCam.[h,cc] - histogramming part of MPedestalCam now in own class * manalysis/MPedestalPix.h - removed include of MHPedestalPixel * macros/calibration.C - changed pedestal displays accordingly * mjobs/MJPedestal.h - class TCanvas included (did not compile otherwise) * mhbase/MH.cc - included call to FindGoodLimits(..) in CutEdges() - axe from pointer to reference - "CutEdges" renamed to "StripZeros" * manalysis/MHPedestalPixel.cc, mcalib/MHCalibrationPixel.cc, mcalib/MHCalibrationBlindPixel.cc: - "CutEdges" renamed to "StripZeros" * mcalib/MHGausEvent.[h,cc], mcalib/Makefile, mcalib/CalibLinkDef.h: - replaced by the improved version: MHGausEvents.[h,cc] 2004/02/14: Thomas Bretz * manalysis/MCerPhotEvt.[h,cc]: - added 'Iterator' facility, this will replace some for-loops in the near future * mbase/MTime.[h,cc]: - added a more powerfull interface to get and interprete the MTime contents as string - added a new constructor * mreport/MReportTrigger.h: - fixed GetPixContent * mtools/MCubicCoeff.cc, mtools/MCubicSpline.[h,cc]: - many small changes to simple details (like order of includes) - some speed improvements - many small simplifications - changed parts of the code to be more C++ like (eg Iterators instead of for-loops) - disentangles some if-cases - replaced some math.h function by TMath:: - removed data-member fN (obsolete with iterators) 2004/02/13: Wolfgang Wittek * mcalib/MCalibrateData.[h,cc] - new class; like MCalibrate, but in ReInit it fills the MPedPhot container using informations from MPedestal, MExtracteSignalCam and MCalibrationCam * mcalib/Makefile, mcalib/CalibLinkDef.h - added MCalibrateData * manalysis/MPedestalWorkaround.[h,cc] - create MMcEvt container and fill with theta = 10.0 - set pedestalRMS = 0. if it is > 10.0 * manalysis/MSupercuts.[h,cc] - change default values of parameters * manalysis/MSupercutsCalc.[h,cc] - change dNOMLOGSIZE from 4.1 to 5.0 * mhist/MHBlindPixels.[h,cc] - change MPedestalCam to MPedPhotCam * mhist/MHSigmaTheta.[h,cc] - automatic binning for pixel number doesn't work use default binning 2004/02/13: Markus Gaug * mcalib/MCalibrationPix.[h,cc] - added variables gkAverageQE, gkAverageQEErr, and fAverageQE, fAverageQEErr - gkAverageQE initializes to 0.2 (according to David) - gkAverageQEErr initializes to 0.02 (dito) - added new member function: SetAverageQE - call to GetMeanConversionFFactorMethod returns: fMeanConversionFFactorMethod/fAverageQE. - call to GetErrorConversionFFactorMethod returns: errors of fMeanConversionFFactorMethod and fAverageQEErr added quadratically * mcalib/Makefile - split into two parts one comment line 2004/02/13: Thomas Bretz * mbadpixels/MBadPixelsTreat.[h.cc]: - added for new bad pixel treatment * mbadpixels/Makefile, mbadpixels/BadPixelsLinkDef.h: - added MBadPixelsTreat * merpp.cc: - changed the name of the "DC" tree to "Currents" to make MReportRead work correctly with this tree * mbase/MTime.[h,cc]: - Changed UpDMagicTime to support nanosec instead of millisec - exchanged Reset() by Clear() not to clear the yy/mm/dd information away in an eventloop * mraw/MRawEvtHeader.[h,cc]: - implemented decoding of the time-stamp for raw-data files with version>2. Thanks to Marcos. * mraw/MRawRead.[h,c]: - pipe file version number to MRawEvtHeader::ReadEvt - create fake time for file-version<3 * macros/readMagic.C: - changed to use MInteractiveTask * mbase/MPrint.cc: - fixed debugging level of some output * mhist/MHCamera.[h,cc]: - fixed handling in AddNotify (necessayr due to change of inheritance from MCamEvent) - replaced cout by gLog - added fNotify to list of cleanups * mhist/MHEvent.cc, mjobs/MJCalibration.cc, mjobs/MJPedestal.cc: - fixed usage of AddNotify * mfileio/MReadReports.cc: - use a different way to determin whether the tree is a valid tree, skip invalid trees * mfileio/MReadTree.cc: - added another sanity check at the beginning of PreProcess * mhbase/MFillH.[h,cc]: - added bit kCanSkip which skips MFillH in case the necessary container wasn't found. - cd into the corresponding canvas before filling the MH 2004/02/12: Markus Gaug * mbase/MArray.[h,cc]: - changed name of StripZeros * mcalib/MHGausEvent.cc: - corrected call to StripZeros * mcalib/MCalibrationPix.[h,cc] - implemented dummy for combined method * mcalib/MCalibrate.[h,cc] - implemented a dummy for calibration factor 1. (requested by Javier Rico) - implemented combined method - check for valid methods moved to ReInit * mcalib/MCalibrationCalc.cc - removed initialization of non-used nsamples * mcalib/MHCalibrationPixel.[h,cc], mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationCalc.[h,cc] macros/calibration.C - implemented new histograms: HSinglePheFADCSlices and HPedestalFADCSlices They are filled with the FADC slice values of either a s.phe. event or a pedestal event. The decision is taken with the variable: MCalibrationCalc::fBlindPixelSinglePheCut, to be set with a setter * mtools/MFFT.[h,cc] - PowerSpectrumDensity of TArrayI implemented 2004/02/12: Thomas Bretz * mbase/MArray.[h,cc]: - changed argument of CutEdges from pointer to reference * mgeom/MGeomPix.h: - fixed calculation of area of pixel. It was too big for a factor of 2 * mjobs/MJCalibration.cc: - slight change of name of a MHCamera * manalysis/MExtractSignal.cc: - slight change to the creation of the satpixels list * mcalib/MHCalibrationBlindPixel.cc, mcalib/MHCalibrationPixel.cc, mcalib/MHGausEvent.cc: - corrected call to ProjectArray - corrected call to CutEdges * mfilter/MFCosmics.[h,cc]: - small fixes to logging output - small simplification to return statement - declared CosmicsRejection const * mhbase/MH.[h,cc]: - changed argument of ProjectArray from pointer to reference - added missing calcualtion of minimum - removed obsolete SetEntries - changed SetDirectory from NULL to gROOT 2004/02/12: Javier López * macros/pointspreadfunction.C - added new macro that fits with a 2D gaussian the DC spot for an star. It gives you the RMS of the PSF and the center of the star, very useful for misspointing studies. 2004/02/11: Hendrik Bartko * manalysis/MExtractSignal2.cc: - introduced a validity check for the set-function of the window size (even number of slices, WindowSize < NumberSlices) * manalysis/MArrivalTimeCalc2.[h,cc], manalysis/Makefile, manalysis/AnalysisLinkDef.h: - new: introduced the calculation of the arrival time as the signal weighted mean of the time slices in the maximum window 2004/02/11: Markus Gaug * mcalib/MCalibrationCalc.cc: - the blind pixel signal extractor introduced one week ago, counted one FADC slice too little, thus the normalization w.r.t. pedestals was wrong. Now corrected. * manalysis/MExtractSignal.cc, manalysis/MExtractSignal2.cc: - when "WARNING - Lo Gain saturated" occurs, display also the corr. pixel numbers. * mbase/MArray.[h,cc]: - introduced function to cut array edges with zeros. (Thomas, should we keep it there or move it to another class? ) * mcalib/MCalibrationCalc.[h,cc]: - new function SetBlindPixelRange to set start and end of FADC slices used for the blind pixel signal extraction. - remove fEvents which are not necessary any more after the shift to MFCosmics. * mcalib/MHCalibration(Blind)Pixel.[h,cc]: - show the fourier spectrum now with axes in frequency [Hz] instead of inverted events. * mcalib/MHGausEvent.[h,cc], mcalib/Makefile, mcalib/CalibLinkDef.h: - new base class for all kind of events with variables having a Gaussian distribution. Will serve as base class for the existing and new calibration histogram classes. 2004/02/11: Abelardo Moralejo * mmain/MEventDisplay.cc - Switched order of MMcPedestalCopy and MCerPhotCalc in tasklist: MMcPedestalCopy must be executed earlier! 2004/02/10: Raquel de los Reyes * mhist/MHPixVsTime.[h,cc]: - Added a default draw function and replaced the TGraph object by a pointer to a TGraph object. * mreport/MReportTrigger.h: - Now it dereives from a MCamEvent class and implemented the GetPixContent() and DrawPixelContent() functions. * maccros/CCDataCheck.C: - An update of the previous macro. New plots: subsystems status and macrocells trigger. 2004/02/10: Markus Gaug * mcalib/MCalibrationCam.cc: - fixed documentation * mhbase/MH.[h,cc]: - new function ProjectArray * mcalib/MHCalibrationPixel.[h,cc], mcalib/MHCalibrationBlindPixel.[h,cc]: - use ProjectArray from MH to plot the projection of the fourier spectrum * mfilter/MFCosmics.[h,cc], mfilter/Makefile, mfilter/FilterLinkDef.h: - new filter removing cosmics, the same as in MCalibrationCalc where it was removed now. Call: MFCosmics cosmics; MContinue cont(&cosmics); tlist.AddToList(&cont); * mcalib/MCalibrationCalc.[h,cc]: - removed cosmics rejection from there * macros/calibration.C, mjobs/MJCalibration.cc: - changed cosmics rejection to the filter algorithm 2004/02/09: Markus Gaug * mcalib/MCalibrationBlindPix.[h,cc]: - added histogram to display the average in FADC slices of all single and double phe events * mcalib/MCalibrationCalc.cc: - fill histograms of single-phe events with higain and logain sampls * mcalib/MCalibrationCam.[h,cc], mcalib/MCalibrationCalc.cc, mcalib/MCalibrationConfig.h: - take all pixel areas out of MGeomPix::GetA(), remove all previous areas - calculate photon fluxes from blind pixel and PIN diode, use area only to fill the conversion factors in MCalibrationPix * mcalib/MJCalibration.cc: - display of number of photons for Blindpixel and PIN Diode Method changed to display of photon flux which is the actually calculated quantity 2004/02/09: Thomas Bretz * mbadpixels/*: - added * Makefile: - added MBadPixels * manalysis/MGeomApply.cc: - fixed class description * mjobs/MJCalibration.[h,cc], mjobs/MJExtractSignal.[h,cc]: - added bad pixel treatment * mjobs/MJPedestal.[h,cc]: - reorganized order of functions - removed a nonsense scrren output (some BLABABLA or so) * mjobs/Makefile: - added include for mbadpixels * mmain/MBrowser.cc: - do not call construtor of TGTReeLBEntry if pic0=0 2004/02/09: Raquel de los Reyes * mcamera/MCameraLids.h, mreport/MReportCamera.h - Added the "Get" functions to access the private data members of the class. 2004/02/09: Markus Gaug * MMcCalibrationUpdate.cc, MCalibrate.cc, MCalibrationPix.cc, MCalibrationPix.h: - replace MCalibrationPix->IsChargeFitValid() by IsChargeValid() because we can calibrate with the histogram mean and RMS even if the fit is not OK. Thus, there is a question: IsFitted() and IsChargeValid(), i.e. does the charge make any sense? * MCalibrationCam.cc, MCalibrationConfig.h, MCalibrationCalc.cc: - found serious bug in calculation of conversion factors for the outer pixels: GetMeanConversionBlindPixelMethod and GetMeanConversionPINDiodeMethod did not correct for the area of the outer pixel, this did only MCalibrationCam::GetPixelContent which is not used by MCalibrate 2004/02/06: Markus Gaug * mgeom/MGeomCam.h - replaced in Comment of fPixRatio: "ratio between size of pixel idx and pixel 0" by "ratio between size of pixel 0 and pixel idx" * manalysis/MPedestalCam.cc - catch calls to MHPedestalPixel in case that they are not filled This led previous calls to segmentation violations - remove include of MHExtractedSignalPix * manalysis/MHExtractedSignalPix.[h,cc] - is everything in MHPedestalPixel, so removed it again * mjobs/MJPedestal.cc - put the projections into Display() - correct the input of Display (0: pedestal, 1: pedestalerror, 2: pedRMS, 3: pedRMSerror) * manalysis/MHPedestalPixel.cc - increased number of bins in for charges plot * mtools/MFFT.[h,cc] - possibility to have PSD directly from TArray * mjobs/MJCalibration.[h,cc] - fixed displays - replaced MExtractSignal by MExtractSignal2 * mcalib/MHCalibrationPixel.[h,cc], mcalib/MHCalibrationBlindPixel.[h,cc], mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationBlindPix.[h,cc], mcalib/MCalibrationPINDiode.[h,cc], mcalib/MHCalibrationPINDiode.[h,cc]: - remove histograms MHChargevsN..., now keep TArrays directly - check for oscillations for all pixels (and you will not trust your eyes when you look at the results :-(((( * mcalib/MCalibrationCalc.[h,cc] - remove ArrivalTime -> go to separate class - remove BlindPixel and PIN Diode overflow, now handled directly inside the corr. classes. - remove SkipTimeFits -> go the arrival time class * mcalib/MCalibrationCam.h - new getters for number of photons - removed timeslicewidth -> go the corr. time containers * mcalib/MCalibrationCam.cc - removed times of GetPixelContent - added OscillationChecks in GetPixelContent * manalysis/MMcCalibrationUpdate.cc - remove calpix.SkipTimeFits which is now obsolet * macros/calibration.C - all previous changes now in this macro. - (NB: Thomas, du brauchst in MJCalibration nicht mehr aendern, das ging diesmal in einem Aufwasch) 2004/02/06: Thomas Bretz * mhist/MHPixVsTime.[h,cc]: - changed such that you can set the name of the time container now * mraw/MRawRunHeader.[h,cc]: - added GetMaxPixId() * mraw/MRawEvtData.cc: - fixed wrong size calculation for fABflags 2004/02/06: Oscar Blanch * mmc/MFadcDefine.h && mmc/MMcFadcHeader.cxx - We cahnged the name (and values) of the global variable MFADC_RESPONSE_AMPLITUDE to MFADC_RESPONSE_INTEGRAL 2004/02/05: Markus Gaug * mcalib/MHCalibrationPixel.[h,cc] - put an NDF limit for the fit - removed all TStrings and replace them by Form(..) - Check for nan's of all returned fit values * mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationCam.cc: - reshuffled HiLoGainConversion, calculation of F-Factor method, - calculation of total F-Factor of the readout. * mcalib/MCalibrationCam.cc - include relative times to display with GetPixelContent * mcalib/MCalibrationCalc.[h,cc] - flag to skip Hi-Lo Calibration - Hi-LO Graph not filled any more after overflow of ChargevsN - fill the blind pixel differently from the rest of pixels * mcalib/MCalibrate.cc: - call to const MCalibrationPix &pix replaced by MCalibrationPix &pix * manalysis/MArrivalTimeCalc.cc - default step width 100 ps. - look for half maximum (at rising edge) * manalysis/MExtractSignal.[h,cc] - removed uncommented code (arrival time) - set start byte back by one like it was before TB's changes (does not affect the calculation of number of FADC slices) * manalysis/MExtractSignal2.[h,cc] - removed uncommented code (arrival time) * manalysis/MHPedestalPixel.[h,cc] - is now filled with total pedestals (not per slice), but results are renormalized to values per slice (this is not to screw up with the pedestal RMS and the derived uncertainties) - new function Renorm(nslices) * manalysis/MPedestalCam.[h,cc] - introduced function Clone() (like proposed by TB) - call to MHPedestalPixel operator() not const any more - take out lots of uncommented code - found bug in initialization of hists. SetupFill is called in PreProcess, therefore, TObjArray is not yet enlarged there. Now, InitUseHists is called in Fill - MHPedestalPixel is now filled with total pedestals (not per slice), but results are renormalized to values per slice (this is not to screw up with the pedestal RMS and the derived uncertainties) * manalysis/MPedCalcPedRun.cc - added author - split calculation of RMS into two steps to make it more clear to the user * macros/calibration.C - found bug introduced two days ago, namely calculating pedestlas with MExtractSignal2 which is now fixed - Skip HiLoConversionCalibration 2004/02/05: Abelardo Moralejo * macros/starmc2.C - added 3rd argument, "kFALSE", to call of MWriteRootFile::Add for both MMcEvt and MMcRunHeader since these containers are not present in real data. Name of macro is no longer adequate if we will use it for calibrated real data (to be changed if so). 2004/02/05: Sebastian Raducci * mtools/MCubicSpline.[h,cc] - added - this class will take the place of the TSpline class to calculate arrival times * mtools/MCubicCoeff.[h,cc] - added - this class is used by MCubicSpline to store coefficients * macros/spline.C - added - test macro. Shows how to use the MCubicSpline class - it could be used to test the methods of the Spline class 2004/02/05: Thomas Bretz * mmain/MBrowser.cc: - fixed a double deletion of a TGLayoutHints 2004/02/04: Markus Gaug * mmain/MBrowser.cc: - corrected TGTReeLBEntry for TGTreeLBEntry 2004/02/04: Thomas Bretz * manalysis/MExtractSignal2.cc: - don't allow odd numbers for the window size * mfilter/MFilterList.cc: - corrected a wrong logging message * mmain/MBrowser.cc: - added '/data/MAGIC' as shortcut in the combo box * mraw/MRawEvtPixelIter.cc: - optimized calculation of MaxIdx 2004/02/04: Abelardo Moralejo * macros/starmc2.C - removed unnecessary variables BinsHigh, BinsLow 2004/02/04: Markus Gaug * manalysis/MPedestalCam.[h,cc], manalysis/MPedestalPix.[h,cc], manalysis/MPedCalcPedRun.[h,cc], manalysis/MHPedestalPixel.[h,cc], macros/calibration.C: - histograms are now filled with MFillH as proposed and coded by Thomas Bretz. Some modifications had to be done, however. - Class to hold MHPedestalPixel is still MPedestalCam - MPedCalcPedRun does nothing any more (except from what is was doing before) * manalysis/MExtractSignal.cc - remove uncommented code * mcalib/MCalibrationCalc.[h,cc] - modified way to handle histogram overflow: Now flags are set and ChargevsN histogram is not tried to be filled subsequently 2004/02/03: Markus Gaug * manalysis/MHExtractedSignalPix.[h,cc] - added Thomas B. modified version of MHPedestalPixel. Later will remove MHPedestalPixel * manalysis/MCalibrationPix.[h,cc], manalysis/MHCalibrationPixel.[h,cc], manalysis/MCalibrationCam.cc, macros/calibration.C: - now split completely absolute and relative times. Absolute times are not fitted, but their histogram mean and rms are returned. 2004/02/03: Thomas Bretz * mfileio/MReadTree.cc: - fixed handling of -1 entries in AddFile: root 3.10/02 crashed * manalysis/MExtractSignal.[h,cc]: - moved code to extract the signal from Process to new member function FindSignal, I left the arrival time extraction as commented-out code in the code just as a demonstration to do this very fast. 2004/02/02: Markus Gaug * manalysis/MPedCalcPedRun.cc - corrected formulae in Class description * mcalib/MCalibration.[h,cc], mcalib/MHCalibration.[h,cc], manalysis/MMcCalibrationUpdate.cc: - calculate relative times and absolute times. Fit only the relative ones. 2004/02/02: Abelardo Moralejo * manalysis/MMcCalibrationUpdate.cc, MMcPedestalCopy.cc - removed file type check (MC or data) from PreProcess since now run headers are not yet known at that point. * mcalib/MMcCalibrationCalc.cc - same as above. * NEWS - updated. 2004/02/02: Thomas Bretz * manalysis/MExtractSignal2.[h,cc]: - added new task which takes a given number of slices with the highest integral content as signal. * manalysis/Makefile, manalysis/AnalysisLinkDef.h: - added MExtractSignal2 2004/01/30: Abelardo Moralejo * macros/starmc.C - changed default FADC integration range (more adequate for coming camera version). * macros/mccalibrate.C, starmc2.C - added. First macro transforms input files from camera simulation into files with pixel data already calibrated in photons. The second reads in an already calibrated data file and produces an output file with Hillas parameters. Both together do the same as starmc.C, but it is convenient to have files containing calibrated pixel information. 2004/01/30: Thomas Bretz * mbase/MDirIter.h: - added GetNumEntries * mhist/MHEvent.cc: - added a dynamic_cast from MParContainer to MCamEvent to get the correct pointer to the correct base-class. * mbase/MStatusDisplay.cc: - In EventInfo check whether gPad==0 * mfileio/MReadMarsFile.cc: - removed reading RunHeaders from PreProcess, this resulted in strange behaviour of writing RunHeaders - fixed consistency check for RunType accordingly * mfilter/MFilterList.cc: - do not skip adding filter if only a filter with the same name exists * mraw/MRawFileRead.cc: - added an output message if run header is not accessible * mraw/MRawRunHeader.[h,cc]: - initialize fRunType to new enum kRTNone * mfilter/MFGeomag.cc: - set fResult to kFALSE at the beginning of Process - according to this removed setting fResult=kFALSE before return - replaced some float by Float_t - added some const-qualifiers - replaced (rig<0.5/pr*R*(r2-r1)+r1) by (rig-r1)*prGetPixelContent(...) * manalysis/MCalibrationCalc.cc - retrieve default arrival time from MRawEvt * manalysis/MCalibrationBlindPix.cc, manalysis/MCalibrationPix.cc - check for NaN's in fit results 2004/01/29: Abelardo Moralejo * mfileio/MWriteFile.h - added missing declaration of ReInit * manalysis/MMcCalibrationUpdate.cc - added call to MCalibrationCam::SetBlindPixelMethodValid(kTRUE) to adapt to recent changes in MCalibrate. 2004/01/29: Thomas Bretz * manalysis/MArrivalTime.h, manalysis/MCameraData.h, manalysis/MCerPhotEvt.h, manalysis/MExtractSignalCam.h, manalysis/MPedPhotCam.h, manalysis/MPedestalCam.h, mcalib/MCalibrationCam.h, mcamera/MCameraDC.h, mraw/MRawEvtData.h, mreflector/MRflEvtData.h: - split derivement into MParContainer and MCamEvent * manalysis/MExtractSignalCam.[h,cc]: - removed obsolete MExtractSignal::ReInit - added -> to fArray * mbase/MParList.h: - added a new bit kIsProcessing * mbase/MTaskList.cc: - fixed the handling of kDoNotReset and the bahaviour of SetReadyToSave, such that it is possible to write all headers * mfileio/MWriteFile.cc: - added ReInit which also calls CheckAndWrite * mgui/MCamEvent.h: - does not derive from MParContainer anymore 2004/01/29: Markus Gaug * mcalib/MCalibrationCalc.[h,cc], mcalib/MCalibrationCam.[h,cc], mcalib/MCalibrationConfig.h - put gkCalibrationBlindPixelId and gkCalibrationPINDiodeId directly into the corresponding classes. 2004/01/29: Nicola Galante * mhistmc/MHMcTriggerLvl2.[h,cc]: - In method MHMcTriggerLvl2::GetHistByName(const TString name) added string checking to return also fHistCellPseudoSize, fHistCellPseudoSizeNorm and fHistCellPseudoSizeEnergy. - Added inline functions GetHistCellPseudoSize() and GetHistCellPseudoSizeNorm(). 2004/01/28: Javier Rico * mcalib/MCalibrate.[h.cc] - include possibility to select the calibration method to be used 2004/01/28: Markus Gaug * mcalib/MCalibrate.[h.cc] - corrected Int_t ReInit() to Bool_t ReInit(MParList *pList) * mcalib/MCalibrationCalc.[h,cc], mcalib/MCalibrationCam.[h,cc]: - included flags to indicate if Blind Pixel Method or PIn Diode method was OK. Up to now, program stopped, if one of the two methods was chosen but not able to being executed. * manalysis/MArrivalTimeCalc.cc, manalysis/MExtractSignals.cc, manalysis/MGeomApply.cc: - put all missing InitSize(npixels) into MGeomApply * manalysis/MPedCalcPedRun.[h,cc], manalysis/MPedestalCam.[h,cc], manalysis/MPedestalPix.[h,cc], manalysis/MHPedestalPixel.[h,cc], manalysis/Makefile, manalysis/AnalysisLinkDef.h: - include possibility to fit the pedestals with Gaussian. - old methods are not affected. - add new method with MPedCalcPedRun::SetUseHists() 2004/01/28: Abelardo Moralejo * mcalib/MMcCalibration.cc - fixed wrong variable type in call to TH1F constructor (number of bins is now integer), which resulted in a compilation warning. 2004/01/28: Thomas Bretz * manalysis/MPedestalCam.cc: - removed unwanted CheckBound from operators. CheckBounds is ONLY ment for really old MC files and will be removed in the future anyhow. * mcalib/MHCalibrationPixel.h: - removed obsolete include of MFFT * manalysis/MCerPhotAnal.cc, manalysis/MCerPhotCalc.cc, manalysis/MPedestalCam.[h,cc]: - removed use of obsolete MPedestalCam::CheckBounds. This was a workaround for a 'bug' in very old camera files, which is not necessary anymore. * manalysis/MCerPhotAnal2.[h,cc]: - replaced MPedestalCam by MPedPhotCam * manalysis/MExtractSignal.cc: - some small simplification to the signal extraction - removed some obsolete variables - replaced for by while - removed obsolete casts * mmain/MEventDisplay.cc: - gave names to the filters - removed adding MHCamera to fList because it was deleted twice * mhist/MHCamera.cc: - fixed usage of fPainter in Paint() - title was not updated correctly 2004/01/28: Sebastian Raducci * manalysis/MArrivalTime.[h,cc]: - removed all the code relative to the cluster evaluation 2004/01/27: Markus Gaug * manalysis/MPedestalPix.cc: - initialize default values to 0 instead of -1. * manalysis/MPedestalCam.[h,cc]: - include CheckBounds, also in operator[] * mcalib/MCalibrationCam.[h,cc]: - apparently, there was a reference to InitSize(UInt_t i) instead of InitSize(Int_t i), where compiler complained, now changed * mcalib/MHCalibration*, mcalib/MCalibration*: - fixed all Clear()'s, Reset()'s, direct intializers 2004/01/27: Thomas Bretz * mdata/MDataChain.cc: - added '%' to supported operators 2004/01/26: Nicola Galante * manalysis/MMcTriggerLvl2.[cc,h]: - Defined some static constants to avoid ugly "magic numbers" in arrays: gsNCells, gsNTrigPixels, gsNPixInCell, gsNLutInCell, gsNPixInLut, fNumPixCell. - Added method MMcTriggerLvl2::GetCellCompactPixel(int cell, MGeomCam *fCam) which computes compact pixels into a given L2T macrocell. - Added method MMcTriggerLvl2::CalcBiggerCellPseudoSize() which computes fCellPseudoSize, the maximum Pseudo Size into L2T macrocells - Added method MMcTriggerLvl2::GetCellPseudoSize() const which returns fCellPseudoSize - Added method MMcTriggerLvl2::IsPixelInCell(Int_t pixel, Int_t cell), which controls whether a pixel belongs to a given L2T cell. - Added method MMcTriggerLvl2::GetMaxCell() const which returns fMaxCell, the cell with the maximum fCellPseudoSize. 2004/01/26: Markus Gaug, Michele Doro * manalysis/MArrivalTime.[h,cc], manalysis/MArrivalTimeCalc.[h,cc]: - moved calculation of arrival time from MArrivalTime to MArrivalTimeCalc. MArrivalTime does not do any Process-job anymore - TSpline5 now on stack. - function to set the stepsize * mcalib/MHCalibrationBlindPixel.[h,cc]: - force mu_{0} in Blind Pixel Fit to be around 0 in fKPoisson4 - implement combined Polya fit and Michele's back-scattered electron fit * mcalib/MHCalibrationPixel.[h,cc], mcalib/MCalibrationPix.cc, mcalib/MCalibrationPINDiode.cc: - combine FitChargeHiGain and FitChargeLoGain into one function * macros/calibration.C - improve double gauss fit a bit 2004/01/26: Thomas Bretz * mraw/MRawEvtPixelIter.[h,cc]: - removed member function GetNumPixels. For more details see mantis. * manalysis/MArrivalTime.[h,cc]: - reorganized includes - fixed InitSize and ClearArray (now Reset) to fit MParContainer definition - for the moment removed usage of fPixelChecked - THIS WILL CRASH YOUR PROGRAM * manalysis/MArrivalTimeCalc.[h,cc]: - reorganized includes - removed many obsolete code, exspecially copy&paste relicts! - fixed usage of InitSize - removed CleanArray. Reset() is called automatically before Process() * manalysis/MExtractedSignalCam.[h,cc]: - added SetLogStream - removed obsolete include MGeomCam - replaced PrintOut by Print - added const-qualifiers to all Getters - fixed documentation * manalysis/MExtractedSignalPix.[h,cc]: - replaced PrintOut by Print - fixed documentation * manalysis/MEventRateCalc.cc, manalysis/MPedCalcPedRun.cc: - replaced memset by Reset() 2004/01/24: Abelardo Moralejo * macros/starmcstereo.C - Added. Example of how to run the analysis chain for MC files containing simulation of stereo systems of 2 telescopes. * mcalib/MCalibrate.cc - Added check that value of signal from MExtractedSignalPix is not the default (error) value. In such a case, the signal in MCerPhotEvt is now set to 0. Before, all pixels got very high values in MCerPhotEvt in case the MRawEvtData object for the event was missing in the file. This happened in MC files, in which in some circumstances an event is written without the pixel information (for instance, when running stereo simulations the pixel data is missing for non-triggered telescopes, but the event headers are present). 2004/01/23: Markus Gaug * manalysis/MExtractSignal.[h,cc], manalysis/MExtractedSignalPix.[h,cc], manalysis/MArrivalTime.[h,cc], mcalib/MCalibrationBlindPix.h, mcalib/MHCalibrationBlindPixel.[h,cc], mcalib/MCalibrationPINDiode.h, mcalib/MHCalibrationPINDiode.[h,cc], mcalib/MCalibrationPix.[h,cc], mcalib/MHCalibrationPixel.[h,cc], mcalib/MCalibrationCalc.[h,cc]: - use MArrivalTime for Storage (or calculation) of time in MExtractSignal - pass from TH1I histos to TH1F for times * mcalib/MCalibrationBlindPix.h, mcalib/MHCalibrationBlindPixel.[h,cc], mcalib/MCalibrationPix.[h,cc], mcalib/MHCalibrationPixel.[h,cc], mcalib/MCalibrationCalc.[h,cc]: - clean up setters - pass to bit-fields for all flags * mcalib/MCalibrationCam.cc - exclude Blind Pixel from Camera display - do not fill &val when return kFALSE * macros/calibration.C - include functions to exclude the blind pixel, calculation of times and quality checks 2004/01/23: Abelardo Moralejo * mcalib/MCalibrate.cc, manalysis/MExtractSignal.cc - Added support (using AddSerialNumber) for stereo MC files. 2004/01/23: Thomas Bretz * mbase/MAstro.cc: - Fixed calculation of MJD. In Ymd2Mjd a plus should be a minus. * mreport/MReport*.[h,cc]: - changed all classes to return Int_t instead of Bool_t in InterpreteBody - changed MReportFileRead such, that a wrong line results in skipping the line instead of abort reading. * manalysis/MExtractSignal.cc: - do not print information for each pixel - it's too much. * mbase/MStatusDisplay.cc: - when reading a status display do not display tabs with the same name than one which is already existing. * mcalib/MCalibrate.cc: - directly store pointer to pixel when setting saturation flag * mcamera/MCameraDC.cc: - fixed some comments * mhist/MHCamEvent.cc: - fixed a crash when no geometry was available * mhist/MHCamera.[h,cc]: - removed obsolete member function SetPix * mbase/MStatusDisplay.[h,cc]: - added EventInfo member function - implemented preliminary redirection of GetObjectInfo to StatusLine2 -> An own status line for this is missing * manalysis/MExtractSignal.[h,cc]: - implemented StreamPrimitive - changed deafults to be static const data members * manalysis/MGeomApply.[h,cc]: - implemented StreamPrimitive 2004/01/23: Abelardo Moralejo * manalysis/MMcCalibrationUpdate.[h,cc] - Added check to guarantee that the FADC simulation parameters of all read files (those used for calibration and those analyzed) are the same. - Added missing support for analysis of stereo files. * mcalib/MMcCalibrationCalc.cc - Removed obsolete FIXME comment. - Added missing support for analysis of stereo files. 2004/01/23: Raquel de los Reyes * macros/CCDataCheck.C - Added the temperature distribution of the optical links and the plots of the LV power supplies. * mcamera/MCameraLV.h - Added the "Get" functions to access the private data members of the class. 2004/01/22: Abelardo Moralejo * manalysis/MMcCalibrationUpdate.[h,cc] - Now ratio of high to low gain is taken from MCalibrationCam if it existed previously in the parameter list, instead of being read again from the MMcFadcHeader. Removed Setter function for fADC2PhInner, no longer necessary. Fixed error regarding the pedestal conversion to photons (did not read conversion factor from preexisting MCalibrationCam object). * mcalib/MMcCalibrationCalc.cc - Changed parameters of the histogram, and also the quantity being histogrammed. Check that input data come from a noiseless camera file before proceeding to do the calibration. Introduced lower size in cut for calibration. Now rhe calibration constant is not calculated from the mean of photons/ADC counts, but from the peak of the histogram. * macros/starmc.C - Introduced new scheme. Now there are two loops over two different sets of files. First loop calculates the calibration constants, second one does the analysis. Introduced comments. Now the histogram used in the light calibration is written to the output file. 2004/01/22: Thomas Bretz * mcalib/MCalibrate.[h,cc], mcalib/MCalibrationCam.[h,cc], mcalib/MCalibrationBlindPix.[h,cc], mcalib/MCalibrationCalc.[h,cc], mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationPINDiode.[h,cc], mcalib/MCalibrationBlindPixel.[h,cc], mcalib/MHCalibrationPixel.[h,cc], mcalib/MMcCalibrationCalc.[h,cc], mcalib/MHCalibrationBlindPixel.[h,cc], mcalib/MHCalibrationPINDiode.[h,cc]: - cleaned up includes 2004/01/22: Raquel de los Reyes * macros/CCDataCheck.C - macro to check the data from the central control (.rep files). 2004/01/22: Markus Gaug * macros/calibration.C - made MStatusDisplay 3 bit smaller * manalysis/MExtractSignal.cc - put fSignals->SetUsedFADCSlices into PreProcess * manalysis/MPedCalcPedRun.cc - calculate PedRMS as RMS of the sums, later renormalized to units of RMS/slice (eliminate the wrong effect of odd and even slices) * mcalib/MCalibrationCalc.cc - if bit SkipBlindPixelFit is set, now number of photons outside plexiglass is not intended to be calculated any more (previous bug) - exclude excluded pixels in eventloop * mcalib/MHCalibrationBlindPixel.[h,cc] - move functions to pointer again (otherwise, Clone will give strange results) 2004/01/21: Abelardo Moralejo * mcalib/MMcCalibrationCalc.[h,cc] - Added. First version of the task intended to calculate the conversion factors from ADC counts to photons in the MC. It has a different aim than the recently renamed class "MMcCalibrationUpdate" (which takes care that the correct pedestals and conversion factors are supplied to each event, but does not really calculate anything). * mcalib/Makefile, CalibLinkDef.h - Added new class MMcCalibrationCalc * manalysis/MMcCalibrationUpdate.[h,cc] - Now the container MCalibrationCam is not created or modified if it is found that one such container already exists in the Parameter list (from a previous calibration). 2004/01/21: Thomas Bretz * mraw/MRawRead.cc: - restore the fake time for all runs (current time stamp in the data seems to be toally nonsense) * mraw/MRawEvtHeader.cc: - removed decoding of real time (current time stamp in the data seems to be toally nonsense) 2004/01/21: Abelardo Moralejo * mmc/MMcEvt.hxx - Uncommented 6 Getter functions (those regarding the number of photons surviving the different stages of simulation). * manalysis/MMcCalibrationUpdate.[h,cc] - Added (see below). * manalysis/MMcCalibrationCalc.[h,cc] - Removed: changed name of this class to MMcCalibrationUpdate, which is more representative of what it really does. Moved the filling of the MCalibrationCam container from Process to ReInit, since it does not change on an event by event basis. Simplified PreProcess (MCalibrationCam was searched for twice). Updated class description and comments. * manalysis/Makefile, AnalysisLinkDef.h - Adapted to change above * macros/starmc.C - Adapted to change above. Changed also task instance name from mccalibcalc to mccalibupdate. 2004/01/21: Raquel de los Reyes * mreport/MReportCC.h, mreport/MReportTrigger.h, mcamera/MCameraHV.h and mcamera/MCameraCalibration.h - Added the "Get" functions (e.g GetStatus() for fStatus) to access the private data members of the class. 2004/01/20: Thomas Hengstebeck * mranforest/MRanForestCalc.[h,cc] - Added member functions Grow (training of RF) and Fill (reading in trained forest from file) which simplify macros. One just needs to call them instead of using MRanForestGrow and MRanForestFill (and the related training and fill loops) in a macro. 2004/01/20: Abelardo moralejo * manalysis/MMcCalibrationCalc.cc - removed call to MCalibrationPix::SetPedestal, which was not needed. 2004/01/20: Thomas Bretz * Makefile: - replaced 'make' by '$(MAKE)' * Makefile.rules: - added Makefile itself to dependencies * mbase/MTask.cc: - added comment about ReInit * mhbase/MH.cc: - do not clear pad in DrawClone if 'same' option given * mhist/MHVsTime.cc: - evaluate 'same' option * mfileio/MReadCurrents.[h,cc]: - obsolete, removed * manalysis/MCerPhotEvt.cc, manalysis/MCerPhotPix.cc: - added some comments 2004/01/20: Abelardo moralejo * mcalib/MHCalibrationPINDiode.cc - Added call to SetDirecory(0) for histograms fHErrCharge, fHPCharge, fHPTime. * manalysis/MCerPhotPix.h: - Changed position of declaration of fIsSaturated to be the last private variable. Otherwise, since in the constructor it is initialized in the last place, a warning is displayed upon compilation in some systems. 2004/01/20: Markus Gaug * mcalib/Makefile, manalysis/Makefile: - include directory ../mtools * mtools/MFFT.[h,cc] - class inherits from TObject now 2004/01/19: Markus Gaug * mcalib/MHCalibrationBlindPixel.[h,cc] - fixed a bug in fFitLegend due to which program crashed by calls to DrawClone - Modified way to change the fit function * mcalib/MHCalibrationPixel.[h,cc] - reordered function calls - removed SetupFill * mcalib/MHCalibrationPINDiode.h - reordered function calls * mcalib/MCalibrationPix.[h,cc] - limits to define fFitValid now as variables in class * mcalib/MCalibrationCam.[h,cc] - reordered function calls - incorporate option to exclude pixels * mcalib/MCalibrationBlindPix.h - Modified way to change the fit function * mcalib/MCalibrationCalc.[h,cc] - Modified way to change the fit function - incorporate option to exclude pixels from configuration file * macros/calibration.C - Modified way to change the fit function - incorporate option to exclude pixels from configuration file 2004/01/19: Javier Rico * manalysis/MPedCalcPedRun.cc, manalysis/MPedPhotCalc.cc - Added documentation of member functions 2004/01/19: Abelardo Moralejo * manalysis/MCerPhotPix.[h,cc] - Added fIsSaturated to flag whether low gain of the pixel is saturated. Added corresponding getter and setter functions. Updated ClassDef to version 2. * mcalib/MCalibrate.cc - Set the new saturation flag of MCerPhotPix to kTRUE if at least one low gain FADC slice is saturated. * mimage/MNewImagePar.[h,cc] - Added new member variable fNumSaturatedPixels to count how many pixels were saturated. Updated ClassDef to version 2. 2004/01/19: Thomas Bretz * manalysis/MPedPhotCalc.[cc,h]: - fixed order of includes - removed obsolete forward declarations - removed obsolete data member fNumPixels (stored already twice in the two TArrayF) - fixed some small bugs in the documentation * manalysis/MPedCalcPedRun.cc: - updated my eMail address 2004/01/19: Javier Rico * macros/dohtml.C, NEWS - include some missing info 2004/01/19: Abelardo Moralejo * manalysis/MExtractedSignalPix.h - added GetNumLoGainSaturated() 2004/01/19: Markus Gaug * macros/dohtml.C - include calibration.C * manalysis/MExtractSignal.cc - warning of logain saturation now only once per event (out of loop) * mcalib/MCalibrationCalc.cc, mcalib/MCalibrationPix.[h,cc] - new Flag fExcluded to indicate if pixel has been excluded from further analysis 2004/01/16: Javier Rico & Pepe Flix * manalysis/MPedPhotCalc.[cc,h] - added - new class for the evaluation of pedestals in units of photons using the extracted signal from pedestal runs and calibration constants defined in MCalibrate * manalysis/AnalysisLinkDef.h, manalysis/Makefile - added entries for MPedPhotCalc * macros/pedphotcalc.C - added - example on how to use MPedPhotCalc task 2004/01/16: Markus Gaug * mcalib/MCalibrationFits.h - removed and incorporated in MHCalibrationBlindPixel.h * mcalib/MHCalibrationBlindPixel.[h,cc], mcalib/MHCalibrationConfig.h, mcalib/MCalibrationBlindPix.h: - incorporate Fit functions - fixed a bug due to which DrawClone crashed when class was used in a compiled macro * mcalib/MCalibrationCalc.cc, mcalib/MCalibrationPix.cc, mcalib/MCalibrationBlindPix.cc, mcalib/MCalibrationPINDiode.cc, mcalib/MCalibrationCam.cc, mcalib/MHCalibrationBlindPixel.cc, mcalib/MHCalibrationPixel.cc: - fixed the warns and errs in fLog's 2004/01/16: Abelardo Moralejo * manalysis/MMcCalibrationCalc.cc - TMath::Max() is no longer used because it did not compile in some systems for unkown reasons. I replaced it by a safer (and may be slower) code. - Added calpix.SetFitValid(); * mhist/MHEvent.cc - In MHEvent::Fill, fixed: second parameter of SetCamContent must be 1 in case of RMS: case kEvtPedestalRMS: fHist->SetCamContent(*(MCamEvent*)par, 1); 2004/01/15: Abelardo Moralejo * macros/starmc.C - Added. Version of star showing new chain to get Hillas parameters (with Size calibrated in photons) from MC files. 2004/01/15: Javier Rico * manalysis/MPedCalcPedRun.[h,cc] - optimize the running time - add (some) documentation - correct treatment for the case of several input files * macros/pedvsevent.C - added - draw pedestal mean and rms vs event# for input pixel# and run file, and compares them to the global pedestal mean and rms 2004/01/15: Raquel de los Reyes * mhist/MHCamEvent.cc, mhist/MHCamera.cc - changed the MHCamEvent::SetupFill and MHCamera::GetBinError functions to compute the estimation of the error of the mean. It can be done calling to the function MCamEvent::SetBit(MHCamera::kVariance) in the macro 2004/01/15: Markus Gaug * mhist/MHCamera.[h,cc] - incorporate Thomas's changes - replace void CreateProjection() by TH1D *Projection(const char*) * macros/calibration.C - replace MHCamera->Draw("proj") by MHCamera->Projection() - produce better fits to the projection * manalysis/MSimulatedAnnealing.[h,cc], mhist/MHSimulatedAnnealing.[h,cc]: - moved to directory mtools - MSimulatedAnnealing now inherits from TObject * manalysis/Makefile, manalysis/AnalysisLinkDef.h, mhist/Makefile, mhist/HistLinkDef.h: - removed MSimulatedAnnealing - removed MHSimulatedAnnealing * mtools/Makefile, mtools/AnalysisLinkDef.h: - added MSimulatedAnnealing - added MHSimulatedAnnealing 2004/01/15: Thomas Bretz * manalysis/AnalysisLinkDef.h: - removed MCurrents * mhist/MHCamera.[h,cc]: - added member function Projection - removed fYproj * mreport/MReport*.*: - added more comments 2004/01/14: Markus Gaug * mtools/MFFT.[h,cc] - new class to perform Fast Fourier Transforms * mtools/Makefile * mtools/ToolsLinkDef.h - include MFFT * manalysis/MExtractedSignalCam.h - removed variables fNumHiGainSamples and fNumLoGainSamples - function SetNumUsedFADCSlices replaced by SetUsedFADCSlices * manalysis/MExtractSignal.cc - updated call to SetUsedFADCSlices 2004/01/14: Abelardo Moralejo * manalysis/MMcCalibrationCalc.cc: - set pedestal rms per FADC slice to 0.01 counts in case it is 0. This can happen (depending on camera simulation parameters), and rms = 0 later resulted in the pixel being eliminated in the image cleaning. 2004/01/14: Thomas Bretz * Makefile: - replaced old style Makefile.depend by directory specific dependancy files * Makefile.rules: - changed obsolete '.cc.o' style to newer style '%.o: %.c' - added rule to make dependency files - added rule to remove dependancy files. - added rmdep as prerequisite to clean - include dependency file * mbase/Makefile, mcalib/Makefile, mcamera/Makefile, mdata/Makefile, mfileio/Makefile, mfilter/Makefile, mgeom/Makefile, mgui/Makefile, mhbase/Makefile, mhist/Makefile, mhistmc/Makefile, mimage/Makefile, mmain/Makefile, mmc/Makefile, mmontecarlo/Makefile, mpointing/Makefile, mranforest/Makefile, mraw/Makefile, mreflector/Makefile, mreport/Makefile, mtemp/Makefile, mtools/Makefile: - removed clean-rule, use the one in Makefile.rules instead * mreport/Makefile, mreport/ReportLinkDef.h: - added MReportHelp * mreport/MReportFileRead.cc: - moved code from MReportHelp to new file - removed usage of MReport class completely * mfilter/MFGeomag.[h,cc]: - fixed a bug which causes MFGeomag to fail if MARSSYS is not set - changed the second loop from 0->1151 to 1152->2304 - removed dummy arrays used for reading - output filename in case of 'file not found' - removed obsolete data members - removed obsolete Init function - removed forbidden underscore from member variable - changed wrong 0/1 in allocation of fResult into kFALSE/TRUE * mbase/MStatusDisplay.[h,cc]: - added new member function Open - added new menu entry kFileOpen - changed UpdatePSheader algorithm (the old one was much too slow) * manalysis/MCurrents.[h,cc]: - removed (old outdated) * manalysis/Makefile, manalysis/AnalysisLinkDef.h: - removed MCurrents 2004/01/14: Wolfgang Wittek * macros/ONOFFAnalysis.C: - current version * mhist/MHSigmaTheta.[h,cc]: - replace MPedestalCam by MPedPhotCam * manalysis/MPad.[h,cc], manalysus/MSigmabar.[h,cc], manalysus/MSigmabarCalc.[h,cc], manalysus/MCT1PadONOFF.[h,cc], manalysus/MCT1PadSchweizer.[h,cc], manalysus/MPadding.[h,cc]: - replace MPedestalCam by MPedPhotCam * manalysis/MPedPhotPix.[h,cc] - uncomment SetRms() 2004/01/13: Markus Gaug * manalysis/MExtractSignal.h - seems that the reduced light intensity of the CT1 Pulser results in broader pulses -> Set Default time slices to [3,10] * mhist/MHCamera.cc - make Stat Window in option 'proj' bigger - add comment line at beginning of Draw() * mcalib/MHCalibrationBlindPixel.[h.cc] - add Function DrawClone() - fix bug in calculation of integral (GetIntegral("width")) - restrict parameters tighter - declare fit as not valid, if less than 100 events in single photo-electron peak * mcalib/MCalibrationFits.h, mcalib/MHCalibrationBlindPixel.[h.cc] - fit now with fixed normalization * mcalib/MHCalibrationPixel.[h.cc] - new function IsEmpty() - Time fit accepted if ChiSquare less than 30. (instead of 20.) * mcalib/MCalibrationPix.[h.cc] - F-Factor corrected and added error - Histograms not fitted if they are empty - rejection criteria of fitted charges now > 5 PedRMS (instead 3) * mcalib/MCalibrationCam.cc - Square Root of Reduced Sigmas not taken, if they are < 0. - Reduced Sigma / Charge squared replaced by reduced sigma / charge * mcalib/MCalibrationCalc.cc - Blind Pixel is not additionally treated as normal pixel any more - Blind Pixel Draw replaced by DrawClone * macros/calibration.C - took out some unused code - some default axis labelling corrected 2004/01/13: Abelardo Moralejo * manalysis/MMcPedestalCopy.cc - added check of whether input file is a MC file before executing the PreProcess. 2004/01/13: Wolfgang Wittek * macros/ONOFFAnalysis.C, macros/ONAnalysis.C: - change macro to handle also MC events with finite sigmabar * manalysis/MPadOn.[h,cc]: - deleted, is replaced by MPad * manalysis/MPadOnOFF.[h,cc]: - deleted, is replaced by MPad * manalysis/MPad.[h,cc]: - new class, replacing MPadON and MPadONOFF - handle also MC events with finite sigmabar * manalysis/Makefile, manalysis/AnalysisLinkDef.h: - replace MPadON and MPadONOFF by MPad 2004/01/13: Thomas Bretz * mraw/MRawRunHeader.[h,cc]: - implemented new member function GetRunTypeStr * Changelog.03: - added (contains entries of 2003) * Changelog: - removed entries of 2003 * mfilter/MFGeomag.cc: - simplified open/close of input files * manalysis/MEventRate.[h,cc], manalysis/MEventRateCalc.cc: - added some comments - added new member function GetError * Makefile: - updated 'make dox' output for convinience * macros/dohtml.C: - do not print Info's - added mcamera - added mpointing - added mreport * mreport/MReportCurrents.cc, mreport/MReportDAQ.cc: - removed some obsolete comments (these comments confused THtml) * manalysis/MCameraData.[h,cc], mfileio/MCT1ReadAscii.[h,cc], mfileio/MCT1ReadPreProc.[h,cc], mfilter/MFCT1SelBasic.cc, mfilter/MFSelBasic.cc, mhist/MHCamera.cc, mhist/MHEvent.[h,cc], mimage/MImgCleanStd.[h,cc], mimage/MImgCleanTGB.[h,cc], mmain/MAnalysis.cc, mmain/MEventDisplay.cc: - replaced MPedestalCam by MPedPhotCam - removed some obsolete includes * mbase/BaseLinkDef.h, mbase/Makefile: - added MLogPlugin - added MLogHtml * mbase/MLog.[h,cc]: - added use of plugins * mbase/MLogPlugin.[h,cc], mbase/MLogHtml.[h,cc]: - added * mbase/MStatusDisplay.[h,cc]: - added a Save-As dialog 2004/01/12: Thomas Bretz * macros/rootlogon.C: - added mcamera to include path - added mpointing to include path - added mreport to include path * mbase/MLog.cc: - updated my eMail address * mbase/MParContainer.h: - added Read member function * mbase/MStatusDisplay.[h,cc]: - changed size of ps-paper - added a user defined bottom line to the ps-files - added name (currently unused) - added title (used as possible bottom line in ps-file) * mraw/MRawRunHeader.cc: - added some comments * status.cc: - set name of input as bottom line of status display 2004/01/12: Abelardo Moralejo * mimage/MStereoPar.cc - fixed mistake: now fSourceY = scale1*hillas1.GetMeanY() + ... instead of fSourceY = scale2*hillas1.GetMeanY() + ... Bug had no effect unless scale1 != scale2 (-> telescopes of different size). 2004/01/12: Markus Gaug * manalysis/MExtractSignal.[h,cc] - take out some uncommented code - replace logainshift by two independent variables: logainfirst, logainlast - because in most data, maximum occurs in slice 4, shift default from slices 4-9 to slices 3-8. * manalysis/MExtractedSignalPix.[h,cc] - took out some uncommented code - new initializers: instead of -1. now 99999.9 2004/01/09: Markus Gaug * mcalib/MCalibrationCam.[h,cc] - take out 1-dim histos because we can use the projections in MHCamera (s.b.) * mcalib/MHCalibrationBlindPixel.h - make the fit by default quiet * mcalib/MHCalibrationPixel.[h,cc] * mcalib/MCalibrationPix.[h,cc] - Ranges of time slices stored independently for HiGain and LoGain in order to allow consecutive checks * mhist/MHCamera.[h.cc] - add the possibility to call a Draw("proj") which will draw a Y-Projection of the histogram * macros/calibration.C - apply the drawing of the projections and fit them * mcalib/MCalibrationCalc.cc - catch the possibility of a calibration file, unintendedly being a pedestal or cosmic file. Program now exits with an error before doing the fits * mcalib/MCalibrationPix.[h,cc] - fixed a bug in calculation of fFitValid. before, a call to IsFitValid() always returned false 2004/01/09: Javier L˘pez * macros/bootcampstandardanalysis.C - added new macro that holds the main scheleton discussed in the december bootcamp in Wuerzburg. It runs first over a pedestal run, then over a calibration run, again over the pedestal run to compute de pedestal in number of photons and finally over a data run to calibrate the data. 2004/01/06: Sebastian Raducci * manalysis/MArrivalTime.[h,cc] - added new method to calculate photon arrival times. It uses the TSpline5 Root Class to interpolate the Fadc Slices. The time is the abscissa value of the absolute maximum of the interpolation - added new method to find clusters with similar arrival times. For now it's a preliminary version. It simply search for adiacent pixels having the same arrival time (color). * manalysis/MArrivalTimeCalc.[h,cc] - modified the Process() method according to the changes in the Arrival Time Cointainer * mmain/MEventDisplay.cc - added new tab in the camera event display to show the arrival time. This arrival time is calculated with the spline method - the old Arrival Time pad now it's called Max Slice Idx, because it's only the index of the slice with the max content. * mhist/MHEvent.[h,cc] - added new fType in te enumeration to handle the arrival time histos