Changeset 8284
- Timestamp:
- 02/01/07 14:42:02 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MStatusArray.cc
r8283 r8284 260 260 SetCanDelete(((TVirtualPad*)o)->GetListOfPrimitives()); 261 261 else 262 o->SetBit(kCanDelete );262 o->SetBit(kCanDelete|kMustCleanup); 263 263 } 264 264 } … … 282 282 // Make sure that all kCanDelete bits are properly set 283 283 SetCanDelete(this); 284 SetOwner(); 284 285 285 286 return rc; -
trunk/MagicSoft/Mars/mbase/MStatusArray.h
r8283 r8284 22 22 public: 23 23 MStatusArray() : TObjArray() { } 24 24 25 TObject *DisplayIn(Option_t *o=0) const; // *MENU* 25 26 void DisplayIn(MStatusDisplay &d, const char *tab=0) const; -
trunk/MagicSoft/Mars/mhist/MHCamEvent.cc
r8281 r8284 214 214 } 215 215 216 // -------------------------------------------------------------------------- 217 // 218 // Set the camera histogram to a clone of cam 219 // 216 220 void MHCamEvent::SetHist(const MHCamera &cam) 217 221 { -
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r8281 r8284 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.cc,v 1.9 8 2007-02-01 11:24:18tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.cc,v 1.99 2007-02-01 14:42:02 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 157 157 } 158 158 159 // ------------------------------------------------------------------------ 160 // 161 // Clone the MHCamera via TH1D::Clone and make sure that the new object is 162 // not removed from the current directory. 163 // 164 TObject *MHCamera::Clone(const char *newname="") const 165 { 166 TObject *rc = TH1D::Clone(newname); 167 rc->SetDirectory(NULL); 168 return rc; 169 } 170 159 171 void MHCamera::SetGeometry(const MGeomCam &geom, const char *name, const char *title) 160 172 { -
trunk/MagicSoft/Mars/mhist/MHCamera.h
r8281 r8284 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.h,v 1.6 2 2007-02-01 11:24:18tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.h,v 1.63 2007-02-01 14:42:02 tbretz Exp $ 3 3 \* ======================================================================== */ 4 4 #ifndef MARS_MHCamera … … 122 122 MHCamera(const MGeomCam &geom, const char *name="", const char *title=""); 123 123 ~MHCamera(); 124 125 TObject *Clone(const char *newname="") const; 124 126 125 127 void SetGeometry(const MGeomCam &geom, const char *name="", const char *title="");
Note:
See TracChangeset
for help on using the changeset viewer.