Belle II Software  release-05-01-25
CDCCKFState.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #include <tracking/ckf/cdc/entities/CDCCKFState.h>
11 
12 namespace Belle2 {
17  std::ostream& operator<<(std::ostream& output, const CDCCKFState& state)
18  {
19  if (state.isSeed()) {
20  output << "seed";
21  } else {
22  const auto* wireHit = state.getWireHit();
23  const auto& wire = wireHit->getWire();
24  output << wire.getICLayer() << " " << wire.getIWire();
25  }
26  return output;
27  }
29 }
Belle2::operator<<
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
Definition: IntervalOfValidity.cc:196
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19