Ignore:
Timestamp:
04/08/05 10:20:12 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhbase/MH3.cc

    r6869 r6917  
    3232// In the constructor you can give up to three variables which should be
    3333// filled in the histogram. Dependend on the number of given variables
    34 // (data members) a TH1F, TH2F or TH3F is created.
     34// (data members) a TH1D, TH2D or TH3D is created.
    3535// Specify the data mamber like the following:
    3636//   "MHillas.fLength"
     
    108108    {
    109109    case 1:
    110         fHist = new TH1F;
     110        fHist = new TH1D;
    111111        fHist->SetYTitle("Counts");
    112112        break;
    113113    case 2:
    114         fHist = new TH2F;
     114        fHist = new TH2D;
    115115        fHist->SetZTitle("Counts");
    116116        break;
    117117    case 3:
    118         fHist = new TH3F;
     118        fHist = new TH3D;
    119119        break;
    120120    }
     
    140140// --------------------------------------------------------------------------
    141141//
    142 // Creates an TH1F. memberx is filled into the X-bins. For a more detailed
     142// Creates an TH1D. memberx is filled into the X-bins. For a more detailed
    143143// description see the class description above.
    144144//
     
    146146    : fDimension(1)
    147147{
    148     fHist = new TH1F;
     148    fHist = new TH1D;
    149149
    150150    fData[0] = new MDataChain(memberx);
     
    198198// --------------------------------------------------------------------------
    199199//
    200 // Creates an TH2F. memberx is filled into the X-bins. membery is filled
     200// Creates an TH2D. memberx is filled into the X-bins. membery is filled
    201201// into the Y-bins. For a more detailed description see the class
    202202// description above.
     
    205205    : fDimension(2)
    206206{
    207     fHist = new TH2F;
     207    fHist = new TH2D;
    208208
    209209    fData[0] = new MDataChain(memberx);
     
    225225// --------------------------------------------------------------------------
    226226//
    227 // Creates an TH3F. memberx is filled into the X-bins. membery is filled
     227// Creates an TH3D. memberx is filled into the X-bins. membery is filled
    228228// into the Y-bins. membery is filled into the Z-bins. For a more detailed
    229229// description see the class description above.
     
    232232    : fDimension(3)
    233233{
    234     fHist = new TH3F;
     234    fHist = new TH3D;
    235235
    236236    fData[0] = new MDataChain(memberx);
Note: See TracChangeset for help on using the changeset viewer.