Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:39:11

0001 #include "Alignment/CommonAlignment/interface/AlignmentUserVariables.h"
0002 #include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
0003 
0004 class HIPUserVariables : public AlignmentUserVariables {
0005 public:
0006   /** data members */
0007   AlgebraicSymMatrix jtvj;
0008   AlgebraicVector jtve;
0009   double alichi2;
0010   int alindof;
0011   int nhit;
0012   int datatype;
0013   AlgebraicVector alipar;
0014   AlgebraicVector alierr;
0015 
0016   /** constructors */
0017   HIPUserVariables(int npar)
0018       : jtvj(npar, 0),
0019         jtve(npar, 0),
0020         alichi2(0.0),
0021         alindof(0),
0022         nhit(0),
0023         datatype(-2),
0024         alipar(npar, 0),
0025         alierr(npar, 0) {}
0026 
0027   HIPUserVariables(const HIPUserVariables& other)
0028       : jtvj(other.jtvj),
0029         jtve(other.jtve),
0030         alichi2(other.alichi2),
0031         alindof(other.alindof),
0032         nhit(other.nhit),
0033         datatype(other.datatype),
0034         alipar(other.alipar),
0035         alierr(other.alierr) {}
0036 
0037   /** destructor */
0038   ~HIPUserVariables() override{};
0039 
0040   /** clone method (copy constructor) */
0041   HIPUserVariables* clone(void) const override { return new HIPUserVariables(*this); }
0042 };