Ignore:
Timestamp:
Mar 9, 2013, 5:12:55 PM (11 years ago)
Author:
lemeur
Message:

complements graphiques, legendes et unification unites

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/include/particleBeam.h

    r377 r381  
    4949double getUnnormalizedTranspPhaseSpaceArea(unsigned TranspIndexAbs, unsigned TranspIndexOrd);
    5050
     51
     52 unsigned pspaCoorIndexFromString(string nameCoor) const;
     53 unsigned transportCoorIndexFromString(string nameCoor) const;
     54
    5155inline double dimensionalFactorFromTransportToGraphics(unsigned index) {
    52   if ( index == 0 || index == 2 || index == 4 ) return 10.;
    53   else return  1.0;
     56  if ( index == 0 || index == 2 || index == 4 ) return 10.;   // mm
     57  else return  1.0;  // mrad
    5458}
     59
     60
     61
    5562
    5663 inline string transportVariableName(unsigned index) {
     
    6875  }
    6976 }
     77
     78
     79
    7080
    7181 inline string graphicTransportUnitName(unsigned index) {
     
    107117  void printAllXYZ() const;
    108118  void Zrange(double& zmin, double& zmax) const;
    109   //  void donneesDessinEllipseXxp(vector<double>& xcor, vector<double>& ycor);
    110   void donneesDessinEllipse(vector<double>& xcor, vector<double>& ycor, vector<string>& legende, unsigned indexAbs, unsigned indexOrd);
    111   void particlesPhaseSpaceData(vector<double>& xcor, vector<double>& ycor, unsigned indexAbs, unsigned indexOrd);
     119  void donneesDessinEllipse(vector<double>& xcor, vector<double>& ycor, vector<string>& legende, string namex, string namey);
     120  void particlesPhaseSpaceData(vector<double>& xcor, vector<double>& ycor, vector<string>& legende, string namex, string namey);
    112121  virtual string FileOutputFlow() const;
    113122  virtual bool FileInput(ifstream& ifs);
Note: See TracChangeset for help on using the changeset viewer.