//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Implementation of a Laser-Track in the Tpc // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Felix Boehmer TUM (original author) // //----------------------------------------------------------- // This Class' Header ------------------ #include "PndTpcLaserTrack.h" #include "PndTpcLaserStat.h" #include "PndTpcCluster.h" // Class Member definitions ----------- ClassImp(PndTpcLaserTrack) PndTpcLaserTrack::PndTpcLaserTrack(unsigned int ID, const TVector3& start, const TVector3& dir) : fstart(start), fdir(dir), fID(ID) // TRACK - ID { fstatList = new std::vector; } PndTpcLaserTrack::~PndTpcLaserTrack() {;} void PndTpcLaserTrack::addStat(PndTpcLaserStat* stat) { fstatList->push_back(stat); } std::vector* PndTpcLaserTrack::getClusterList() { std::vector* c_list = new std::vector; unsigned int NStats = fstatList->size(); for(unsigned int i=0;ipush_back(fstatList->at(i)->getCluster()); } return c_list; }