Belle II Software development
WireNeighborPair.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9
10#include <cdc/topology/WireNeighborKind.h>
11#include <tracking/trackingUtilities/utilities/MayBePtr.h>
12#include <utility>
13
14namespace Belle2 {
19 namespace CDC {
20
21 class CDCWire;
22
30 : public std::pair<TrackingUtilities::MayBePtr<const CDCWire>, TrackingUtilities::MayBePtr<const CDCWire> > {
31 public:
33 using Super = std::pair<TrackingUtilities::MayBePtr<const CDCWire>, TrackingUtilities::MayBePtr<const CDCWire> >;
34
36 using Super::Super;
37
39 TrackingUtilities::MayBePtr<const CDCWire> getFirst() const
40 { return this->first; }
41
43 TrackingUtilities::MayBePtr<const CDCWire> getSecond() const
44 { return this->second; }
45
48
49 };
50
51 }
53}
Class representing a sense wire in the central drift chamber.
Definition CDCWire.h:50
Type for the neighbor relationship from one wire to another.
Class representing a pair of neighbors in the CDC in a single layer For certain circumstances it is a...
TrackingUtilities::MayBePtr< const CDCWire > getSecond() const
Getter for the second wire.
std::pair< TrackingUtilities::MayBePtr< const CDCWire >, TrackingUtilities::MayBePtr< const CDCWire > > Super
Type of the base class.
TrackingUtilities::MayBePtr< const CDCWire > getFirst() const
Getter for the first wire.
WireNeighborKind getNeighborKind() const
Getter for the kind of neighbor hood relation the first wire has with the second.
Abstract base class for different kinds of events.