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 20 of file TrajectoryBuilder.h.

typedef TrajectoryContainer::iterator TrajectoryBuilder::TrajectoryIterator

Definition at line 21 of file TrajectoryBuilder.h.

Constructor & Destructor Documentation

virtual TrajectoryBuilder::~TrajectoryBuilder ( )
inlinevirtual

Definition at line 23 of file TrajectoryBuilder.h.

References trajectories().

23 {};

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 35 of file TrajectoryBuilder.h.

References LogDebug, and setEvent().

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

35  {
36  LogDebug("TrajectoryBuilding") << "WARNING: you are using a trajectory builder which is not overloading the "
37  "rebuildSeedingRegion method because there is not an implementation yet: output "
38  "TrajectoryContainer is equal to inputTrajectoryContainer";
39  }
#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 27 of file TrajectoryBuilder.h.

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

27  {
29  out = std::move(ret);
30  }
ret
prodAgent to be discontinued
virtual TrajectoryContainer trajectories(const TrajectorySeed &) const =0
std::vector< Trajectory > TrajectoryContainer
def move(src, dest)
Definition: eostools.py:511
virtual void TrajectoryBuilder::unset ( ) const
inlinevirtual

Reimplemented in BaseCkfTrajectoryBuilder.

Definition at line 42 of file TrajectoryBuilder.h.

42 {};