File indexing completed on 2025-12-18 09:20:49
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #include "TrackCandHit.h"
0021 #include "IO.h"
0022
0023 namespace genfit {
0024
0025 TrackCandHit::TrackCandHit(int detId,
0026 int hitId,
0027 int planeId,
0028 double sortingParameter)
0029 : detId_(detId),
0030 hitId_(hitId),
0031 planeId_(planeId),
0032 sortingParameter_(sortingParameter)
0033 {
0034 ;
0035 }
0036
0037
0038 void TrackCandHit::Print(Option_t*) const {
0039 printOut << " TrackCandHit. DetId = " << detId_
0040 << " \t HitId = " << hitId_
0041 << " \t PlaneId = " << planeId_
0042 << " \t SortingParameter = " << sortingParameter_ << "\n";
0043 }
0044
0045
0046 bool operator== (const TrackCandHit& lhs, const TrackCandHit& rhs){
0047 if(lhs.detId_ == rhs.detId_ &&
0048 lhs.hitId_ == rhs.hitId_ &&
0049 lhs.planeId_ == rhs.planeId_)
0050 return true;
0051 return false;
0052 }
0053
0054 }