Ignore:
Timestamp:
05/13/03 15:16:54 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1954 r2114  
    172172Bool_t MMultiDimDistCalc::Process()
    173173{
    174     const Double_t ncols = fMGammas->GetM().GetNcols();
    175 
    176     TVector event(ncols);
    177 
    178     for (int i=0; i<fData->GetNumEntries(); i++)
    179         event(i) = (*fData)(i);
    180 
    181     /*
    182     Int_t n=0;
    183     TIter Next(fData);
    184     MData *data = NULL;
    185     while ((data=(MData*)Next()))
    186         event(n++) = data->GetValue();
    187         */
     174    // first copy the data from the data array to a vector event
     175    TVector event;
     176    *fData >> event;
    188177
    189178    Double_t numg = fNum;
Note: See TracChangeset for help on using the changeset viewer.