Belle II Software  release-08-01-10
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 <tracking/trackFindingCDC/topology/WireNeighborKind.h>
11 #include <tracking/trackFindingCDC/utilities/MayBePtr.h>
12 #include <utility>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20 
21  class CDCWire;
22 
30  : public std::pair<MayBePtr<const CDCWire>, MayBePtr<const CDCWire> > {
31  public:
33  using Super = std::pair<MayBePtr<const CDCWire>, MayBePtr<const CDCWire> >;
34 
36  using Super::Super;
37 
39  MayBePtr<const CDCWire> getFirst() const
40  { return this->first; }
41 
43  MayBePtr<const CDCWire> getSecond() const
44  { return this->second; }
45 
48 
49  };
50 
51  }
53 }
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...
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.
std::pair< MayBePtr< const CDCWire >, MayBePtr< const CDCWire > > Super
Type of the base class.
MayBePtr< const CDCWire > getSecond() const
Getter for the second wire.
Abstract base class for different kinds of events.