Belle II Software development
CDCCKFState.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/ckf/cdc/entities/CDCCKFState.h>
9
10namespace Belle2 {
15 std::ostream& operator<<(std::ostream& output, const CDCCKFState& state)
16 {
17 if (state.isSeed()) {
18 output << "seed";
19 } else {
20 const auto* wireHit = state.getWireHit();
21 const auto& wire = wireHit->getWire();
22 output << wire.getICLayer() << " " << wire.getIWire();
23 }
24 return output;
25 }
27}
Define states for CKF algorithm, which can be seed track or CDC wire hit.
Definition: CDCCKFState.h:25
const TrackFindingCDC::CDCWireHit * getWireHit() const
Get CDCWireHit corresponding to the state.
Definition: CDCCKFState.h:35
bool isSeed() const
Returns true if the state corresponds to the seed track.
Definition: CDCCKFState.h:56
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
Abstract base class for different kinds of events.