Changeset 8284 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 02/01/07 14:42:02 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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.