Changeset 1477 for trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.cc
- Timestamp:
- 08/02/02 15:20:53 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.cc
r1476 r1477 37 37 #include "MParList.h" 38 38 39 #include "MSrcPosCam.h" 39 40 #include "MHillasSrc.h" 40 41 … … 103 104 // gui elements to a macro-file. 104 105 // 105 void MHillasSrcCalc::S avePrimitive(ofstream &out, Option_t *o)106 void MHillasSrcCalc::StreamPrimitive(ofstream &out) const 106 107 { 107 out << " MHillasSrcCalc " << ToLower(fName) << "(\""; 108 out << fSrcName << "\", \"" << fHillasName << "\", \""; 109 out << fName << "\", \"" << fTitle << "\");" << endl; 108 if (fHillas) 109 fHillas->SavePrimitive(out); 110 111 if (fSrcPos) 112 fSrcPos->SavePrimitive(out); 113 114 if (fHillasSrc) 115 fHillasSrc->SavePrimitive(out); 116 117 out << " MHillasSrcCalc " << ToLower(fName) << "("; 118 119 if (fSrcPos) 120 out << "&" << ToLower(fSrcPos->GetName()); 121 else 122 out << "\"" << fSrcName << "\""; 123 124 if (fHillasSrc) 125 out << "&" << ToLower(fHillasSrc->GetName()); 126 else 127 out << "\"" << fHillasName << "\""; 128 129 out << ", \"" << fName << "\", \"" << fTitle << "\");" << endl; 110 130 }
Note:
See TracChangeset
for help on using the changeset viewer.