5#ifndef DCMATH_ISSUBSETSEGMENT_H
6#define DCMATH_ISSUBSETSEGMENT_H
29 sharedHitsSegments(seg1, seg2);
31 unsigned int onlyInSeg1 = sharedHitsSegments.
onlyInSeg1();
32 unsigned int onlyInSeg2 = sharedHitsSegments.
onlyInSeg2();
34 if (onlyInSeg1 == 0) {
41 if (onlyInSeg2 == 0) {
const Line & line() const
void hitsOutOfTime(unsigned int hitsOutOfTime)
unsigned int hitsMl1() const
unsigned int hitsMl2() const
Function object to check whether two Segments are sub/super sets or different.
double deltaPhi(double phiA, double phiB)
delta Phi in range [-pi,pi[
IsSubsetSegment()=default
IsSubsetSegment(double phiCut, double y0Cut)
int operator()(const Segment &seg1, const Segment &seg2) const
counts the number of hits shared by the two segments
unsigned int onlyInSeg2() const
unsigned int onlyInSeg1() const