Esempio n. 1
0
 /** get magnet polarity */
 public double getPolarity() {
   try {
     return m_bucMagnet.getPolarity();
   } catch (Exception e) {
     System.out.println(
         " Polarity not set on " + this.getId() + ", for stability sake, using + field");
     return 1;
   }
 }
Esempio n. 2
0
 /** get the default magnetic field */
 public double getDfltField() {
   return m_bucMagnet.getDfltField();
 }
Esempio n. 3
0
 /** get the effective magnetic length (m) */
 public double getEffLength() {
   return m_bucMagnet.getEffLength();
 }