Changeset 6932 for trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
- Timestamp:
- 04/12/05 17:05:49 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
r6907 r6932 57 57 #include "MSrcPosCam.h" 58 58 #include "MHillasSrc.h" 59 #include "MEnergyEst.h"60 59 #include "MTime.h" 61 60 #include "MObservatory.h" … … 116 115 fHEnergy.UseCurrentStyle(); 117 116 118 fHTheta.SetName(" Theta");117 fHTheta.SetName("ExcessTheta"); 119 118 fHTheta.SetTitle(" N_{exc} vs. \\Theta "); 120 119 fHTheta.SetXTitle("\\Theta [\\circ]"); … … 124 123 125 124 // effective on time versus time 126 fHTime.SetName(" Time");125 fHTime.SetName("ExcessTime"); 127 126 fHTime.SetTitle(" N_{exc} vs. Time "); 128 127 fHTime.SetXTitle("Time"); … … 268 267 } 269 268 */ 270 fEnergy = (M EnergyEst*)pl->FindObject("MEnergyEst");269 fEnergy = (MParameterD*)pl->FindObject("MEnergyEst", "MParameterD"); 271 270 if (!fEnergy) 272 271 { /* … … 277 276 } */ 278 277 279 *fLog << warn << "MEnergyEst not found... " << flush;278 *fLog << warn << "MEnergyEst [MParameterD] not found... " << flush; 280 279 281 280 if (!fHillas) … … 286 285 *fLog << "ignored." << endl; 287 286 288 fHEnergy.SetName(" Size");287 fHEnergy.SetName("ExcessSize"); 289 288 fHEnergy.SetTitle(" N_{exc} vs. Size "); 290 289 fHEnergy.SetXTitle("Size [\\gamma]"); … … 292 291 else 293 292 { 294 fHEnergy.SetName("E nergy");293 fHEnergy.SetName("ExcessEnergy"); 295 294 fHEnergy.SetTitle(" N_{exc} vs. E_{est} "); 296 295 fHEnergy.SetXTitle("E_{est} [GeV]"); … … 488 487 if (fHillas) 489 488 size = fHillas->GetSize(); 490 energy = fEnergy ? fEnergy->Get Energy() : (fHillas?fHillas->GetSize():1000);489 energy = fEnergy ? fEnergy->GetVal() : (fHillas?fHillas->GetSize():1000); 491 490 theta = fPointPos ? fPointPos->GetZd() : 0; 492 491 } … … 715 714 pad->cd(2); 716 715 gPad->SetBorderMode(0); 716 gPad->SetGridx(); 717 gPad->SetGridy(); 717 718 fHEnergy.Draw(); 718 719 … … 737 738 pad->cd(3); 738 739 gPad->SetBorderMode(0); 740 gPad->SetGridx(); 741 gPad->SetGridy(); 739 742 fHTime.Draw(); 740 743 AppendPad("time"); … … 746 749 { 747 750 pad->cd(4); 751 gPad->SetGridx(); 752 gPad->SetGridy(); 748 753 gPad->SetBorderMode(0); 749 754 fHTheta.Draw(); … … 910 915 if (type==0) 911 916 { 912 fMap[1] = fMatrix->AddColumn("MEnergyEst.f Energy");917 fMap[1] = fMatrix->AddColumn("MEnergyEst.fVal"); 913 918 fMap[2] = -1; 914 919 }
Note:
See TracChangeset
for help on using the changeset viewer.