Changeset 7380 for trunk/MagicSoft/Mars/mjobs/MDataSet.h
- Timestamp:
- 10/01/05 19:37:29 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MDataSet.h
r7142 r7380 19 19 { 20 20 private: 21 static const TString fgCatalog; //! Default Catalog path 22 static const TString fgPathDataFiles; //! Default path to data files 23 static const TString fgPathSequences; //! Default path to sequences 24 21 25 UInt_t fNumAnalysis; // Analysis number (artificial) 22 26 … … 30 34 TString fCatalog; // edb catalog (magic_favourites.edb) 31 35 36 TString fComment; // Comment from DS file 37 32 38 Bool_t fIsWobbleMode; // Wobble Mode for this dataset? 33 39 34 40 void Split(TString &runs, TArrayI &data) const; 35 void ResolveSequences(TEnv &env, const TArrayI &num, TList &list ) const;41 void ResolveSequences(TEnv &env, const TArrayI &num, TList &list, const TString &sequences, const TString &data) const; 36 42 static void PrintFile(const TObject &obj); 43 44 void ReplaceDir(TList &list, const TString &old, const TString &news) const; 45 void ReplaceFile(TList &list, const TString &old, const TString &news) const; 46 47 void SetupDefaultPath(TString &path, const TString &def) const 48 { 49 if (path.IsNull()) 50 path = def; 51 if (!path.EndsWith("/")) 52 path += "/"; 53 } 37 54 38 55 public: 39 56 MDataSet() : fNumAnalysis((UInt_t)-1) { } 40 MDataSet(const char *fname );57 MDataSet(const char *fname, TString sequences="", TString data=""); 41 58 42 59 // Getter … … 71 88 Bool_t AddFilesOff(TChain &read) const; 72 89 90 void ReplaceDir(const TString &old, const TString &news) 91 { 92 ReplaceDir(fSequencesOn, old, news); 93 ReplaceDir(fSequencesOff, old, news); 94 } 95 96 void ReplaceFile(const TString &old, const TString &news) 97 { 98 ReplaceFile(fSequencesOn, old, news); 99 ReplaceFile(fSequencesOff, old, news); 100 } 101 73 102 // TObject 74 103 void Print(Option_t *o="") const;
Note:
See TracChangeset
for help on using the changeset viewer.