Changeset 1219 for trunk/MagicSoft
- Timestamp:
- 02/21/02 12:12:37 (23 years ago)
- Location:
- trunk/MagicSoft
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/NEWS
r1217 r1219 21 21 - Added a filter for the alpha parameter (MFilter) 22 22 23 - it is now possible to write single data members of a class object to 24 an output stream instead of the whole container only 23 25 24 26 -
trunk/MagicSoft/Mars/mbase/MWriteAsciiFile.cc
r1218 r1219 38 38 // AddContainer. // 39 39 // // 40 // You can also write single data members of a container (like fWidth // 41 // of MHillas). For more details see AddContainer. Make sure, that a // 42 // getter method for the data member exist. The name of the method // 43 // must be the same than the data member itself, but the f must be // 44 // replaced by a Get. // 45 // // 40 46 ///////////////////////////////////////////////////////////////////////////// 41 47 -
trunk/MagicSoft/Mars/mbase/MWriteAsciiFile.h
r1176 r1219 16 16 TObjArray fContNames; 17 17 TObjArray fContainer; 18 TObjArray fMembers; 18 19 19 20 TString fNameFile; … … 33 34 ~MWriteAsciiFile(); 34 35 35 void AddContainer(const char *cname );36 void AddContainer(MParContainer *cont );36 void AddContainer(const char *cname, const char *member=""); 37 void AddContainer(MParContainer *cont, const char *member=""); 37 38 38 39 ClassDef(MWriteAsciiFile, 0) // Class to write one container to an ascii file -
trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
r1210 r1219 93 93 // Fixme: Divide pnum by the (real) area of the pixel 94 94 // 95 96 95 const Float_t ratio = (*fGeomCam)[0].GetA()/(*fGeomCam)[i].GetA(); 97 96 const Float_t pnum = ratio*pix.GetNumPhotons(); -
trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTheta.cc
r1215 r1219 188 188 // FIXME: ROOT Binning??? of projection 189 189 // root 3.02: SetRangeUser 190 #if ROOT_VERSION_CODE < ROOT_VERSION(3,02,06) 190 191 axe.SetRange(axe.FindFixBin(lo), axe.FindFixBin(up)); 192 #else 193 axe.SetRangeUser(lo, up); 194 #endif 191 195 } 192 196 -
trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.cxx
r1203 r1219 162 162 } 163 163 164 164 /* 165 165 void MMcEvt::AsciiWrite(ofstream &fout) const 166 166 { … … 168 168 fout << fTheta ; 169 169 } 170 */ 170 171 171 172 void MMcEvt::Print(Option_t *Option) const { -
trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx
r1203 r1219 43 43 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ; 44 44 45 virtual void AsciiWrite(ofstream &fout) const;45 //virtual void AsciiWrite(ofstream &fout) const; 46 46 47 47 void Print(Option_t *opt=NULL) const;
Note:
See TracChangeset
for help on using the changeset viewer.