Changeset 8074


Ignore:
Timestamp:
10/16/06 20:09:41 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MCompProbCalc.cc

    r6948 r8074  
    4040
    4141#include "MParList.h"
    42 #include "MDataChain.h"
     42#include "MDataPhrase.h"
    4343
    4444#include "MHCompProb.h"
     
    113113    while ((data=Next()))
    114114    {
    115         MDataChain *chain = new MDataChain(data->GetName());
     115        MDataPhrase *chain = new MDataPhrase(data->GetName());
    116116        if (!chain->PreProcess(plist))
    117117        {
  • trunk/MagicSoft/Mars/mdata/MDataArray.cc

    r7804 r8074  
    3838#include "MLogManip.h"
    3939
    40 #include "MDataChain.h"
     40#include "MDataPhrase.h"
    4141
    4242ClassImp(MDataArray);
     
    8080// --------------------------------------------------------------------------
    8181//
    82 // Add a new data rule as a new entry (MDataChain)
     82// Add a new data rule as a new entry (MDataPhrase)
    8383//
    8484void MDataArray::AddEntry(const TString rule)
    8585{
    86     TObject *obj = new MDataChain(rule);
     86    TObject *obj = new MDataPhrase(rule);
    8787    obj->SetBit(kCanDelete);
    8888    fList.Add(obj);
     
    111111Int_t MDataArray::FindRule(const char *rule) const
    112112{
    113     const MDataChain data(rule);
     113    const MDataPhrase data(rule);
    114114    if (!data.IsValid())
    115115        return -1;
  • trunk/MagicSoft/Mars/mhbase/MFillH.cc

    r7804 r8074  
    8484#include <TCanvas.h>
    8585
    86 #include "MDataChain.h"
     86#include "MDataPhrase.h"
    8787
    8888#include "MLog.h"
     
    292292//
    293293// If the histogram to be filles is a MHArray you can specify a 'rule'
    294 // This rule is used to create an MDataChain. The return value of the chain
     294// This rule is used to create an MDataPhrase. The return value of the chain
    295295// is casted to int. Each int acts as a key. For each (new) key a new
    296296// histogram is created in the array. (eg for the rule
     
    299299void MFillH::SetRuleForIdx(const TString rule)
    300300{
    301     fIndex = new MDataChain(rule);
     301    fIndex = new MDataPhrase(rule);
    302302    fIndex->SetBit(kCanDelete);
    303303}
     
    562562//    if (save && fCanvas)
    563563//        save->cd();
    564     return rc;
     564    return rc==kFALSE ? kCONTINUE : kTRUE;
    565565}
    566566
  • trunk/MagicSoft/Mars/mhbase/MHMatrix.cc

    r7804 r8074  
    3030//
    3131// This is a histogram container which holds a matrix with one column per
    32 // data variable. The data variable can be a complex rule (MDataChain).
     32// data variable. The data variable can be a complex rule (MDataPhrase).
    3333// Each event for wich Fill is called (by MFillH) is added as a new
    3434// row to the matrix.
  • trunk/MagicSoft/Mars/mtools/MChisqEval.cc

    r7804 r8074  
    3737#include "MLogManip.h"
    3838
    39 #include "MDataChain.h"
     39#include "MDataPhrase.h"
    4040#include "MParameters.h" // MParameterD
    4141
     
    101101void MChisqEval::SetY1(const TString data)
    102102{
    103     SetY1(new MDataChain(data));
     103    SetY1(new MDataPhrase(data));
    104104}
    105105
    106106void MChisqEval::SetY2(const TString data)
    107107{
    108     SetY2(new MDataChain(data));
     108    SetY2(new MDataPhrase(data));
    109109}
    110110
Note: See TracChangeset for help on using the changeset viewer.