Ignore:
Timestamp:
11/11/08 11:49:49 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MHAlpha.cc

    r8996 r9153  
    463463// Fill the histogram. For details see the code or the class description
    464464//
    465 Bool_t MHAlpha::Fill(const MParContainer *par, const Stat_t w)
     465Int_t MHAlpha::Fill(const MParContainer *par, const Stat_t w)
    466466{
    467467    Double_t alpha, energy, theta;
  • trunk/MagicSoft/Mars/mhflux/MHAlpha.h

    r8879 r9153  
    9595    // MH
    9696    Bool_t SetupFill(const MParList *pl);
    97     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     97    Int_t Fill(const MParContainer *par, const Stat_t w=1);
    9898    Bool_t Finalize();
    9999
  • trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc

    r8911 r9153  
    464464}
    465465
    466 Bool_t MHCollectionArea::Fill(const MParContainer *par, const Stat_t weight)
     466Int_t MHCollectionArea::Fill(const MParContainer *par, const Stat_t weight)
    467467{
    468468    const Double_t energy = fMcEvt->GetEnergy();
  • trunk/MagicSoft/Mars/mhflux/MHCollectionArea.h

    r8911 r9153  
    4343    Bool_t SetupFill(const MParList *pList);
    4444    Bool_t ReInit(MParList *pList);
    45     Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
     45    Int_t Fill(const MParContainer *par, const Stat_t weight=1);
    4646    Bool_t Finalize();
    4747
  • trunk/MagicSoft/Mars/mhflux/MHDisp.cc

    r8957 r9153  
    146146// Fill the histogram. For details see the code or the class description
    147147//
    148 Bool_t MHDisp::Fill(const MParContainer *par, const Stat_t w)
     148Int_t MHDisp::Fill(const MParContainer *par, const Stat_t w)
    149149{
    150150    const MHillas *hil = dynamic_cast<const MHillas*>(par);
     
    152152    {
    153153        *fLog << err << "MHDisp::Fill: No container specified!" << endl;
    154         return kFALSE;
     154        return kERROR;
    155155    }
    156156
  • trunk/MagicSoft/Mars/mhflux/MHDisp.h

    r8719 r9153  
    8787    // MH
    8888    Bool_t SetupFill(const MParList *pList);
    89     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     89    Int_t Fill(const MParContainer *par, const Stat_t w=1);
    9090    Bool_t Finalize();
    9191
  • trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc

    r8946 r9153  
    720720//  Fill the histogram
    721721//
    722 Bool_t MHEffectiveOnTime::Fill(const MParContainer *par, const Stat_t w)
     722Int_t MHEffectiveOnTime::Fill(const MParContainer *par, const Stat_t w)
    723723{
    724724    const MTime *time = dynamic_cast<const MTime*>(par);
     
    726726    {
    727727        *fLog << err << "ERROR - MHEffectiveOnTime::Fill without argument or container doesn't inherit from MTime... abort." << endl;
    728         return kFALSE;
     728        return kERROR;
    729729    }
    730730
  • trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.h

    r8929 r9153  
    6666    Bool_t SetupFill(const MParList *pList);
    6767    Bool_t ReInit(MParList *pList);
    68     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     68    Int_t Fill(const MParContainer *par, const Stat_t w=1);
    6969    Bool_t Finalize();
    7070
  • trunk/MagicSoft/Mars/mhflux/MHEnergyEst.cc

    r8985 r9153  
    187187// Fill the histogram
    188188//
    189 Bool_t MHEnergyEst::Fill(const MParContainer *par, const Stat_t w)
     189Int_t MHEnergyEst::Fill(const MParContainer *par, const Stat_t w)
    190190{
    191191    const Double_t eest  = fEnergy->GetVal();
  • trunk/MagicSoft/Mars/mhflux/MHEnergyEst.h

    r8935 r9153  
    4848
    4949    Bool_t SetupFill(const MParList *pList);
    50     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     50    Int_t Fill(const MParContainer *par, const Stat_t w=1);
    5151    Bool_t Finalize();
    5252
  • trunk/MagicSoft/Mars/mhflux/MHFalseSource.cc

    r8601 r9153  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MHFalseSource.cc,v 1.22 2007-06-24 16:31:57 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MHFalseSource.cc,v 1.23 2008-11-11 11:42:14 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    309309// Fill the histogram. For details see the code or the class description
    310310//
    311 Bool_t MHFalseSource::Fill(const MParContainer *par, const Stat_t w)
     311Int_t MHFalseSource::Fill(const MParContainer *par, const Stat_t w)
    312312{
    313313    const MHillas *hil = dynamic_cast<const MHillas*>(par);
     
    315315    {
    316316        *fLog << err << "MHFalseSource::Fill: No container specified!" << endl;
    317         return kFALSE;
     317        return kERROR;
    318318    }
    319319
  • trunk/MagicSoft/Mars/mhflux/MHFalseSource.h

    r8185 r9153  
    9494    // MH
    9595    Bool_t SetupFill(const MParList *pList);
    96     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     96    Int_t Fill(const MParContainer *par, const Stat_t w=1);
    9797
    9898    // TObject
  • trunk/MagicSoft/Mars/mhflux/MHPhi.cc

    r7618 r9153  
    186186// MMuonSearchPar container.
    187187//
    188 Bool_t MHPhi::Fill(const MParContainer *par, const Stat_t weight)
     188Int_t MHPhi::Fill(const MParContainer *par, const Stat_t weight)
    189189{
    190190    // Here we calculate an upper phi cut to take a
  • trunk/MagicSoft/Mars/mhflux/MHPhi.h

    r7618 r9153  
    4141    // MH
    4242    Bool_t SetupFill(const MParList *plist);
    43     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     43    Int_t Fill(const MParContainer *par, const Stat_t w=1);
    4444
    4545public:
  • trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc

    r8592 r9153  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.9 2007-06-22 15:49:50 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.10 2008-11-11 11:42:14 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    215215}
    216216
    217 Bool_t MHThetaSqN::Fill(const MParContainer *par, const Stat_t weight)
     217Int_t MHThetaSqN::Fill(const MParContainer *par, const Stat_t weight)
    218218{
    219219    const TVector2 norm(GetVec(fHillas->GetNormAxis(), 6));
     
    272272        SetVal(dist[i]);
    273273
    274         if (!MHAlpha::Fill(NULL, w))
    275             return kFALSE;
     274        const Int_t rc = MHAlpha::Fill(NULL, w);
     275        if (rc!=kTRUE)
     276            return rc;
    276277    }
    277278
  • trunk/MagicSoft/Mars/mhflux/MHThetaSqN.h

    r7775 r9153  
    4848    // MH
    4949    Bool_t SetupFill(const MParList *pl);
    50     Bool_t Fill(const MParContainer *par, const Stat_t weight);
     50    Int_t Fill(const MParContainer *par, const Stat_t weight);
    5151    Bool_t Finalize();
    5252
  • trunk/MagicSoft/Mars/mhflux/MHThreshold.cc

    r8988 r9153  
    164164}
    165165
    166 Bool_t MHThreshold::Fill(const MParContainer *par, const Stat_t weight)
     166Int_t MHThreshold::Fill(const MParContainer *par, const Stat_t weight)
    167167{
    168168    const Double_t energy = fMcEvt->GetEnergy();
  • trunk/MagicSoft/Mars/mhflux/MHThreshold.h

    r7349 r9153  
    2323
    2424    Bool_t SetupFill(const MParList *pList);
    25     Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
     25    Int_t Fill(const MParContainer *par, const Stat_t weight=1);
    2626
    2727    void Draw(Option_t *option="");
Note: See TracChangeset for help on using the changeset viewer.