Ignore:
Timestamp:
08/01/02 12:31:56 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.cc

    r1434 r1471  
    3232//////////////////////////////////////////////////////////////////////////////
    3333#include "MHillasSrcCalc.h"
     34
     35#include <fstream.h>
    3436
    3537#include "MParList.h"
     
    9496}
    9597
     98
     99void MHillasSrcCalc::SavePrimitive(ofstream &out, Option_t *o="")
     100{
     101    out << "   MHillasSrcCalc " << ToLower(fName) << "(\"";
     102    out << fSrcName << "\", \"" << fHillasName << "\", \"";
     103    out << fName << "\", \"" << fTitle << "\");" << endl;
     104}
  • trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.h

    r1203 r1471  
    2727    Bool_t Process();
    2828
     29    void SavePrimitive(ofstream &out, Option_t *o="");
     30
    2931    ClassDef(MHillasSrcCalc, 0) // task to calculate the source position depandant hillas parameters
    3032};
  • trunk/MagicSoft/Mars/manalysis/MImgCleanStd.cc

    r1461 r1471  
    4444
    4545#include <stdlib.h>       // atof
     46#include <fstream.h>      // ofstream, SavePrimitive
    4647
    4748#include <TGFrame.h>      // TGFrame
     
    406407    return kTRUE;
    407408}
     409
     410void MImgCleanStd::SavePrimitive(ofstream &out, Option_t *o="")
     411{
     412    out << "   MImgCleanStd " << ToLower(fName) << "(";
     413    out << fCleanLvl1 << ", " << fCleanLvl2 << ", \"";
     414    out << fName << "\", \"" << fTitle << "\");" << endl;
     415}
  • trunk/MagicSoft/Mars/manalysis/MImgCleanStd.h

    r1457 r1471  
    3434
    3535    void Print(Option_t *o="") const;
     36    void SavePrimitive(ofstream &out, Option_t *o="");
    3637
    3738    Bool_t ProcessMessage(Int_t msg, Int_t submsg, Long_t param1, Long_t param2);
  • trunk/MagicSoft/Mars/manalysis/MSrcPosCam.cc

    r1460 r1471  
    8181}
    8282*/
     83
     84void MSrcPosCam::SavePrimitive(ofstream &out, Option_t *o="")
     85{
     86    out << "   MSrcPosCam " << ToLower(fName) << "(\"";
     87    out << fName << "\", " << fTitle << "\");" << endl;
     88
     89    out << "   " << ToLower(fName) << ".SetXY(" << fX << ", " << fY << ");" << endl;}
  • trunk/MagicSoft/Mars/manalysis/MSrcPosCam.h

    r1460 r1471  
    2929    //void AsciiWrite(ofstream &fout) const;
    3030
     31    void SavePrimitive(ofstream &out, Option_t *o="");
     32
    3133    ClassDef(MSrcPosCam, 1) // container to store source position in the camera plain
    3234};
Note: See TracChangeset for help on using the changeset viewer.