Changeset 1572


Ignore:
Timestamp:
10/31/02 14:30:11 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1570 r1572  
    11                                                                  -*-*- 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
    216 2002/10/30: Thomas Bretz
    317
     
    1327     - implementation which makes sure, that the number of events returned
    1428       by GetEntries always is the correct value.
     29     - removed const from the GetEntries definition
    1530     - mainly use GetEntries now instead of fNumEntries
    1631
     
    944959 2002/07/16: Thomas Bretz
    945960
     961   * macros/plot.C, macros/plot2.C, macros/star.C, macros/comprob.C:
     962     - updated the comments in the macros
     963     
    946964   * mgui/MHexagon.cc:
    947965     - added a sanity check in DistanceToPrimitive
  • trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.h

    r1496 r1572  
    5151
    5252    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()); }
    5454    virtual Bool_t ReInit(MParList *pList);
    5555
  • trunk/MagicSoft/Mars/mfileio/MReadTree.cc

    r1568 r1572  
    5959#include <TOrdCollection.h>
    6060
    61 #include "MLog.h"
    62 #include "MLogManip.h"
    63 
    6461#include "MChain.h"
    6562#include "MFilter.h"
     
    6764#include "MTaskList.h"
    6865
     66#include "MLog.h"
     67#include "MLogManip.h"
     68
     69
    6970ClassImp(MReadTree);
    7071
     
    7475//
    7576MReadTree::MReadTree()
    76     : fNumEntry(0), fBranchChoosing(kFALSE), fAutoEnable(kTRUE), fProgress(NULL)
     77    : fNumEntry(0), fNumEntries(0), fBranchChoosing(kFALSE), fAutoEnable(kTRUE), fProgress(NULL)
    7778{
    7879    fName  = "MReadTree";
     
    534535
    535536        //
    536         // Check whether a Pointer to a pointer already exists, if
    537         // we created one already delete it.
     537        // Check whether a Pointer to a pointer already exists.
     538        // If we created one already, delete it.
    538539        //
    539540        TChainElement *element = (TChainElement*)fChain->GetStatus()->FindObject(bname);
  • trunk/MagicSoft/Mars/mfileio/MReadTree.h

    r1568 r1572  
    5959    Bool_t SetEventNum(UInt_t nr);    // set number of event (position in tree)
    6060
    61     UInt_t GetEventNum() const { return fNumEntry;   }
     61    UInt_t GetEventNum() const { return fNumEntry; }
    6262    UInt_t GetEntries();
    6363
  • trunk/MagicSoft/Mars/mhist/MBinning.h

    r1477 r1572  
    4747    Int_t GetNumBins() const { return fEdges.GetSize()-1; }
    4848
    49     Double_t *GetEdges() const { return fEdges.GetArray(); }
     49    Double_t *GetEdges() const { return (Double_t*)fEdges.GetArray(); }
    5050
    5151    Bool_t IsLinear() const { return fType==kIsLinear; }
  • trunk/MagicSoft/Mars/mhist/MH.cc

    r1506 r1572  
    468468        umax = 0;
    469469
    470     Int_t n=0;
    471470    Double_t binlow  =0;
    472471    Double_t binhigh =0;
    473472    Double_t binwidth=0;
    474     TGaxis::Optimize(umin, umax, nbins, binlow, binhigh, n, binwidth, "");
     473    //TGaxis::Optimize(umin, umax, nbins, binlow, binhigh, n, binwidth, "");
    475474
    476475    if (binwidth <= 0 || binwidth > 1.e+39)
Note: See TracChangeset for help on using the changeset viewer.