Changeset 1077 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 11/14/01 15:06:39 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MH.cc
r1003 r1077 58 58 } 59 59 60 // -------------------------------------------------------------------------- 61 // 62 // This is a function which should replace the creation of default 63 // canvases like root does. Because this is inconvinient in some aspects. 64 // need to change this. 65 // You can specify a name for the default canvas and a title. Also 66 // width and height can be given. 67 // MakeDefCanvas looks for a canvas with the given name. If now name is 68 // given the DefCanvasName of root is used. If no such canvas is existing 69 // it is created and returned. If such a canvas already exists a new canvas 70 // with a name plus anumber is created (the number is calculated by the 71 // number of all existing canvases plus one) 72 // 60 73 TCanvas *MH::MakeDefCanvas(const char *name, const char *title, 61 74 const UInt_t w, const UInt_t h) … … 78 91 } 79 92 93 // -------------------------------------------------------------------------- 94 // 95 // This function works like MakeDefCanvas(name, title, w, h) but name 96 // and title are retrieved from the given TObject. 97 // 80 98 TCanvas *MH::MakeDefCanvas(const TObject *obj, 81 99 const UInt_t w, const UInt_t h) -
trunk/MagicSoft/Mars/mhist/MHFadcCam.cc
r1051 r1077 112 112 113 113 } 114 /*void MHFadcCam::SaveHist(char *name)115 {116 //117 // save all histogram in this class to a root file118 //119 120 //121 // FIXME: Don't open a file and write to this file!122 // just Fill the current container (or the two histograms123 // to an open file. The user must choose a file before.124 //125 TFile out( name, "recreate") ;126 127 //128 // loop over all pixels and write the files out129 //130 131 fHistLo->Write();132 fHistHi->Write();133 }134 135 */ -
trunk/MagicSoft/Mars/mhist/MHFadcCam.h
r1030 r1077 29 29 ~MHFadcCam(); 30 30 31 // void SaveHist(char *name);32 33 31 MHFadcPix *operator[](UInt_t i) { return (MHFadcPix*)(fArray->At(i)); } 34 32 -
trunk/MagicSoft/Mars/mhist/MHHillas.cc
r1052 r1077 36 36 // connect all the histogram with the container fHist 37 37 // 38 fAlpha = new TH1F(" \\alpha [\\circ]", "Alpha of Hillas", 90, 0, 90);38 fAlpha = new TH1F("Alpha [deg]", "Alpha of Hillas", 90, 0, 90); 39 39 fWidth = new TH1F("Width [mm]", "Width of Hillas", 100, 0, 300); 40 40 fLength = new TH1F("Length [mm]", "Length of Hillas", 100, 0, 300);
Note:
See TracChangeset
for help on using the changeset viewer.