/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkParams.cpp
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/TrkParams.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by pam-fi, Mon May 14 11:03:05 2007 UTC revision 1.9 by pam-fi, Tue May 15 16:22:19 2007 UTC
# Line 853  float TrkParams::GetBZ(float* v){ Line 853  float TrkParams::GetBZ(float* v){
853      return b[2]/10.;      return b[2]/10.;
854  }  }
855    
856    
857    
858  /**  /**
859   * \brief Set tracking mode (0=standard. 1=???)   * \brief Set tracking mode (0=standard. 1=???)
860   */   */
# Line 892  void TrkParams::SetStepMin(int istepmin) Line 894  void TrkParams::SetStepMin(int istepmin)
894   */   */
895  void TrkParams::SetPFA(int pfaid){  void TrkParams::SetPFA(int pfaid){
896      init__pfa  = pfaid;      init__pfa  = pfaid;
897      SetStepMin();      SetPFA();
898  };  };
899    /**
900     * \brief Get spatial resolution.
901     *
902     * Method to retrieve the spatial resolution associated with the
903     * adopted p.f.a.
904     * @param view Tracker view (1-12)
905     * @param angle Track projected angle
906     *
907     * In order to change p.f.a. use the SetPFA(int pfaid) method, eg.:
908     *
909     *  TrkParams::SetPFA(0)  // ETA
910     *
911     */
912    float TrkParams::GetResolution(int view, float angle){
913        float res = 1000;
914        if( init__pfa == 0 )res = riseta_(&view,&angle);
915        else cout << "float TrkParams::GetResolution(int view, float angle) -- PFA "<<init__pfa<<" not yet implemented"<<endl;
916        return res;
917    }
918    
919    
920    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23