// ------------------------------------------------------------------------- // ----- PndSdsHit header file ----- // ----- Created by T.Stockmanns ----- // ------------------------------------------------------------------------- /** PndSdsHit.h *@author T.Stockmanns ** ** A hit in a silicon sensor. In addition to the base class ** FairHit, it holds the number of digis & charge entry. ** There is also a bottom index for double sided strip sensors. ** All coordinates are in the LAB frame. **/ #ifndef PNDSDSHIT_H #define PNDSDSHIT_H #include "TVector3.h" #include "TString.h" #include "FairHit.h" #include "PndDetectorList.h" #include "TMatrixD.h" //#include "PndSingleLinkedData.h" #include #include class PndSdsHit : public FairHit { friend std::ostream& operator<< (std::ostream& out, const PndSdsHit& hit){ out << "PndSdsHit in " << hit.GetSensorID() << " at" << std::endl; out << "(" << hit.GetX() << ", " << hit.GetY() << ", " << hit.GetZ() << ") cm " << " with " << hit.GetCharge() << " e" << ", Cluster No. " << hit.GetClusterIndex(); if (hit.GetBotIndex() > -1) out << " and bottom " << hit.GetBotIndex(); if (hit.GetRefIndex() > -1) out << ", mc point id = " << hit.GetRefIndex(); else out << ", noise hit without mc poit"; out << std::endl; out <<"hit.GetClusterIndex() "<