CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
TrajectoryBuilder Class Referenceabstract

#include <TrajectoryBuilder.h>

Inheritance diagram for TrajectoryBuilder:
BaseCkfTrajectoryBuilder CkfTrajectoryBuilder GroupedCkfTrajectoryBuilder CkfDebugTrajectoryBuilder MuonCkfTrajectoryBuilder

Public Types

typedef std::vector< TrajectoryTrajectoryContainer
 
typedef TrajectoryContainer::iterator TrajectoryIterator
 

Public Member Functions

virtual void rebuildSeedingRegion (const TrajectorySeed &, TrajectoryContainer &result) const
 
virtual void setEvent (const edm::Event &event) const =0
 
virtual TrajectoryContainer trajectories (const TrajectorySeed &) const =0
 
virtual void trajectories (const TrajectorySeed &seed, TrajectoryContainer &out) const
 
virtual void unset () const
 
virtual ~TrajectoryBuilder ()
 

Detailed Description

The component of track reconstruction that, strating from a seed, reconstructs all possible trajectories. The resulting trajectories may be mutually exclusive and require cleaning by a TrajectoryCleaner. The Trajectories are normally not smoothed.

Definition at line 18 of file TrajectoryBuilder.h.

Member Typedef Documentation

Definition at line 21 of file TrajectoryBuilder.h.

typedef TrajectoryContainer::iterator TrajectoryBuilder::TrajectoryIterator

Definition at line 22 of file TrajectoryBuilder.h.

Constructor & Destructor Documentation

virtual TrajectoryBuilder::~TrajectoryBuilder ( )
inlinevirtual

Definition at line 24 of file TrajectoryBuilder.h.

References trajectories().

24 {};

Member Function Documentation

virtual void TrajectoryBuilder::rebuildSeedingRegion ( const TrajectorySeed ,
TrajectoryContainer result 
) const
inlinevirtual

Interface for trajectories re-building in the seeding region method. It has to be correctly implemented in the concrete class

Reimplemented in GroupedCkfTrajectoryBuilder.

Definition at line 36 of file TrajectoryBuilder.h.

References LogDebug, and setEvent().

Referenced by GroupedCkfTrajectoryBuilder::tkxor(), and GroupedCkfTrajectoryBuilder::~GroupedCkfTrajectoryBuilder().

37  {
38  LogDebug("TrajectoryBuilding")
39  << "WARNING: you are using a trajectory builder which is not overloading the rebuildSeedingRegion method because there is not an implementation yet: output TrajectoryContainer is equal to inputTrajectoryContainer";
40  }
#define LogDebug(id)
virtual void TrajectoryBuilder::setEvent ( const edm::Event event) const
pure virtual

Implemented in BaseCkfTrajectoryBuilder.

Referenced by rebuildSeedingRegion().

virtual TrajectoryContainer TrajectoryBuilder::trajectories ( const TrajectorySeed ) const
pure virtual
virtual void TrajectoryBuilder::trajectories ( const TrajectorySeed seed,
TrajectoryContainer out 
) const
inlinevirtual

Reimplemented in CkfTrajectoryBuilder, and GroupedCkfTrajectoryBuilder.

Definition at line 28 of file TrajectoryBuilder.h.

References eostools::move(), and trajectories().

28  {
29  TrajectoryContainer && ret = trajectories(seed);
30  out = std::move(ret);
31  }
virtual TrajectoryContainer trajectories(const TrajectorySeed &) const =0
std::vector< Trajectory > TrajectoryContainer
def move(src, dest)
Definition: eostools.py:510
virtual void TrajectoryBuilder::unset ( ) const
inlinevirtual

Reimplemented in BaseCkfTrajectoryBuilder.

Definition at line 43 of file TrajectoryBuilder.h.

43 {};