Changeset 2043


Ignore:
Timestamp:
04/29/03 14:41:38 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
63 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2042 r2043  
    3535   * mbase/MEvtLoop.cc:
    3636     - fixed a bug in ProcessGuiEvents
     37
     38   * mhist/MH*.[h,cc], mhistmc/MH*.[h,cc], mimage/MH*.[h,cc]:
     39     - changed "Double_t w" in Fill to "const Stat_t w"
     40     - added weight in some classes to TH::Fill
    3741
    3842
  • trunk/MagicSoft/Mars/mhist/MH.cc

    r2032 r2043  
    9898// to your class definition.
    9999//
    100 Bool_t MH::Fill(const MParContainer *par, Double_t w)
     100Bool_t MH::Fill(const MParContainer *par, const Stat_t w)
    101101{
    102102    *fLog << warn << GetDescriptor() << ": Fill not overloaded! Can't be used!" << endl;
  • trunk/MagicSoft/Mars/mhist/MH.h

    r2015 r2043  
    2424
    2525    virtual Bool_t SetupFill(const MParList *pList) { return kTRUE; }
    26     virtual Bool_t Fill(const MParContainer *par, Double_t weight=1);
     26    virtual Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
    2727    virtual Bool_t Finalize() { return kTRUE; }
    2828
  • trunk/MagicSoft/Mars/mhist/MH3.cc

    r1966 r2043  
    342342// Fills the one, two or three data members into our histogram
    343343//
    344 Bool_t MH3::Fill(const MParContainer *par)
     344Bool_t MH3::Fill(const MParContainer *par, const Stat_t w)
    345345{
    346346    Double_t x=0;
     
    361361    {
    362362    case 3:
    363         ((TH3*)fHist)->Fill(x, y, z);
     363        ((TH3*)fHist)->Fill(x, y, z, w);
    364364        return kTRUE;
    365365    case 2:
    366         ((TH2*)fHist)->Fill(x, y);
     366        ((TH2*)fHist)->Fill(x, y, w);
    367367        return kTRUE;
    368368    case 1:
    369         fHist->Fill(x);
     369        fHist->Fill(x, w);
    370370        return kTRUE;
    371371    }
  • trunk/MagicSoft/Mars/mhist/MH3.h

    r1967 r2043  
    4949
    5050    Bool_t SetupFill(const MParList *pList);
    51     Bool_t Fill(const MParContainer *par);
     51    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    5252
    5353    TString GetDataMember() const;
  • trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTheta.cc

    r2015 r2043  
    110110// Fill the histogram
    111111//
    112 Bool_t MHAlphaEnergyTheta::Fill(const MParContainer *par, Double_t w)
     112Bool_t MHAlphaEnergyTheta::Fill(const MParContainer *par, const Stat_t w)
    113113{
    114114    MHillasSrc &hil = *(MHillasSrc*)par;
    115115
    116116    fHist.Fill(fabs(hil.GetAlpha()), fEnergy->GetEnergy(),
    117                fMcEvt->GetTelescopeTheta()*kRad2Deg);
     117               fMcEvt->GetTelescopeTheta()*kRad2Deg, w);
    118118
    119119    return kTRUE;
  • trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTheta.h

    r2015 r2043  
    3434
    3535    Bool_t SetupFill(const MParList *pList);
    36     Bool_t Fill(const MParContainer *par, Double_t w=1);
     36    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3737
    3838    const TH3D *GetHist()       { return &fHist; }
  • trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTime.cc

    r2015 r2043  
    112112// Fill the histogram
    113113//
    114 Bool_t MHAlphaEnergyTime::Fill(const MParContainer *par, Double_t w)
     114Bool_t MHAlphaEnergyTime::Fill(const MParContainer *par, const Stat_t w)
    115115{
    116116    MHillasSrc &hil = *(MHillasSrc*)par;
    117117
    118     fHist.Fill(fabs(hil.GetAlpha()), fEnergy->GetEnergy(), 0.0001*fTime->GetTimeLo());
     118    fHist.Fill(fabs(hil.GetAlpha()), fEnergy->GetEnergy(), 0.0001*fTime->GetTimeLo(), w);
    119119    return kTRUE;
    120120}
  • trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTime.h

    r2015 r2043  
    3333
    3434    Bool_t SetupFill(const MParList *pList);
    35     Bool_t Fill(const MParContainer *par, Double_t w=1);
     35    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3636
    3737    const TH3D *GetHist()       { return &fHist; }
  • trunk/MagicSoft/Mars/mhist/MHArray.cc

    r1992 r2043  
    463463// successfull filled.
    464464//
    465 Bool_t MHArray::Fill(const MParContainer *par, Double_t w)
     465Bool_t MHArray::Fill(const MParContainer *par, const Stat_t w)
    466466{
    467467    const Int_t n = fArray->GetSize();
     
    478478            return kFALSE;
    479479
    480     return GetH()->Fill(par);
     480    return GetH()->Fill(par, w);
    481481}
    482482
  • trunk/MagicSoft/Mars/mhist/MHArray.h

    r1992 r2043  
    4242
    4343    Bool_t SetupFill(const MParList *pList);
    44     Bool_t Fill(const MParContainer *par, Double_t w=1);
     44    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    4545    Bool_t Finalize();
    4646
  • trunk/MagicSoft/Mars/mhist/MHBlindPixels.cc

    r1992 r2043  
    7474}
    7575
    76 Bool_t MHBlindPixels::Fill(const MParContainer *par, Double_t w)
     76Bool_t MHBlindPixels::Fill(const MParContainer *par, const Stat_t w)
    7777{
    7878    if (!par)
     
    8484    for (int i=0; i<577; i++)
    8585        if (bp.IsBlind(i))
    86             fHist.Fill(i);
     86            fHist.Fill(i, w);
    8787
    8888    return kTRUE;
  • trunk/MagicSoft/Mars/mhist/MHBlindPixels.h

    r1992 r2043  
    2323
    2424    void Draw(Option_t* option = "");
    25     Bool_t Fill(const MParContainer *par, Double_t w=1);
     25    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    2626
    2727    ClassDef(MHBlindPixels, 1)  // Histogram of blind pixels
  • trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.cc

    r2015 r2043  
    114114// Fill the histograms with data from a MCerPhotEvt-Container.
    115115//
    116 Bool_t MHCerPhotEvt::Fill(const MParContainer *par, Double_t w)
     116Bool_t MHCerPhotEvt::Fill(const MParContainer *par, const Stat_t w)
    117117{
    118118    const MCerPhotEvt *evt = par ? (MCerPhotEvt*)par : fEvt;
  • trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.h

    r2015 r2043  
    3030
    3131    Bool_t SetupFill(const MParList *pList);
    32     Bool_t Fill(const MParContainer *par, Double_t w=1);
     32    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3333    Bool_t Finalize();
    3434
  • trunk/MagicSoft/Mars/mhist/MHCompProb.cc

    r1992 r2043  
    159159//
    160160//
    161 Bool_t MHCompProb::Fill(const MParContainer *par, Double_t w)
     161Bool_t MHCompProb::Fill(const MParContainer *par, const Stat_t w)
    162162{
    163163    const MMcEvt &mcevt = *(MMcEvt*)par;
  • trunk/MagicSoft/Mars/mhist/MHCompProb.h

    r1992 r2043  
    2929
    3030    Bool_t SetupFill(const MParList *plist);
    31     Bool_t Fill(const MParContainer *par, Double_t w=1);
     31    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3232    Bool_t Finalize();
    3333
  • trunk/MagicSoft/Mars/mhist/MHEnergyTheta.cc

    r2015 r2043  
    9191// Fill data into the histogram which contains all showers
    9292//
    93 Bool_t MHEnergyTheta::Fill(const MParContainer *par, Double_t w)
     93Bool_t MHEnergyTheta::Fill(const MParContainer *par, const Stat_t w)
    9494{
    9595    const MMcEvt &mcevt = *(MMcEvt*)par;
    9696
    97     fHist.Fill(mcevt.GetEnergy(), mcevt.GetTheta());
     97    fHist.Fill(mcevt.GetEnergy(), mcevt.GetTheta(), w);
    9898
    9999    return kTRUE;
  • trunk/MagicSoft/Mars/mhist/MHEnergyTheta.h

    r2015 r2043  
    2020    MHEnergyTheta(const char *name=NULL, const char *title=NULL);
    2121
    22     Bool_t Fill(const MParContainer *cont, Double_t w=1);
     22    Bool_t Fill(const MParContainer *cont, const Stat_t w=1);
    2323
    2424    void Draw(Option_t *option="");
  • trunk/MagicSoft/Mars/mhist/MHEnergyTime.cc

    r2016 r2043  
    9898// Fill data into the histogram which contains all showers
    9999//
    100 Bool_t MHEnergyTime::Fill(const MParContainer *par)
     100Bool_t MHEnergyTime::Fill(const MParContainer *par, const Stat_t w)
    101101{
    102102    const MMcEvt &mcevt = *(MMcEvt*)par;
    103103
    104     fHist.Fill(mcevt.GetEnergy(), 0.0001*fTime->GetTimeLo());
     104    fHist.Fill(mcevt.GetEnergy(), 0.0001*fTime->GetTimeLo(), w);
    105105
    106106    return kTRUE;
  • trunk/MagicSoft/Mars/mhist/MHEnergyTime.h

    r2015 r2043  
    2121    MHEnergyTime(const char *name=NULL, const char *title=NULL);
    2222
    23     Bool_t Fill(const MParContainer *cont);
     23    Bool_t Fill(const MParContainer *cont,  const Stat_t w=1);
    2424
    2525    void Draw(Option_t *option="");
  • trunk/MagicSoft/Mars/mhist/MHFadcCam.cc

    r1992 r2043  
    9191
    9292// --------------------------------------------------------------------------
    93 Bool_t MHFadcCam::Fill(const MParContainer *par, Double_t w)
     93Bool_t MHFadcCam::Fill(const MParContainer *par, const Stat_t w)
    9494{
    9595    return Fill((MRawEvtData*)par);
  • trunk/MagicSoft/Mars/mhist/MHFadcCam.h

    r1992 r2043  
    4545    const TH1F *GetHistLo(UInt_t i) const { return (*this)[i].GetHistLo(); }
    4646
    47     Bool_t Fill(const MParContainer *par, Double_t w=1);
     47    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    4848    Bool_t Fill(const MRawEvtData *par);
    4949
  • trunk/MagicSoft/Mars/mhist/MHHadronness.cc

    r1992 r2043  
    183183// are skipped at the moment.
    184184//
    185 Bool_t MHHadronness::Fill(const MParContainer *par, Double_t w)
     185Bool_t MHHadronness::Fill(const MParContainer *par, const Stat_t w)
    186186{
    187187    // Preliminary Workaround: FIXME!
     
    200200
    201201    if (fMcEvt->GetPartId()==kGAMMA)
    202         fGhness->Fill(h);
     202        fGhness->Fill(h, w);
    203203    else
    204         fPhness->Fill(h);
     204        fPhness->Fill(h, w);
    205205
    206206    return kTRUE;
  • trunk/MagicSoft/Mars/mhist/MHHadronness.h

    r1992 r2043  
    4545
    4646    Bool_t SetupFill(const MParList *plist);
    47     Bool_t Fill(const MParContainer *par, Double_t w=1);
     47    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    4848    Bool_t Finalize();
    4949
  • trunk/MagicSoft/Mars/mhist/MHMatrix.cc

    r2015 r2043  
    227227// Add the values correspoding to the columns to the new row
    228228//
    229 Bool_t MHMatrix::Fill(const MParContainer *par, Double_t w)
     229Bool_t MHMatrix::Fill(const MParContainer *par, const Stat_t w)
    230230{
    231231    AddRow();
  • trunk/MagicSoft/Mars/mhist/MHMatrix.h

    r1992 r2043  
    4848    Bool_t SetupFill(const MParList *pList);
    4949
    50     Bool_t Fill(const MParContainer *par, Double_t w=1);
     50    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    5151    Bool_t Finalize();
    5252
  • trunk/MagicSoft/Mars/mhist/MHRanForest.cc

    r1992 r2043  
    108108//
    109109//
    110 Bool_t MHRanForest::Fill(const MParContainer *par, Double_t w)
     110Bool_t MHRanForest::Fill(const MParContainer *par, const Stat_t w)
    111111{
    112112    fNumEvent++;
  • trunk/MagicSoft/Mars/mhist/MHRanForest.h

    r1992 r2043  
    3333
    3434    Bool_t SetupFill(const MParList *plist);
    35     Bool_t Fill(const MParContainer *par, Double_t w=1);
     35    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3636    Bool_t Finalize();
    3737
  • trunk/MagicSoft/Mars/mhist/MHRanForestGini.cc

    r1992 r2043  
    101101//
    102102//
    103 Bool_t MHRanForestGini::Fill(const MParContainer *par, Double_t w)
     103Bool_t MHRanForestGini::Fill(const MParContainer *par, const Stat_t w)
    104104{
    105105    for (Int_t i=0;i<fRanForest->GetNumDim();i++)
  • trunk/MagicSoft/Mars/mhist/MHRanForestGini.h

    r1992 r2043  
    3131
    3232    Bool_t SetupFill(const MParList *plist);
    33     Bool_t Fill(const MParContainer *par, Double_t w=1);
     33    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3434    Bool_t Finalize();
    3535
  • trunk/MagicSoft/Mars/mhist/MHSigmaPixel.cc

    r1992 r2043  
    107107// Fill the histogram
    108108//
    109 Bool_t MHSigmaPixel::Fill(const MParContainer *par, Double_t w)
     109Bool_t MHSigmaPixel::Fill(const MParContainer *par, const Stat_t w)
    110110{
    111111    const MPedestalCam &ped = *(MPedestalCam*)par;
  • trunk/MagicSoft/Mars/mhist/MHSigmaPixel.h

    r1992 r2043  
    2727
    2828    Bool_t SetupFill(const MParList *pList);
    29     Bool_t Fill(const MParContainer *par, Double_t w=1);
     29    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3030
    3131    const TH2D *GetHist()       { return &fHist; }
  • trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc

    r2039 r2043  
    177177//  Fill the histograms
    178178//
    179 Bool_t MHSigmaTheta::Fill(const MParContainer *par, Double_t w)
     179Bool_t MHSigmaTheta::Fill(const MParContainer *par, const Stat_t w)
    180180{
    181181    Double_t theta = fMcEvt->GetTelescopeTheta()*kRad2Deg;
  • trunk/MagicSoft/Mars/mhist/MHSigmaTheta.h

    r2039 r2043  
    4242
    4343    Bool_t SetupFill(const MParList *plist);
    44     Bool_t Fill(const MParContainer *par, Double_t w=1);
     44    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    4545
    4646    const TH2D *GetSigmaTheta() { return &fSigmaTheta; }
  • trunk/MagicSoft/Mars/mhist/MHSigmabarTheta.cc

    r1992 r2043  
    111111// Fill the histogram
    112112//
    113 Bool_t MHSigmabarTheta::Fill(const MParContainer *par, Double_t w)
     113Bool_t MHSigmabarTheta::Fill(const MParContainer *par, const Stat_t w)
    114114{
    115     fHist.Fill(fMcEvt->GetTheta()*kRad2Deg, fSigmabar->GetSigmabar()); 
     115    fHist.Fill(fMcEvt->GetTheta()*kRad2Deg, fSigmabar->GetSigmabar(), w);
    116116    return kTRUE;
    117117}
  • trunk/MagicSoft/Mars/mhist/MHSigmabarTheta.h

    r1992 r2043  
    2828
    2929    Bool_t SetupFill(const MParList *pList);
    30     Bool_t Fill(const MParContainer *par, Double_t w=1);
     30    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3131
    3232    const TH2D *GetHist()       { return &fHist; }
  • trunk/MagicSoft/Mars/mhist/MHStarMap.cc

    r1992 r2043  
    146146// Be careful: Only call this with an object of type MHillas
    147147//
    148 Bool_t MHStarMap::Fill(const MParContainer *par, Double_t w)
     148Bool_t MHStarMap::Fill(const MParContainer *par, const Stat_t w)
    149149{
    150150    const MHillas &h = *(MHillas*)par;
     
    174174
    175175        for (float x=xmin+dx/2; x<(xmax-xmin)+dx; x+=dx)
    176             fStarMap->Fill(x, m*x+t);
     176            fStarMap->Fill(x, m*x+t, w);
    177177    }
    178178    else
     
    185185
    186186        for (float y=ymin+dy/2; y<(ymax-ymin)+dy; y+=dy)
    187             fStarMap->Fill((y-t)/m, y);
     187            fStarMap->Fill((y-t)/m, y, w);
    188188    }
    189189
  • trunk/MagicSoft/Mars/mhist/MHStarMap.h

    r1992 r2043  
    3333
    3434    Bool_t SetupFill(const MParList *pList);
    35     Bool_t Fill(const MParContainer *par, Double_t w=1);
     35    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3636
    3737    TH1 *GetHistByName(const TString name) { return fStarMap; }
  • trunk/MagicSoft/Mars/mhist/MHThetabarTheta.cc

    r1992 r2043  
    110110// Fill the histogram
    111111//
    112 Bool_t MHThetabarTheta::Fill(const MParContainer *par, Double_t w)
     112Bool_t MHThetabarTheta::Fill(const MParContainer *par, const Stat_t w)
    113113{
    114114    const Double_t theta = fMcEvt->GetTelescopeTheta()*kRad2Deg;
    115115
    116     fHist.Fill(theta, theta);
     116    fHist.Fill(theta, theta, w);
    117117
    118118    return kTRUE;
  • trunk/MagicSoft/Mars/mhist/MHThetabarTheta.h

    r1992 r2043  
    2626
    2727    Bool_t SetupFill(const MParList *pList);
    28     Bool_t Fill(const MParContainer *par, Double_t w=1);
     28    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    2929
    3030    const TProfile *GetHist() { return &fHist; }
  • trunk/MagicSoft/Mars/mhist/MHThetabarTime.cc

    r2009 r2043  
    119119// Fill the histogram
    120120//
    121 Bool_t MHThetabarTime::Fill(const MParContainer *par, Double_t w)
     121Bool_t MHThetabarTime::Fill(const MParContainer *par, const Stat_t w)
    122122{
    123123    const Int_t time = fTime->GetTimeLo();
    124124
    125     fHist.Fill(0.0001*time, fMcEvt->GetTheta()*kRad2Deg);
     125    fHist.Fill(0.0001*time, fMcEvt->GetTheta()*kRad2Deg, w);
    126126
    127127    return kTRUE;
  • trunk/MagicSoft/Mars/mhist/MHThetabarTime.h

    r1992 r2043  
    2929
    3030    Bool_t SetupFill(const MParList *pList);
    31     Bool_t Fill(const MParContainer *par, Double_t w=1);
     31    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3232
    3333    const TProfile *GetHist() { return &fHist; }
  • trunk/MagicSoft/Mars/mhist/MHTimeDiffTheta.cc

    r1992 r2043  
    143143//  Fill the histogram
    144144//
    145 Bool_t MHTimeDiffTheta::Fill(const MParContainer *par, Double_t w)
     145Bool_t MHTimeDiffTheta::Fill(const MParContainer *par, const Stat_t w)
    146146{
    147147    const Double_t time = 200e-9*fTime->GetTimeLo() + fTime->GetTimeHi();
    148148
    149     fHist.Fill(time-fLastTime, fMcEvt->GetTelescopeTheta()*kRad2Deg);
     149    fHist.Fill(time-fLastTime, fMcEvt->GetTelescopeTheta()*kRad2Deg, w);
    150150    fLastTime = time;
    151151
  • trunk/MagicSoft/Mars/mhist/MHTimeDiffTheta.h

    r1992 r2043  
    2727
    2828    Bool_t SetupFill(const MParList *pList);
    29     Bool_t Fill(const MParContainer *par, Double_t w=1);
     29    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3030
    3131    const TH2D *GetHist() { return &fHist; }
  • trunk/MagicSoft/Mars/mhist/MHTimeDiffTime.cc

    r1992 r2043  
    136136//  Fill the histogram
    137137//
    138 Bool_t MHTimeDiffTime::Fill(const MParContainer *par, Double_t w)
     138Bool_t MHTimeDiffTime::Fill(const MParContainer *par, const Stat_t w)
    139139{
    140140    const Double_t time = 200e-9*fTime->GetTimeLo() + fTime->GetTimeHi();
    141141
    142     fHist.Fill(time-fLastTime, time);
     142    fHist.Fill(time-fLastTime, time, w);
    143143    fLastTime = time;
    144144
  • trunk/MagicSoft/Mars/mhist/MHTimeDiffTime.h

    r1992 r2043  
    2525
    2626    virtual Bool_t SetupFill(const MParList *pList);
    27     virtual Bool_t Fill(const MParContainer *par, Double_t w=1);
     27    virtual Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    2828
    2929    const TH2D *GetHist() { return &fHist; }
  • trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.cc

    r1999 r2043  
    137137// Fill data into the histogram which contains the selected showers
    138138//
    139 Bool_t MHMcCT1CollectionArea::Fill(const MParContainer *par, Double_t w)
     139Bool_t MHMcCT1CollectionArea::Fill(const MParContainer *par, const Stat_t w)
    140140{
    141141  MMcEvt &mcevt = *(MMcEvt*)par;
    142142
    143   fHistSel->Fill(log10(mcevt.GetEnergy()), kRad2Deg*mcevt.GetTelescopeTheta());
     143  fHistSel->Fill(log10(mcevt.GetEnergy()), kRad2Deg*mcevt.GetTelescopeTheta(), w);
    144144  return kTRUE;
    145145}
  • trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.h

    r1992 r2043  
    2020
    2121    Bool_t SetupFill(const MParList *pList);
    22     Bool_t Fill(const MParContainer *par, Double_t w=1);
     22    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    2323
    2424    void DrawAll(Option_t *option="");
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergyImpact.cc

    r2017 r2043  
    110110//  Fill the histogram with the log10 of the energy for triggered events.
    111111//
    112 Bool_t MHMcEnergyImpact::Fill(const MParContainer *cont, Double_t w)
     112Bool_t MHMcEnergyImpact::Fill(const MParContainer *cont, const Stat_t w)
    113113{
    114114    const MMcEvt &mcevt = *(MMcEvt*)cont;
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergyImpact.h

    r2015 r2043  
    2323
    2424    Bool_t SetupFill(const MParList *pList);
    25     Bool_t Fill(const MParContainer *pcont=NULL, Double_t w=1);
     25    Bool_t Fill(const MParContainer *pcont=NULL, const Stat_t w=1);
    2626
    2727    const TH2D *GetHist()       { return &fHist; }
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc

    r2017 r2043  
    158158// Fill the histogram
    159159//
    160 Bool_t MHMcEnergyMigration::Fill(const MParContainer *par, Double_t w)
     160Bool_t MHMcEnergyMigration::Fill(const MParContainer *par, const Stat_t w)
    161161{
    162162    //    MHillasSrc &hil = *(MHillasSrc*)par;
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.h

    r2015 r2043  
    2626
    2727    Bool_t SetupFill(const MParList *pList);
    28     Bool_t Fill(const MParContainer *par, Double_t w=1);
     28    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    2929
    3030    const TH3D *GetHist() { return &fHist; }
  • trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.cc

    r1997 r2043  
    146146// Be careful: Only call this with an object of type MMcTriggerLvl2
    147147//
    148 Bool_t MHMcTriggerLvl2::Fill(const MParContainer *par, Double_t w)
     148Bool_t MHMcTriggerLvl2::Fill(const MParContainer *par, const Stat_t w)
    149149{
    150150  const MMcTriggerLvl2 &h = *(MMcTriggerLvl2 *)par;
  • trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.h

    r2001 r2043  
    3333    ~MHMcTriggerLvl2();
    3434
    35     Bool_t Fill(const MParContainer *par, Double_t w=1);
     35    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3636
    3737    TH1 *GetHistByName(const TString name);
  • trunk/MagicSoft/Mars/mimage/MHHillas.cc

    r2026 r2043  
    240240// Be careful: Only call this with an object of type MHillas
    241241//
    242 Bool_t MHHillas::Fill(const MParContainer *par, Double_t w)
     242Bool_t MHHillas::Fill(const MParContainer *par, const Stat_t w)
    243243{
    244244    const MHillas &h = *(MHillas*)par;
  • trunk/MagicSoft/Mars/mimage/MHHillas.h

    r2026 r2043  
    3838
    3939    Bool_t SetupFill(const MParList *pList);
    40     Bool_t Fill(const MParContainer *par, Double_t w=1);
     40    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    4141
    4242    TH1 *GetHistByName(const TString name);
  • trunk/MagicSoft/Mars/mimage/MHHillasExt.cc

    r2026 r2043  
    146146// Be careful: Only call this with an object of type MHillas
    147147//
    148 Bool_t MHHillasExt::Fill(const MParContainer *par, Double_t w)
     148Bool_t MHHillasExt::Fill(const MParContainer *par, const Stat_t w)
    149149{
    150150    const MHillasSrc *src = (MHillasSrc*)par;
  • trunk/MagicSoft/Mars/mimage/MHHillasExt.h

    r2026 r2043  
    3434
    3535    Bool_t SetupFill(const MParList *pList);
    36     Bool_t Fill(const MParContainer *par, Double_t w=1);
     36    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3737
    3838    TH1 *GetHistByName(const TString name);
  • trunk/MagicSoft/Mars/mimage/MHHillasSrc.cc

    r2026 r2043  
    128128// Be careful: Only call this with an object of type MHillas
    129129//
    130 Bool_t MHHillasSrc::Fill(const MParContainer *par, Double_t w)
     130Bool_t MHHillasSrc::Fill(const MParContainer *par, const Stat_t w)
    131131{
    132132    const MHillasSrc &h = *(MHillasSrc*)par;
  • trunk/MagicSoft/Mars/mimage/MHHillasSrc.h

    r2026 r2043  
    2727
    2828    Bool_t SetupFill(const MParList *pList);
    29     Bool_t Fill(const MParContainer *par, Double_t w=1);
     29    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3030
    3131    TH1 *GetHistByName(const TString name);
  • trunk/MagicSoft/Mars/mimage/MHNewImagePar.cc

    r2026 r2043  
    142142// Fill the histograms with data from a MNewImagePar container.
    143143//
    144 Bool_t MHNewImagePar::Fill(const MParContainer *par, Double_t w)
     144Bool_t MHNewImagePar::Fill(const MParContainer *par, const Stat_t w)
    145145{
    146146    const MNewImagePar &h = *(MNewImagePar*)par;
  • trunk/MagicSoft/Mars/mimage/MHNewImagePar.h

    r2026 r2043  
    2727
    2828    Bool_t SetupFill(const MParList *plist);
    29     Bool_t Fill(const MParContainer *par, Double_t w=1);
     29    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    3030
    3131    TH1 *GetHistByName(const TString name);
Note: See TracChangeset for help on using the changeset viewer.