Changeset 10066 for trunk/Cosy/tpoint/TPointStar.cc
- Timestamp:
- 12/01/10 09:35:50 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosy/tpoint/TPointStar.cc
r8823 r10066 12 12 using namespace std; 13 13 14 void TPointStar::Init(const char *name, const char *title) 15 { 16 fName = name ? name : "TPointStar"; 17 fTitle = title ? title : "A set of TPoints"; 18 } 19 14 20 TPointStar::TPointStar(Double_t sel, Double_t saz, Double_t rel, Double_t raz) : 15 21 fStarAz(saz*TMath::DegToRad()), … … 18 24 fRawEl(rel*TMath::DegToRad()), fMag(-25) 19 25 { 26 Init(); 20 27 } 21 28 … … 137 144 { 138 145 out << Form("%8.3f", set.fStarAz*TMath::RadToDeg()) << " "; 139 out << Form("% 8.3f", set.fStarEl*TMath::RadToDeg()) << "";146 out << Form("%7.3f", set.fStarEl*TMath::RadToDeg()) << " "; 140 147 out << Form("%8.3f", set.fRawAz*TMath::RadToDeg()) << " "; 141 out << Form("% 8.1f", set.fRawEl*TMath::RadToDeg()) << "";142 out << set.fMag;148 out << Form("%7.3f", set.fRawEl*TMath::RadToDeg()) << " "; 149 out << Form("%6.3f", set.fMag); 143 150 144 151 return out;
Note:
See TracChangeset
for help on using the changeset viewer.