Belle II Software  release-08-01-10
SpacePointTrackCandCreator< SPTCContainerType > Struct Template Reference

small class to take simple vectors of SpacePoints and convert them to real SpacePointTrackCands More...

#include <SpacePointTrackCandCreator.h>

Public Member Functions

SpacePointTrackCandcreateSPTC (SPTCContainerType &tcContainer, std::vector< const SpacePoint * > &spacePoints, short family=-1)
 takes simple vectors of SpacePoints and convert them to real SpacePointTrackCand. More...
 

Detailed Description

template<class SPTCContainerType>
struct Belle2::SpacePointTrackCandCreator< SPTCContainerType >

small class to take simple vectors of SpacePoints and convert them to real SpacePointTrackCands

Definition at line 21 of file SpacePointTrackCandCreator.h.

Member Function Documentation

◆ createSPTC()

SpacePointTrackCand* createSPTC ( SPTCContainerType &  tcContainer,
std::vector< const SpacePoint * > &  spacePoints,
short  family = -1 
)
inline

takes simple vectors of SpacePoints and convert them to real SpacePointTrackCand.

Returns the created Space Point.

Definition at line 25 of file SpacePointTrackCandCreator.h.

26  {
27  SpacePointTrackCand* newSPTC = tcContainer.appendNew(spacePoints);
28  newSPTC->setFamily(family);
29 
30  return newSPTC;
31  }

The documentation for this struct was generated from the following file: