Belle II Software
release-05-01-25
WireNeighborPair.h
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
#pragma once
11
12
#include <tracking/trackFindingCDC/topology/WireNeighborKind.h>
13
#include <tracking/trackFindingCDC/utilities/MayBePtr.h>
14
#include <utility>
15
16
namespace
Belle2
{
21
namespace
TrackFindingCDC {
22
23
class
CDCWire;
24
31
class
WireNeighborPair
32
:
public
std::pair<MayBePtr<const CDCWire>, MayBePtr<const CDCWire> > {
33
public
:
35
using
Super
= std::pair<MayBePtr<const CDCWire>, MayBePtr<const CDCWire> >;
36
38
using
Super::Super;
39
41
MayBePtr<const CDCWire>
getFirst
()
const
42
{
return
this->first; }
43
45
MayBePtr<const CDCWire>
getSecond
()
const
46
{
return
this->second; }
47
49
WireNeighborKind
getNeighborKind
()
const
;
50
51
};
52
53
}
55
}
Belle2::TrackFindingCDC::WireNeighborPair::getNeighborKind
WireNeighborKind getNeighborKind() const
Getter for the kind of neighbor hood relation the first wire has with the second.
Definition:
WireNeighborPair.cc:17
Belle2::TrackFindingCDC::WireNeighborPair::getSecond
MayBePtr< const CDCWire > getSecond() const
Getter for the second wire.
Definition:
WireNeighborPair.h:53
Belle2::TrackFindingCDC::WireNeighborPair::getFirst
MayBePtr< const CDCWire > getFirst() const
Getter for the first wire.
Definition:
WireNeighborPair.h:49
Belle2::TrackFindingCDC::WireNeighborPair::Super
std::pair< MayBePtr< const CDCWire >, MayBePtr< const CDCWire > > Super
Type of the base class.
Definition:
WireNeighborPair.h:43
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::WireNeighborKind
Type for the neighbor relationship from one wire to another.
Definition:
WireNeighborKind.h:35
tracking
trackFindingCDC
topology
include
WireNeighborPair.h
Generated on Fri Nov 5 2021 04:04:03 for Belle II Software by
1.8.17