Ignore:
Timestamp:
10/17/06 09:38:43 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7804 r8082  
    6969//   plist.AddToList(&bins);
    7070//
     71//
     72// Class Version 2:
     73// ----------------
     74//   - MDataChain *fData[3];        // Object from which the data is filled
     75//   + MData      *fData[3];        // Object from which the data is filled
     76//
     77//
    7178/////////////////////////////////////////////////////////////////////////////
    7279#include "MH3.h"
     
    8996#include "MParList.h"
    9097#include "MBinning.h"
    91 #include "MDataChain.h"
     98#include "MDataPhrase.h"
    9299
    93100ClassImp(MH3);
     
    148155    fHist = new TH1D;
    149156
    150     fData[0] = new MDataChain(memberx);
     157    fData[0] = new MDataPhrase(memberx);
    151158    fData[1] = NULL;
    152159    fData[2] = NULL;
     
    178185    {
    179186    case 3:
    180         fData[2] = new MDataChain(h1.GetZaxis()->GetTitle());
    181     case 2:
    182         fData[1] = new MDataChain(h1.GetYaxis()->GetTitle());
    183     case 1:
    184         fData[0] = new MDataChain(h1.GetXaxis()->GetTitle());
     187        fData[2] = new MDataPhrase(h1.GetZaxis()->GetTitle());
     188    case 2:
     189        fData[1] = new MDataPhrase(h1.GetYaxis()->GetTitle());
     190    case 1:
     191        fData[0] = new MDataPhrase(h1.GetXaxis()->GetTitle());
    185192    }
    186193
     
    207214    fHist = new TH2D;
    208215
    209     fData[0] = new MDataChain(memberx);
    210     fData[1] = new MDataChain(membery);
     216    fData[0] = new MDataPhrase(memberx);
     217    fData[1] = new MDataPhrase(membery);
    211218    fData[2] = NULL;
    212219
     
    234241    fHist = new TH3D;
    235242
    236     fData[0] = new MDataChain(memberx);
    237     fData[1] = new MDataChain(membery);
    238     fData[2] = new MDataChain(memberz);
     243    fData[0] = new MDataPhrase(memberx);
     244    fData[1] = new MDataPhrase(membery);
     245    fData[2] = new MDataPhrase(memberz);
    239246
    240247    fName  = gsDefName;
Note: See TracChangeset for help on using the changeset viewer.