Belle II Software
release-05-01-25
AllTrackRelationFilter.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/trackRelation/AllTrackRelationFilter.h>
11
12
#include <tracking/trackFindingCDC/eventdata/tracks/CDCTrack.h>
13
14
using namespace
Belle2
;
15
using namespace
TrackFindingCDC;
16
17
Weight
AllTrackRelationFilter::operator()
(
const
CDCTrack
& fromTrack,
const
CDCTrack
& toTrack)
18
{
19
return
fromTrack.
getAutomatonCell
().
getCellWeight
() + toTrack.
getAutomatonCell
().
getCellWeight
();
20
}
Belle2::TrackFindingCDC::CDCTrack
Class representing a sequence of three dimensional reconstructed hits.
Definition:
CDCTrack.h:51
Belle2::TrackFindingCDC::AutomatonCell::getCellWeight
Weight getCellWeight() const
Getter for the cell weight.
Definition:
AutomatonCell.h:126
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::AllTrackRelationFilter::operator()
Weight operator()(const CDCTrack &fromTrack, const CDCTrack &toTrack) final
Implementation accepting all possible neighbors.
Definition:
AllTrackRelationFilter.cc:17
Belle2::TrackFindingCDC::CDCTrack::getAutomatonCell
AutomatonCell & getAutomatonCell() const
Mutable getter for the automaton cell.
Definition:
CDCTrack.h:135
tracking
trackFindingCDC
filters
trackRelation
src
AllTrackRelationFilter.cc
Generated on Fri Nov 5 2021 04:02:43 for Belle II Software by
1.8.17