Belle II Software development
CDCRLWireHitSegment.cc
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#include <tracking/trackFindingCDC/eventdata/segments/CDCRLWireHitSegment.h>
9
10#include <tracking/trackFindingCDC/eventdata/hits/CDCRLWireHit.h>
11
12using namespace Belle2;
13using namespace TrackFindingCDC;
14
15std::vector<const CDCWire*> CDCRLWireHitSegment::getWireSegment() const
16{
17 std::vector<const CDCWire*> wireSegment;
18 for (const CDCRLWireHit& rlWireHit : *this) {
19 wireSegment.push_back(&(rlWireHit.getWire()));
20 }
21 return wireSegment;
22}
std::vector< const CDCWire * > getWireSegment() const
Getter for the vector of wires the hits of this segment are based on in the same order.
Class representing an oriented hit wire including a hypotheses whether the causing track passes left ...
Definition: CDCRLWireHit.h:41
const CDCWire & getWire() const
Getter for the wire the oriented hit associated to.
Abstract base class for different kinds of events.