Ignore:
Timestamp:
04/24/07 15:02:50 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MDataSet.h

    r8398 r8441  
    2020{
    2121private:
    22     static const TString fgCatalog;       //! Default Catalog path
    23     static const TString fgPathDataFiles; //! Default path to data files
    24     static const TString fgPathSequences; //! Default path to sequences
     22    static const TString fgCatalog; //! Default Catalog path
    2523
    2624    UInt_t  fNumAnalysis;     // Analysis number (artificial)
     
    4038    TString fComment;         // Comment from DS file
    4139
    42     Bool_t  fIsWobbleMode;    // Wobble Mode for this dataset?
     40    Bool_t  fWobbleMode;      // Wobble Mode for this dataset?
     41    Bool_t  fMonteCarlo;      // For default paths use MC or data path
    4342
    4443    void Split(TString &runs, TArrayI &data) const;
     
    7877        ds.fCatalog = fCatalog;
    7978        ds.fComment = fComment;
    80         ds.fIsWobbleMode = fIsWobbleMode;
     79        ds.fWobbleMode = fWobbleMode;
     80        ds.fMonteCarlo = fMonteCarlo;
    8181
    8282        TObject *o=0;
     
    112112    Bool_t GetSourcePos(MPointingPos &pos) const;
    113113
    114     Bool_t IsWobbleMode() const { return fIsWobbleMode; }
     114    Bool_t IsWobbleMode() const { return fWobbleMode; }
     115    Bool_t IsMonteCarlo() const { return fMonteCarlo; }
     116
     117    const char *GetDefPathDataFiles() const { return fMonteCarlo ? "/magic/montecarlo/star"      : "/magic/data/star"; }
     118    const char *GetDefPathSequences() const { return fMonteCarlo ? "/magic/montecarlo/sequences" : "/magic/sequences"; }
    115119
    116120    // Setter
     121    void SetMonteCarlo(Bool_t ismc=kTRUE) { fMonteCarlo=ismc; }
     122
    117123    static Bool_t AddSequencesFromList(const TList &list, MDirIter &files);
    118124    static Int_t  AddFilesToChain(MDirIter &files, TChain &chain);
     
    144150    void Print(Option_t *o="") const; //*MENU*
    145151
    146     ClassDef(MDataSet, 1)
     152    ClassDef(MDataSet, 2)
    147153};
    148154
Note: See TracChangeset for help on using the changeset viewer.