Ignore:
Timestamp:
10/17/06 09:38:43 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhvstime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhvstime/MHVsTime.cc

    r7971 r8082  
    5050// SetMaxPts(-1) disables this feature.
    5151//
     52//
     53// Class Version 2:
     54// ----------------
     55//  + MData      *fData;      // Object from which the data is filled
     56//  - MDataChain *fData;      // Object from which the data is filled
     57//  + MData      *fError;     // Object from which the error is filled
     58//  - MDataChain *fError;     // Object from which the error is filled
     59//
    5260/////////////////////////////////////////////////////////////////////////////
    5361#include "MHVsTime.h"
     
    6775#include "MTime.h"
    6876#include "MParList.h"
    69 #include "MDataChain.h"
     77#include "MDataPhrase.h"
    7078#include "MRawEvtHeader.h"
    7179
     
    8088//
    8189// Default constructor. For more informations about a valid rule
    82 // see MDataChain.
     90// see MDataPhrase.
    8391//
    8492MHVsTime::MHVsTime(const char *rule, const char *error)
     
    92100        return;
    93101
    94     fData = new MDataChain(rule);
     102    fData = new MDataPhrase(rule);
    95103
    96104    if (error)
    97         fError = new MDataChain(error);
     105        fError = new MDataPhrase(error);
    98106
    99107    fGraph = error ? new TGraphErrors : new TGraph;
     
    141149// --------------------------------------------------------------------------
    142150//
    143 // PreProcess the MDataChain. Create a new TGraph. Delete an old one if
     151// PreProcess the MDataPhrase. Create a new TGraph. Delete an old one if
    144152// already allocated.
    145153//
  • trunk/MagicSoft/Mars/mhvstime/MHVsTime.h

    r7033 r8082  
    1111
    1212class TGraph;
    13 class MDataChain;
     13class MData;
    1414
    1515class MHVsTime : public MH
     
    2222    // Could be const but root < 3.02/06 doesn't like this...
    2323    TGraph     *fGraph;     // Histogram to fill
    24     MDataChain *fData;      // Object from which the data is filled
    25     MDataChain *fError;     // Object from which the error is filled
     24    MData      *fData;      // Object from which the data is filled
     25    MData      *fError;     // Object from which the error is filled
    2626    Double_t    fScale;     // Scale for axis (eg unit)
    2727    Int_t       fMaxPts;    // Maximum number of data points
     
    7878    void SetMaxPts(Int_t n) { fMaxPts=n; }
    7979
    80     ClassDef(MHVsTime, 1) // Generalized 1/2/3D-histogram for Mars variables
     80    ClassDef(MHVsTime, 2) // Generalized 1/2/3D-histogram for Mars variables
    8181};
    8282
Note: See TracChangeset for help on using the changeset viewer.