Changeset 8441 for trunk/MagicSoft/Mars/mjobs/MDataSet.h
- Timestamp:
- 04/24/07 15:02:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MDataSet.h
r8398 r8441 20 20 { 21 21 private: 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 25 23 26 24 UInt_t fNumAnalysis; // Analysis number (artificial) … … 40 38 TString fComment; // Comment from DS file 41 39 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 43 42 44 43 void Split(TString &runs, TArrayI &data) const; … … 78 77 ds.fCatalog = fCatalog; 79 78 ds.fComment = fComment; 80 ds.fIsWobbleMode = fIsWobbleMode; 79 ds.fWobbleMode = fWobbleMode; 80 ds.fMonteCarlo = fMonteCarlo; 81 81 82 82 TObject *o=0; … … 112 112 Bool_t GetSourcePos(MPointingPos &pos) const; 113 113 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"; } 115 119 116 120 // Setter 121 void SetMonteCarlo(Bool_t ismc=kTRUE) { fMonteCarlo=ismc; } 122 117 123 static Bool_t AddSequencesFromList(const TList &list, MDirIter &files); 118 124 static Int_t AddFilesToChain(MDirIter &files, TChain &chain); … … 144 150 void Print(Option_t *o="") const; //*MENU* 145 151 146 ClassDef(MDataSet, 1)152 ClassDef(MDataSet, 2) 147 153 }; 148 154
Note:
See TracChangeset
for help on using the changeset viewer.