Changeset 1477 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 08/02/02 15:20:53 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 6 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 } -
trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.h
r1474 r1477 13 13 { 14 14 private: 15 MHillas *fHillas; // !Pointer to the source independant hillas parameters16 MSrcPosCam *fSrcPos; // !Pointer to the source position17 MHillasSrc *fHillasSrc; // !Pointer to the output container for the source dependant parameters15 MHillas *fHillas; // Pointer to the source independant hillas parameters 16 MSrcPosCam *fSrcPos; // Pointer to the source position 17 MHillasSrc *fHillasSrc; // Pointer to the output container for the source dependant parameters 18 18 19 19 TString fSrcName; 20 20 TString fHillasName; 21 22 void StreamPrimitive(ofstream &out) const; 21 23 22 24 public: … … 27 29 Bool_t Process(); 28 30 29 void SavePrimitive(ofstream &out, Option_t *o="");30 31 31 ClassDef(MHillasSrcCalc, 1) // task to calculate the source position depandant hillas parameters 32 32 }; -
trunk/MagicSoft/Mars/manalysis/MImgCleanStd.cc
r1476 r1477 414 414 // gui elements to a macro-file. 415 415 // 416 void MImgCleanStd::S avePrimitive(ofstream &out, Option_t *o)416 void MImgCleanStd::StreamPrimitive(ofstream &out) const 417 417 { 418 418 out << " MImgCleanStd " << ToLower(fName) << "("; -
trunk/MagicSoft/Mars/manalysis/MImgCleanStd.h
r1471 r1477 21 21 22 22 void CreateGuiElements(MGGroupFrame *f); 23 void StreamPrimitive(ofstream &out) const; 23 24 24 25 public: … … 34 35 35 36 void Print(Option_t *o="") const; 36 void SavePrimitive(ofstream &out, Option_t *o="");37 37 38 38 Bool_t ProcessMessage(Int_t msg, Int_t submsg, Long_t param1, Long_t param2); -
trunk/MagicSoft/Mars/manalysis/MSrcPosCam.cc
r1476 r1477 88 88 // gui elements to a macro-file. 89 89 // 90 void MSrcPosCam::S avePrimitive(ofstream &out, Option_t *o)90 void MSrcPosCam::StreamPrimitive(ofstream &out) const 91 91 { 92 92 out << " MSrcPosCam " << ToLower(fName) << "(\""; -
trunk/MagicSoft/Mars/manalysis/MSrcPosCam.h
r1471 r1477 11 11 Float_t fX; // [mm] x position of source in camera 12 12 Float_t fY; // [mm] y position of source in camera 13 14 void StreamPrimitive(ofstream &out) const; 13 15 14 16 public: … … 29 31 //void AsciiWrite(ofstream &fout) const; 30 32 31 void SavePrimitive(ofstream &out, Option_t *o="");32 33 33 ClassDef(MSrcPosCam, 1) // container to store source position in the camera plain 34 34 };
Note:
See TracChangeset
for help on using the changeset viewer.