//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Implementation of class TpcPrimaryCluster // see TpcPrimaryCluster.hh for details // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // Cristoforo Simonetto TUM // // //----------------------------------------------------------- // This Class' Header ------------------ #include "TpcPrimaryCluster.h" // C/C++ Headers ---------------------- // Collaborating Class Headers -------- // Class Member definitions ----------- ClassImp(TpcPrimaryCluster); TpcPrimaryCluster::TpcPrimaryCluster() : _t(0), _q(0), _mcTrackId(0),_mcHitId(0),_pos(0,0,0) {} TpcPrimaryCluster::TpcPrimaryCluster(const double t, const int q, const TVector3& pos, const unsigned int mcTrackId, const unsigned int mcHitId) : _t(t), _q(q), _mcTrackId(mcTrackId),_mcHitId(mcHitId),_pos(pos) {} TpcPrimaryCluster::~TpcPrimaryCluster() {} unsigned int TpcPrimaryCluster::mcTrackId() const { return _mcTrackId; } unsigned int TpcPrimaryCluster::mcHitId() const { return _mcHitId; }