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

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.