// ------------------------------------------------------------------------- // ----- PndSdsMergedHit header file ----- // ----- Created by M. Michel ----- // ------------------------------------------------------------------------- #ifndef PNDSDSMERGEDHIT_H #define PNDSDSMERGEDHIT_H #include "TVector3.h" #include "TString.h" #include "FairHit.h" #include "PndDetectorList.h" #include "TMatrixD.h" //#include "PndSingleLinkedData.h" #include #include #include "PndSdsHit.h" class PndSdsMergedHit : public PndSdsHit { friend std::ostream& operator<< (std::ostream& out, const PndSdsMergedHit& hit){ out << "PndSdsMergedHit in " << hit.GetSensorID() << " at" << std::endl; out << "(" << hit.GetX() << ", " << hit.GetY() << ", " << hit.GetZ() << ") cm " << " with " << hit.GetCharge() << " e" << " at Time: " << hit.GetTimeStamp() << " +/- " << hit.GetTimeStampError() << " , Cluster No. " << hit.GetClusterIndex(); if (hit.GetBotIndex() > -1) out << " and bottom " << hit.GetBotIndex(); if (hit.GetRefIndex() > -1) out << ", mc point id = " << hit.GetRefIndex(); if (hit.GetSecondMCHit() > -1) out << ", mc point 2 id = " << hit.GetSecondMCHit(); else out << ", noise hit without mc poit"; out << std::endl; out <<"hit.GetClusterIndex() "<