Belle II Software development
SpacePointTrackCandCreator< SPTCContainerType > Struct Template Reference

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

#include <SpacePointTrackCandCreator.h>

Static Public Member Functions

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

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()

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

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

Returns the created Space Point.

Definition at line 25 of file SpacePointTrackCandCreator.h.

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

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