| 1 | /* ======================================================================== *\
|
|---|
| 2 | !
|
|---|
| 3 | ! *
|
|---|
| 4 | ! * This file is part of MARS, the MAGIC Analysis and Reconstruction
|
|---|
| 5 | ! * Software. It is distributed to you in the hope that it can be a useful
|
|---|
| 6 | ! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
|
|---|
| 7 | ! * It is distributed WITHOUT ANY WARRANTY.
|
|---|
| 8 | ! *
|
|---|
| 9 | ! * Permission to use, copy, modify and distribute this software and its
|
|---|
| 10 | ! * documentation for any purpose is hereby granted without fee,
|
|---|
| 11 | ! * provided that the above copyright notice appear in all copies and
|
|---|
| 12 | ! * that both that copyright notice and this permission notice appear
|
|---|
| 13 | ! * in supporting documentation. It is provided "as is" without express
|
|---|
| 14 | ! * or implied warranty.
|
|---|
| 15 | ! *
|
|---|
| 16 | !
|
|---|
| 17 | !
|
|---|
| 18 | ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de>
|
|---|
| 19 | !
|
|---|
| 20 | ! Copyright: MAGIC Software Development, 2000-2004
|
|---|
| 21 | !
|
|---|
| 22 | !
|
|---|
| 23 | \* ======================================================================== */
|
|---|
| 24 |
|
|---|
| 25 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 26 | //
|
|---|
| 27 | // dohtml.C
|
|---|
| 28 | // ========
|
|---|
| 29 | //
|
|---|
| 30 | // This is a service macro used to create the html-documentation from
|
|---|
| 31 | // source code (THtml)
|
|---|
| 32 | //
|
|---|
| 33 | // Add here all directories in which files are stored from which the
|
|---|
| 34 | // documentation should be created an add all macros which should be
|
|---|
| 35 | // converted to HTML.
|
|---|
| 36 | //
|
|---|
| 37 | ///////////////////////////////////////////////////////////////////////////
|
|---|
| 38 |
|
|---|
| 39 | void dohtml()
|
|---|
| 40 | {
|
|---|
| 41 | //
|
|---|
| 42 | // don't forget that the shared object must have been loaded
|
|---|
| 43 | //
|
|---|
| 44 |
|
|---|
| 45 | //
|
|---|
| 46 | // Do not print 'Info' messages from the root system such like
|
|---|
| 47 | // TCanvas::Print
|
|---|
| 48 | //
|
|---|
| 49 | gErrorIgnoreLevel=kWarning;
|
|---|
| 50 |
|
|---|
| 51 | //
|
|---|
| 52 | // create the html document class
|
|---|
| 53 | //
|
|---|
| 54 | THtml html;
|
|---|
| 55 |
|
|---|
| 56 | TString sourcedir;
|
|---|
| 57 | sourcedir += "manalysis:";
|
|---|
| 58 | sourcedir += "mastro:";
|
|---|
| 59 | sourcedir += "mbadpixels:";
|
|---|
| 60 | sourcedir += "mbase:";
|
|---|
| 61 | sourcedir += "mcamera:";
|
|---|
| 62 | sourcedir += "mcalib:";
|
|---|
| 63 | sourcedir += "mdata:";
|
|---|
| 64 | sourcedir += "mextralgo:";
|
|---|
| 65 | sourcedir += "mfbase:";
|
|---|
| 66 | sourcedir += "mfileio:";
|
|---|
| 67 | sourcedir += "mfilter:";
|
|---|
| 68 | sourcedir += "mfit:";
|
|---|
| 69 | sourcedir += "mgeom:";
|
|---|
| 70 | sourcedir += "mgui:";
|
|---|
| 71 | sourcedir += "mhbase:";
|
|---|
| 72 | sourcedir += "mhflux:";
|
|---|
| 73 | sourcedir += "mhft:";
|
|---|
| 74 | sourcedir += "mhist:";
|
|---|
| 75 | sourcedir += "mhistmc:";
|
|---|
| 76 | sourcedir += "mhcalib:";
|
|---|
| 77 | sourcedir += "mhvstime:";
|
|---|
| 78 | sourcedir += "mimage:";
|
|---|
| 79 | sourcedir += "mjobs:";
|
|---|
| 80 | sourcedir += "mjoptim:";
|
|---|
| 81 | sourcedir += "mjtrain:";
|
|---|
| 82 | sourcedir += "mmain:";
|
|---|
| 83 | sourcedir += "mmc:";
|
|---|
| 84 | sourcedir += "mmontecarlo:";
|
|---|
| 85 | sourcedir += "mmuon:";
|
|---|
| 86 | sourcedir += "mpointing:";
|
|---|
| 87 | sourcedir += "mpedestal:";
|
|---|
| 88 | sourcedir += "mranforest:";
|
|---|
| 89 | sourcedir += "mraw:";
|
|---|
| 90 | sourcedir += "mreflector:";
|
|---|
| 91 | sourcedir += "mreport:";
|
|---|
| 92 | sourcedir += "msignal:";
|
|---|
| 93 | sourcedir += "mstarcam:";
|
|---|
| 94 | sourcedir += "msql:";
|
|---|
| 95 | sourcedir += "mtools:";
|
|---|
| 96 | sourcedir += "mtrigger:";
|
|---|
| 97 | sourcedir += ".:";
|
|---|
| 98 |
|
|---|
| 99 | html.SetSourceDir(sourcedir);
|
|---|
| 100 | html.SetOutputDir("htmldoc");
|
|---|
| 101 |
|
|---|
| 102 | html.MakeAll(kTRUE);
|
|---|
| 103 |
|
|---|
| 104 | html.SetSourceDir("macros");
|
|---|
| 105 | html.Convert("merpp.C", "MARS - Merging and Preprocessing");
|
|---|
| 106 | html.Convert("tutorials/readraw.C", "MARS - How To Read A Raw");
|
|---|
| 107 | html.Convert("rootlogon.C", "MARS - rootlogon.C");
|
|---|
| 108 | //html.Convert("readCT1.C", "MARS - Read and display CT1 Events");
|
|---|
| 109 | html.Convert("readMagic.C", "MARS - Read and display Magic Events");
|
|---|
| 110 | //html.Convert("CT1Hillas.C", "MARS - Calculate CT1 Hillas");
|
|---|
| 111 | html.Convert("MagicHillas.C", "MARS - Calculate Magic Hillas");
|
|---|
| 112 | //? html.Convert("collarea.C", "MARS - Calculate Collection Area from a MC root file");
|
|---|
| 113 | html.Convert("threshold.C", "MARS - Calculate Energy Threshold from a MC root file");
|
|---|
| 114 | html.Convert("trigrate.C", "MARS - Calculate Trigger Rate from a MC root file");
|
|---|
| 115 | html.Convert("star.C", "MARS - (St)andard (A)nalysis and (R)econstruction");
|
|---|
| 116 | html.Convert("starfield.C", "MARS - Display a starfield in the camera");
|
|---|
| 117 | html.Convert("starvisday.C", "MARS - Display visibility of stars at a single day");
|
|---|
| 118 | html.Convert("starvisyear.C", "MARS - Display visibility of a source around the year");
|
|---|
| 119 | html.Convert("tutorials/starplot.C", "MARS - Plot parameters from file created with star.C");
|
|---|
| 120 | html.Convert("tutorials/readrfl.C", "MARS - Example of reading reflector output with Mars");
|
|---|
| 121 | html.Convert("comprob.C", "MARS - Calculation of composite probabilities for G/H-Seperation");
|
|---|
| 122 | html.Convert("multidimdist.C", "MARS - Calculation of multidimensional distances for G/H-Seperation");
|
|---|
| 123 | html.Convert("multidimdist2.C", "MARS - Calculation of multidimensional distances for G/H-Seperation");
|
|---|
| 124 | // html.Convert("estimate.C", "MARS - Shows results from the energy estimation");
|
|---|
| 125 | // html.Convert("estfit.C", "MARS - Fits the coefficients of the energy estimator MEnergyEstParam");
|
|---|
| 126 | html.Convert("tutorials/plot.C", "MARS - Plots 1D mars histogram");
|
|---|
| 127 | html.Convert("tutorials/plot2.C", "MARS - Plots a 2D mars histogram");
|
|---|
| 128 | html.Convert("tutorials/testenv.C", "MARS - Example to use TEnv and Mars Eventloops");
|
|---|
| 129 | html.Convert("triglvl2.C", "MARS - Example to use MMcTriggerLvl2 class, using filters and creating histograms");
|
|---|
| 130 | //html.Convert("status.C", "MARS - Example to use the online display");
|
|---|
| 131 | //html.Convert("calibration.C", "MARS - Example to use the calibration");
|
|---|
| 132 | html.Convert("tutorials/pedvsevent.C", "MARS - Example to use MPedCalcPedRun");
|
|---|
| 133 | //html.Convert("pedphotcalc.C", "MARS - Example to use MPedPhotCalc");
|
|---|
| 134 | html.Convert("tutorials/derotatedc.C", "MARS - Example of plotting derotated dc currents");
|
|---|
| 135 | html.Convert("tutorials/evtrate.C", "MARS - Example how to plot the event rate");
|
|---|
| 136 | // html.Convert("tutorials/pixvsevent.C", "MARS - Example how to plot pixel value versus event number/time");
|
|---|
| 137 | html.Convert("tutorials/sectorvstime.C", "MARS - Example how to plot mean value of a camera sector versus time");
|
|---|
| 138 | html.Convert("tutorials/pedestalvstime.C", "MARS - Example how to plot pedestal/rms versus time");
|
|---|
| 139 | html.Convert("tutorials/pixfirerate.C", "MARS - Example how to plot the firerate of a pixel (times above threshold)");
|
|---|
| 140 | html.Convert("tutorials/pixsatrate.C", "MARS - Example how to plot the saturation rate of a pixel");
|
|---|
| 141 | html.Convert("tutorials/threshold.C", "MARS - Example how to calculate the threshold");
|
|---|
| 142 | //html.Convert("calibration.C", "MARS - Example how to use the calibrationa camera ");
|
|---|
| 143 | //html.Convert("bootcampstandardanalysis.C", "MARS - Example of the status of the standard analysis at the bootcamp");
|
|---|
| 144 | html.Convert("readIPR.C", "MARS - Example to read and display the IPRs from a (merpped) report file");
|
|---|
| 145 | html.Convert("tutorials/extendcam.C", "MARS - Example of using MGeomCamExtend and MHexagonalFTCalc");
|
|---|
| 146 | html.Convert("tutorials/hft.C", "MARS - Example of using MHexagonalFTCalc");
|
|---|
| 147 | html.Convert("tutorials/calendar.C", "MARS - Example of producing a calendar sheet");
|
|---|
| 148 | html.Convert("tutorials/weights.C", "MARS - Example of using weights with MFillH");
|
|---|
| 149 | }
|
|---|