Belle II Software
release-05-01-25
AllSegmentTripleRelationFilter.cc
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2015 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Oliver Frost *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
#include <tracking/trackFindingCDC/filters/segmentTripleRelation/AllSegmentTripleRelationFilter.h>
11
12
#include <tracking/trackFindingCDC/eventdata/tracks/CDCSegmentTriple.h>
13
#include <tracking/trackFindingCDC/eventdata/segments/CDCSegment2D.h>
14
15
using namespace
Belle2
;
16
using namespace
TrackFindingCDC;
17
18
Weight
AllSegmentTripleRelationFilter::operator()
(
const
CDCSegmentTriple
& fromSegmentTriple
19
__attribute__((unused)),
20
const
CDCSegmentTriple
& toSegmentTriple)
21
{
22
// Just let all found neighors pass for the base implementation
23
// with the default weight
24
return
-toSegmentTriple.
getStartSegment
()->size();
25
}
Belle2::TrackFindingCDC::CDCSegmentTriple::getStartSegment
const CDCAxialSegment2D * getStartSegment() const
Getter for the start axial segment.
Definition:
CDCSegmentTriple.h:111
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::AllSegmentTripleRelationFilter::operator()
Weight operator()(const CDCSegmentTriple &fromSegmentTriple, const CDCSegmentTriple &toSegmentTriple) final
Main filter method returning the weight of the neighborhood relation.
Definition:
AllSegmentTripleRelationFilter.cc:18
Belle2::TrackFindingCDC::CDCSegmentTriple
Class representing a triple of reconstructed segements in adjacent superlayer.
Definition:
CDCSegmentTriple.h:42
tracking
trackFindingCDC
filters
segmentTripleRelation
src
AllSegmentTripleRelationFilter.cc
Generated on Fri Nov 5 2021 04:02:37 for Belle II Software by
1.8.17