Ignore:
Timestamp:
04/23/03 16:28:05 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.cc

    r1966 r1989  
    6363// --------------------------------------------------------------------------
    6464//
    65 // Setup four histograms for Width, Length
     65// Initialize the name and title of the task.
     66// Resets the sum histogram
    6667//
    6768MHCerPhotEvt::MHCerPhotEvt(const char *name, const char *title)
     
    7778}
    7879
     80// --------------------------------------------------------------------------
     81//
     82// Delete the corresponding camera display if available
     83//
    7984MHCerPhotEvt::~MHCerPhotEvt()
    8085{
     
    8590// --------------------------------------------------------------------------
    8691//
    87 // Setup the Binning for the histograms automatically if the correct
    88 // instances of MBinning (with the names 'BinningWidth' and 'BinningLength')
    89 // are found in the parameter list
    90 // Use this function if you want to set the conversion factor which
    91 // is used to convert the mm-scale in the camera plain into the deg-scale
    92 // used for histogram presentations. The conversion factor is part of
    93 // the camera geometry. Please create a corresponding MGeomCam container.
     92// Get the event (MCerPhotEvt) the histogram might be filled with. If
     93// it is not given, it is assumed, that it is filled with the argument
     94// of the Fill function.
     95// Looks for the camera geometry MGeomCam and resets the sum histogram.
    9496//
    9597Bool_t MHCerPhotEvt::SetupFill(const MParList *plist)
     
    110112// --------------------------------------------------------------------------
    111113//
    112 // Fill the histograms with data from a MHillas-Container.
    113 // Be careful: Only call this with an object of type MHillas
    114 //
    115 Bool_t MHCerPhotEvt::Fill(const MParContainer *par)
     114// Fill the histograms with data from a MCerPhotEvt-Container.
     115//
     116Bool_t MHCerPhotEvt::Fill(const MParContainer *par, Double_t w)
    116117{
    117118    const MCerPhotEvt *evt = par ? (MCerPhotEvt*)par : fEvt;
     
    143144}
    144145
     146// --------------------------------------------------------------------------
     147//
     148// Scale the sum container with the number of entries
     149//
    145150Bool_t MHCerPhotEvt::Finalize()
    146151{
     
    149154}
    150155
     156// --------------------------------------------------------------------------
     157//
     158// Draw clone
     159//
    151160TObject *MHCerPhotEvt::DrawClone(Option_t *opt) const
    152161{
     
    154163}
    155164
     165// --------------------------------------------------------------------------
     166//
     167// Draw the present 'fill status'
     168//
    156169void MHCerPhotEvt::Draw(Option_t *)
    157170{
     
    168181}
    169182
     183// --------------------------------------------------------------------------
     184//
     185// If a camera display is not yet assigned, assign a new one.
     186//
    170187void MHCerPhotEvt::Paint(Option_t *option="")
    171188{
Note: See TracChangeset for help on using the changeset viewer.