Changeset 957 for trunk/MagicSoft
- Timestamp:
- 09/28/01 13:36:31 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/meventdisp/MGFadcDisp.h
r956 r957 10 10 #endif 11 11 12 class MParList; 13 class MReadTree; 14 class MRawEvtData; 12 class MParList; 13 class MReadTree; 14 class MRawEvtData; 15 15 16 16 class TList; 17 class TCanvas; 18 class TGListBox; 19 class TGTextEntry; 17 class TCanvas; 18 class TGListBox; 19 class TGTextEntry; 20 20 21 21 class MGFadcDisp : public TGTransientFrame -
trunk/MagicSoft/Mars/mhist/MHHillas.cc
r952 r957 141 141 142 142 c->cd(1); 143 //fAlpha->SetBit(kCanDelete);144 143 fAlpha->Draw(); 145 144 146 145 c->cd(2); 147 //fLength->SetBit(kCanDelete);148 146 fLength->Draw(); 149 147 150 148 c->cd(3); 151 //fDist->SetBit(kCanDelete);152 149 fDist->Draw(); 153 150 154 151 c->cd(4); 155 //fWidth->SetBit(kCanDelete);156 152 fWidth->Draw(); 157 153 -
trunk/MagicSoft/Mars/mhist/MHMcCollectionArea.cc
r954 r957 31 31 ClassImp(MHMcCollectionArea); 32 32 33 // -------------------------------------------------------------------------- 34 // 35 // Creates the three necessary histograms: 36 // - selected showers (input) 37 // - all showers (input) 38 // - collection area (result) 39 // 33 40 MHMcCollectionArea::MHMcCollectionArea(const char *name, const char *title) 34 41 { 35 //36 // default constructor37 //38 39 42 // initialize the histogram for the distribution r vs E 40 43 // … … 72 75 } 73 76 77 // -------------------------------------------------------------------------- 78 // 79 // Delete the three histograms 80 // 74 81 MHMcCollectionArea::~MHMcCollectionArea() 75 82 { … … 79 86 } 80 87 88 // -------------------------------------------------------------------------- 89 // 90 // Fill data into the histogram which contains all showers 91 // 81 92 void MHMcCollectionArea::FillAll(Float_t log10E, Float_t radius) 82 93 { … … 84 95 } 85 96 97 // -------------------------------------------------------------------------- 98 // 99 // Fill data into the histogram which contains the selected showers 100 // 86 101 void MHMcCollectionArea::FillSel(Float_t log10E, Float_t radius) 87 102 { … … 89 104 } 90 105 106 // -------------------------------------------------------------------------- 107 // 108 // Draw the histogram with all showers 109 // 91 110 void MHMcCollectionArea::DrawAll(Option_t* option) 92 111 { 93 112 TCanvas *c=new TCanvas(fHistAll->GetName(), fHistAll->GetTitle()); 94 113 114 fHistAll->Draw(option); 115 116 c->Modified(); 117 c->Update(); 118 } 119 120 // -------------------------------------------------------------------------- 121 // 122 // Draw the histogram with the selected showers only. 123 // 124 void MHMcCollectionArea::DrawSel(Option_t* option) 125 { 126 TCanvas *c=new TCanvas(fHistSel->GetName(), fHistSel->GetTitle()); 127 95 128 fHistSel->Draw(option); 96 129 … … 99 132 } 100 133 101 void MHMcCollectionArea::DrawSel(Option_t* option) 102 { 103 TCanvas *c=new TCanvas(fHistSel->GetName(), fHistSel->GetTitle()); 104 105 fHistSel->Draw(option); 106 107 c->Modified(); 108 c->Update(); 109 } 110 134 // -------------------------------------------------------------------------- 135 // 136 // Creates a new canvas and draws the histogram into it. 137 // Be careful: The histogram belongs to this object and won't get deleted 138 // together with the canvas. 139 // 111 140 TObject *MHMcCollectionArea::DrawClone(Option_t* option) 112 141 { … … 136 165 } 137 166 167 // -------------------------------------------------------------------------- 168 // 169 // Calculate the Efficiency (collection area) 170 // 138 171 void MHMcCollectionArea::CalcEfficiency() 139 172 {
Note:
See TracChangeset
for help on using the changeset viewer.