Changeset 8082 for trunk/MagicSoft/Mars/mhvstime
- Timestamp:
- 10/17/06 09:38:43 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mhvstime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhvstime/MHVsTime.cc
r7971 r8082 50 50 // SetMaxPts(-1) disables this feature. 51 51 // 52 // 53 // Class Version 2: 54 // ---------------- 55 // + MData *fData; // Object from which the data is filled 56 // - MDataChain *fData; // Object from which the data is filled 57 // + MData *fError; // Object from which the error is filled 58 // - MDataChain *fError; // Object from which the error is filled 59 // 52 60 ///////////////////////////////////////////////////////////////////////////// 53 61 #include "MHVsTime.h" … … 67 75 #include "MTime.h" 68 76 #include "MParList.h" 69 #include "MData Chain.h"77 #include "MDataPhrase.h" 70 78 #include "MRawEvtHeader.h" 71 79 … … 80 88 // 81 89 // Default constructor. For more informations about a valid rule 82 // see MData Chain.90 // see MDataPhrase. 83 91 // 84 92 MHVsTime::MHVsTime(const char *rule, const char *error) … … 92 100 return; 93 101 94 fData = new MData Chain(rule);102 fData = new MDataPhrase(rule); 95 103 96 104 if (error) 97 fError = new MData Chain(error);105 fError = new MDataPhrase(error); 98 106 99 107 fGraph = error ? new TGraphErrors : new TGraph; … … 141 149 // -------------------------------------------------------------------------- 142 150 // 143 // PreProcess the MData Chain. Create a new TGraph. Delete an old one if151 // PreProcess the MDataPhrase. Create a new TGraph. Delete an old one if 144 152 // already allocated. 145 153 // -
trunk/MagicSoft/Mars/mhvstime/MHVsTime.h
r7033 r8082 11 11 12 12 class TGraph; 13 class MData Chain;13 class MData; 14 14 15 15 class MHVsTime : public MH … … 22 22 // Could be const but root < 3.02/06 doesn't like this... 23 23 TGraph *fGraph; // Histogram to fill 24 MData Chain*fData; // Object from which the data is filled25 MData Chain*fError; // Object from which the error is filled24 MData *fData; // Object from which the data is filled 25 MData *fError; // Object from which the error is filled 26 26 Double_t fScale; // Scale for axis (eg unit) 27 27 Int_t fMaxPts; // Maximum number of data points … … 78 78 void SetMaxPts(Int_t n) { fMaxPts=n; } 79 79 80 ClassDef(MHVsTime, 1) // Generalized 1/2/3D-histogram for Mars variables80 ClassDef(MHVsTime, 2) // Generalized 1/2/3D-histogram for Mars variables 81 81 }; 82 82
Note:
See TracChangeset
for help on using the changeset viewer.