Changeset 3784 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 04/20/04 16:46:49 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamEventRot.cc
r3783 r3784 27 27 // MHCamEventRot 28 28 // 29 // Derotate MCamEvent before filling a 2D histogram. 30 // 29 31 ////////////////////////////////////////////////////////////////////////////// 30 32 #include "MHCamEventRot.h" … … 51 53 #include "MBinning.h" 52 54 #include "MParList.h" 55 #include "MCamEvent.h" 53 56 54 57 #include "MLog.h" … … 70 73 // 71 74 fName = name ? name : "MHCamEventRot"; 72 fTitle = title ? title : " 3D-plot of Alpha vs x, y";75 fTitle = title ? title : "Plot showing derotated MCamEvent data"; 73 76 74 77 fHist.SetDirectory(NULL); … … 103 106 if (!bins) 104 107 { 105 const Float_t r = ( geom ? geom->GetMaxRadius()/3 : 200)*fGeom->GetConvMm2Deg();108 const Float_t r = (fGeom ? fGeom->GetMaxRadius()/3 : 200)*fGeom->GetConvMm2Deg(); 106 109 107 110 MBinning b; 108 111 b.SetEdges(20, -r, r); 109 SetBinning(&fHist, &b, &b , &binsa);112 SetBinning(&fHist, &b, &b); 110 113 } 111 114 else 112 SetBinning(&fHist, bins, bins , &binsa);115 SetBinning(&fHist, bins, bins); 113 116 114 117 fPointPos = (MPointingPos*)plist->FindObject(AddSerialNumber("MPointingPos"));
Note:
See TracChangeset
for help on using the changeset viewer.