#ifndef _RESIDCDC_H_ #define _RESIDCDC_H_ #include "FDC/DFDCPseudo.h" #include "MyTrajectory.h" #include "DLine.h" class residFDCAnode { public: residFDCAnode(vector *pseudopoints, const MyTrajectory *trajectory, int level = 1); void calcResids(); void setInnerResidFrac(double innerResidFracIn); void getResids(vector &residsRef); void getDetails(vector &docasRef, vector &distsRef, vector &errorsRef, vector &pocasRef, vector &posWiresRef); private: unsigned int n_fdca; vector *pseudopointVectorPtr; const MyTrajectory *trajPtr; DLine pseudopoint2line(const DFDCPseudo &pseudopoint); int debug_level; double innerResidFrac; vector doca, dist, resid, error; vector poca; vector posWire; double errorFDCA; }; #endif // _RESIDCDC_H_ // end of C++ source