Changeset 7517 for trunk/MagicSoft/Mars/mpointing
- Timestamp:
- 02/17/06 10:15:31 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mpointing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpointing/MPointingPos.cc
r7389 r7517 54 54 using namespace std; 55 55 56 const TString MPointingPos::gsDefName = "MPointingPos"; 57 const TString MPointingPos::gsDefTitle = "Container storing the (corrected) telescope pointing position"; 58 56 59 // -------------------------------------------------------------------------- 57 60 // … … 89 92 opt = "radeczdaz"; 90 93 91 *fLog << GetDescriptor() << ": 94 *fLog << GetDescriptor() << ":"; 92 95 93 96 if (opt.Contains("ra", TString::kIgnoreCase)) … … 101 104 if (opt.Contains("az", TString::kIgnoreCase)) 102 105 *fLog << " Az=" << MAstro::GetStringDeg(fAz); 106 107 if (fTitle!=gsDefTitle) 108 *fLog << " <" << fTitle << ">"; 109 103 110 *fLog << endl; 104 111 } -
trunk/MagicSoft/Mars/mpointing/MPointingPos.h
r7389 r7517 18 18 { 19 19 private: 20 static const TString gsDefName; 21 static const TString gsDefTitle; 22 20 23 Double_t fZd; // [deg] Zenith distance (ZA) 21 24 Double_t fAz; // [deg] Azimuth … … 28 31 MPointingPos(const char *name=0, const char *title=0) : fZd(0), fAz(0), fRa(0), fHa(0), fDec(0) 29 32 { 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; 32 35 } 33 36 MPointingPos(const MPointingPos &p) : MParContainer(p),
Note:
See TracChangeset
for help on using the changeset viewer.