Changeset 1572
- Timestamp:
- 10/31/02 14:30:11 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1570 r1572 1 1 -*-*- END -*-*- 2 2002/10/31: Thomas Bretz 3 4 * mfileio/MReadTree.cc: 5 - enhanced the validity of the fNuMEntries workaround from 6 3.02.06 to 3.07.01 7 8 * manalysis/MBlindPixelCalc.h, mhist/MBinning.h: 9 - added an explicit cast to get rid of a compiler warning on Alpha 10 11 * mhist/MH.cc: 12 - removed an unused variable to get rid of a compiler warning on Alpha 13 14 15 2 16 2002/10/30: Thomas Bretz 3 17 … … 13 27 - implementation which makes sure, that the number of events returned 14 28 by GetEntries always is the correct value. 29 - removed const from the GetEntries definition 15 30 - mainly use GetEntries now instead of fNumEntries 16 31 … … 944 959 2002/07/16: Thomas Bretz 945 960 961 * macros/plot.C, macros/plot2.C, macros/star.C, macros/comprob.C: 962 - updated the comments in the macros 963 946 964 * mgui/MHexagon.cc: 947 965 - added a sanity check in DistanceToPrimitive -
trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.h
r1496 r1572 51 51 52 52 void SetPixels(Int_t num, Short_t *ids); 53 void SetPixels(const TArrayS pix) { SetPixels( pix.GetSize(),pix.GetArray()); }53 void SetPixels(const TArrayS pix) { SetPixels((Int_t)pix.GetSize(), (Short_t*)pix.GetArray()); } 54 54 virtual Bool_t ReInit(MParList *pList); 55 55 -
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r1568 r1572 59 59 #include <TOrdCollection.h> 60 60 61 #include "MLog.h"62 #include "MLogManip.h"63 64 61 #include "MChain.h" 65 62 #include "MFilter.h" … … 67 64 #include "MTaskList.h" 68 65 66 #include "MLog.h" 67 #include "MLogManip.h" 68 69 69 70 ClassImp(MReadTree); 70 71 … … 74 75 // 75 76 MReadTree::MReadTree() 76 : fNumEntry(0), f BranchChoosing(kFALSE), fAutoEnable(kTRUE), fProgress(NULL)77 : fNumEntry(0), fNumEntries(0), fBranchChoosing(kFALSE), fAutoEnable(kTRUE), fProgress(NULL) 77 78 { 78 79 fName = "MReadTree"; … … 534 535 535 536 // 536 // Check whether a Pointer to a pointer already exists , if537 // we created one alreadydelete it.537 // Check whether a Pointer to a pointer already exists. 538 // If we created one already, delete it. 538 539 // 539 540 TChainElement *element = (TChainElement*)fChain->GetStatus()->FindObject(bname); -
trunk/MagicSoft/Mars/mfileio/MReadTree.h
r1568 r1572 59 59 Bool_t SetEventNum(UInt_t nr); // set number of event (position in tree) 60 60 61 UInt_t GetEventNum() const { return fNumEntry; 61 UInt_t GetEventNum() const { return fNumEntry; } 62 62 UInt_t GetEntries(); 63 63 -
trunk/MagicSoft/Mars/mhist/MBinning.h
r1477 r1572 47 47 Int_t GetNumBins() const { return fEdges.GetSize()-1; } 48 48 49 Double_t *GetEdges() const { return fEdges.GetArray(); }49 Double_t *GetEdges() const { return (Double_t*)fEdges.GetArray(); } 50 50 51 51 Bool_t IsLinear() const { return fType==kIsLinear; } -
trunk/MagicSoft/Mars/mhist/MH.cc
r1506 r1572 468 468 umax = 0; 469 469 470 Int_t n=0;471 470 Double_t binlow =0; 472 471 Double_t binhigh =0; 473 472 Double_t binwidth=0; 474 TGaxis::Optimize(umin, umax, nbins, binlow, binhigh, n, binwidth, "");473 //TGaxis::Optimize(umin, umax, nbins, binlow, binhigh, n, binwidth, ""); 475 474 476 475 if (binwidth <= 0 || binwidth > 1.e+39)
Note:
See TracChangeset
for help on using the changeset viewer.