View Javadoc

1   package org.lcsim.recon.vertexing.billoir;
2   /**
3    * @version $Id: Perigee.java,v 1.2 2006/03/28 23:50:27 jstrube Exp $
4    */
5   public class Perigee
6   {
7       //attributes
8       
9       private double[] _par;
10      //                          0 : epsilon (impact par. in xy projection, with sign)
11      //                          1 : z coordinate
12      //                          2 : theta angle
13      //                          3 : phi angle
14      //                          4 : 1/r (r = radius of curvature, with sign)
15      private double[] _cov;           // cov(0:15) :  covariance matrix of par (in lower diagonal form)
16      private double[] _wgt;           // wgt(0:15) :  weight matrix of par (inverse of cov)
17      
18      public Perigee( double[] par, double[] cov, double[] wgt)
19      {
20          _par = new double[5];
21          System.arraycopy(par,0,_par,0,5);
22          _cov = new double[15];
23          System.arraycopy(cov,0,_cov,0,15);
24          _wgt = new double[15];
25          System.arraycopy(wgt,0,_wgt,0,15);
26      }
27      
28      public double[] par()
29      {
30          return _par;
31      }
32      
33      public double[] cov()
34      {
35          return _cov;
36      }
37      
38      public double[] wgt()
39      {
40          return _wgt;
41      }
42  }