Changeset 2499


Ignore:
Timestamp:
11/10/03 15:18:25 (21 years ago)
Author:
galante
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2498 r2499  
    11                                                 -*-*- END OF LINE -*-*-
     2
     3 2003/11/10: Nicola Galante
     4
     5   * mhistmc/MHMcTriggerLvl2.[h,cc]:
     6     - Changed the return value of method
     7       MHMcTriggerLvl2::GetHistByName()
     8       Now it returns a (TH1 *), no more a (TObject *),
     9       in order to keep formal compatibility with the
     10       overloaded method of the mother class TH1 *MH::GetHistByName(TString name)
     11
    212
    313 2003/11/10: Thomas Bretz
  • trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.cc

    r2489 r2499  
    329329//  so remember to cast the returned object if you want to work with it.
    330330//
    331 TObject *MHMcTriggerLvl2::GetHistByName(const TString name) const
     331TH1 *MHMcTriggerLvl2::GetHistByName(const TString name) const
    332332{
    333333 
  • trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.h

    r2489 r2499  
    4343    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
    4444
    45     TObject *GetHistByName(const TString name) const;
     45    TH1 *GetHistByName(const TString name) const;
    4646
    4747    TH1F *GetHistLutPseudoSize() const { return fHistLutPseudoSize; }
Note: See TracChangeset for help on using the changeset viewer.