Ignore:
Timestamp:
04/23/03 16:45:19 (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

    r1989 r1992  
    137137// Fill data into the histogram which contains the selected showers
    138138//
    139 Bool_t MHMcCT1CollectionArea::Fill(const MParContainer *par)
     139Bool_t MHMcCT1CollectionArea::Fill(const MParContainer *par, Double_t w)
    140140{
    141141  MMcEvt &mcevt = *(MMcEvt*)par;
  • trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.h

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

    r1974 r1992  
    119119//  Fill the histogram with the log10 of the energy for triggered events.
    120120//
    121 Bool_t MHMcEnergyImpact::Fill(const MParContainer *cont)
     121Bool_t MHMcEnergyImpact::Fill(const MParContainer *cont, Double_t w)
    122122{
    123123    const MMcEvt &mcevt = *(MMcEvt*)cont;
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergyImpact.h

    r1974 r1992  
    2424
    2525    Bool_t SetupFill(const MParList *pList);
    26     Bool_t Fill(const MParContainer *pcont=NULL);
     26    Bool_t Fill(const MParContainer *pcont=NULL, Double_t w=1);
    2727
    2828    const TH2D *GetHist()       { return &fHist; }
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc

    r1974 r1992  
    215215// Fill the histogram
    216216//
    217 Bool_t MHMcEnergyMigration::Fill(const MParContainer *par)
     217Bool_t MHMcEnergyMigration::Fill(const MParContainer *par, Double_t w)
    218218{
    219219    //    MHillasSrc &hil = *(MHillasSrc*)par;
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.h

    r1981 r1992  
    2929    MHMcEnergyMigration(const char *name=NULL, const char *title=NULL);
    3030
    31     virtual Bool_t SetupFill(const MParList *pList);
    32     virtual Bool_t Fill(const MParContainer *par);
     31    Bool_t SetupFill(const MParList *pList);
     32    Bool_t Fill(const MParContainer *par, Double_t w=1);
    3333
    3434    const TH3D *GetHist() { return &fHist; }
  • trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.cc

    r1974 r1992  
    141141// Be careful: Only call this with an object of type MMcTriggerLvl2
    142142//
    143 Bool_t MHMcTriggerLvl2::Fill(const MParContainer *par)
     143Bool_t MHMcTriggerLvl2::Fill(const MParContainer *par, Double_t w)
    144144{
    145145  const MMcTriggerLvl2 &h = *(MMcTriggerLvl2 *)par;
  • trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.h

    r1974 r1992  
    3434    ~MHMcTriggerLvl2();
    3535
    36     Bool_t Fill(const MParContainer *par);
     36    Bool_t Fill(const MParContainer *par, Double_t w=1);
    3737
    3838    TH1 *GetHistByName(const TString name);
Note: See TracChangeset for help on using the changeset viewer.