//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Basic statistics container for the Lasertracks // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Felix Boehmer TUM (original author) // //----------------------------------------------------------- #include "TpcLaserStat.h" #include "TpcCluster.h" #include "assert.h" // Class Member definitions ----------- ClassImp(TpcLaserStat) TpcLaserStat::TpcLaserStat() : flaserID(0), fclusterID(0), fres(TVector3(0,0,0)), //fresX(fres.X()), //fresY(fres.Y()), //fresZ(fres.Z()), fclust(NULL), fpos(TVector3(0,0,0)), //fposX(fpos.X()), //fposY(fpos.Y()), //fposZ(fpos.Z()), fpP(TVector3(0,0,0)) {;} TpcLaserStat::TpcLaserStat(unsigned int laserID, TpcCluster* clust, const TVector3& residual, const TVector3& res_sig, const TVector3& pP, const TVector3& sigpP) : flaserID(laserID), fres(residual), fpP(pP), fsig(res_sig), fsigpP(sigpP) { assert(clust); fclust=clust; fclusterID=fclust->index(); fpos=fclust->pos(); } TpcLaserStat::~TpcLaserStat() {;}