Ignore:
Timestamp:
04/20/04 16:46:49 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHCamEventRot.cc

    r3783 r3784  
    2727// MHCamEventRot
    2828//
     29// Derotate MCamEvent before filling a 2D histogram.
     30//
    2931//////////////////////////////////////////////////////////////////////////////
    3032#include "MHCamEventRot.h"
     
    5153#include "MBinning.h"
    5254#include "MParList.h"
     55#include "MCamEvent.h"
    5356
    5457#include "MLog.h"
     
    7073    //
    7174    fName  = name  ? name  : "MHCamEventRot";
    72     fTitle = title ? title : "3D-plot of Alpha vs x, y";
     75    fTitle = title ? title : "Plot showing derotated MCamEvent data";
    7376
    7477    fHist.SetDirectory(NULL);
     
    103106    if (!bins)
    104107    {
    105         const Float_t r = (geom ? geom->GetMaxRadius()/3 : 200)*fGeom->GetConvMm2Deg();
     108        const Float_t r = (fGeom ? fGeom->GetMaxRadius()/3 : 200)*fGeom->GetConvMm2Deg();
    106109
    107110        MBinning b;
    108111        b.SetEdges(20, -r, r);
    109         SetBinning(&fHist, &b, &b, &binsa);
     112        SetBinning(&fHist, &b, &b);
    110113    }
    111114    else
    112         SetBinning(&fHist, bins, bins, &binsa);
     115        SetBinning(&fHist, bins, bins);
    113116
    114117    fPointPos = (MPointingPos*)plist->FindObject(AddSerialNumber("MPointingPos"));
Note: See TracChangeset for help on using the changeset viewer.