CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
GetComponents Struct Reference

#include <GetComponents.h>

Public Member Functions

 GetComponents (TrajectoryStateOnSurface const &tsos)
 
TrajectoryStateOnSurface::Components const & operator() () const
 

Public Attributes

TrajectoryStateOnSurface::Components const * comps
 
TrajectoryStateOnSurface::Components single
 

Detailed Description

Definition at line 4 of file GetComponents.h.

Constructor & Destructor Documentation

GetComponents::GetComponents ( TrajectoryStateOnSurface const &  tsos)
inlineexplicit

Definition at line 5 of file GetComponents.h.

References TrajectoryStateOnSurface::components(), comps, single, and TrajectoryStateOnSurface::singleState().

5  :
6  comps(&single) {
7  if (tsos.singleState()) single.push_back(tsos);
8  else comps = &tsos.components();
9  }
TrajectoryStateOnSurface::Components const * comps
Definition: GetComponents.h:13
TrajectoryStateOnSurface::Components single
Definition: GetComponents.h:12

Member Function Documentation

TrajectoryStateOnSurface::Components const& GetComponents::operator() ( ) const
inline

Definition at line 10 of file GetComponents.h.

References comps.

10 { return *comps;}
TrajectoryStateOnSurface::Components const * comps
Definition: GetComponents.h:13

Member Data Documentation

TrajectoryStateOnSurface::Components const* GetComponents::comps

Definition at line 13 of file GetComponents.h.

Referenced by GetComponents(), and operator()().

TrajectoryStateOnSurface::Components GetComponents::single

Definition at line 12 of file GetComponents.h.

Referenced by GetComponents().