Ignore:
Timestamp:
01/19/03 14:52:29 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MCerPhotCalc.h

    r1546 r1715  
    1010//                                                                         //
    1111/////////////////////////////////////////////////////////////////////////////
     12#ifndef ROOT_TArrayF
     13#include <TArrayF.h>
     14#endif
    1215
    1316#ifndef MARS_MTask
     
    1518#endif
    1619
    17 #include <TArrayF.h>
    18 
    1920class MRawEvtData;
    2021class MPedestalCam;
    2122class MCerPhotEvt;
    2223class MRawRunHeader;
    23 class TArrayF;
    2424
    2525class MCerPhotCalc : public MTask
     
    4444    Bool_t ReInit(MParList *pList);
    4545
    46     void   SetWeights(TArrayF w) {fWeight.Set(w.GetSize(),w.GetArray());}
     46    // FIXME: The array size should be checked!
     47    void   SetWeights(const TArrayF &w) { fWeight = w; }
    4748
    4849    ClassDef(MCerPhotCalc, 0)   // Task to calculate cerenkov photons from raw data
Note: See TracChangeset for help on using the changeset viewer.