Ignore:
Timestamp:
02/17/06 10:15:31 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mpointing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpointing/MPointingPos.cc

    r7389 r7517  
    5454using namespace std;
    5555
     56const TString MPointingPos::gsDefName  = "MPointingPos";
     57const TString MPointingPos::gsDefTitle = "Container storing the (corrected) telescope pointing position";
     58
    5659// --------------------------------------------------------------------------
    5760//
     
    8992        opt = "radeczdaz";
    9093
    91     *fLog << GetDescriptor() << ": ";
     94    *fLog << GetDescriptor() << ":";
    9295
    9396    if (opt.Contains("ra", TString::kIgnoreCase))
     
    101104    if (opt.Contains("az", TString::kIgnoreCase))
    102105        *fLog << " Az=" << MAstro::GetStringDeg(fAz);
     106
     107    if (fTitle!=gsDefTitle)
     108        *fLog << " <" << fTitle << ">";
     109
    103110    *fLog << endl;
    104111}
  • trunk/MagicSoft/Mars/mpointing/MPointingPos.h

    r7389 r7517  
    1818{
    1919private:
     20    static const TString gsDefName;
     21    static const TString gsDefTitle;
     22
    2023    Double_t fZd;  // [deg] Zenith distance (ZA)
    2124    Double_t fAz;  // [deg] Azimuth
     
    2831    MPointingPos(const char *name=0, const char *title=0) : fZd(0), fAz(0), fRa(0), fHa(0), fDec(0)
    2932    {
    30         fName  = name ? name   : "MPointingPos";
    31         fTitle = title ? title : "Container storing the (corrected) telescope pointing position";
     33        fName  = name  ? (TString)name  : gsDefName;
     34        fTitle = title ? (TString)title : gsDefTitle;
    3235    }
    3336    MPointingPos(const MPointingPos &p) : MParContainer(p),
Note: See TracChangeset for help on using the changeset viewer.