Ignore:
Timestamp:
12/01/10 09:35:50 (14 years ago)
Author:
tbretz
Message:
Propagate the TPoint file name to the output in telesto.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosy/tpoint/TPointStar.cc

    r8823 r10066  
    1212using namespace std;
    1313
     14void TPointStar::Init(const char *name, const char *title)
     15{
     16    fName  = name  ? name  : "TPointStar";
     17    fTitle = title ? title : "A set of TPoints";
     18}
     19
    1420TPointStar::TPointStar(Double_t sel, Double_t saz, Double_t rel, Double_t raz) :
    1521    fStarAz(saz*TMath::DegToRad()),
     
    1824    fRawEl(rel*TMath::DegToRad()), fMag(-25)
    1925{
     26    Init();
    2027}
    2128
     
    137144{
    138145    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()) << "  ";
    140147    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);
    143150
    144151    return out;
Note: See TracChangeset for help on using the changeset viewer.