CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GetComponents.h
Go to the documentation of this file.
1 #ifndef GsfToolsGetComponents_H
2 #define GsfToolsGetComponents_H
4  struct GetComponents {
5  explicit GetComponents(TrajectoryStateOnSurface const &tsos) :
6  comps(&single) {
7  if (tsos.singleState()) single.push_back(tsos);
8  else comps = &tsos.components();
9  }
11 
14 };
15 #endif
TrajectoryStateOnSurface::Components const & operator()() const
Definition: GetComponents.h:10
TrajectoryStateOnSurface::Components const * comps
Definition: GetComponents.h:13
BasicTrajectoryState::Components Components
TrajectoryStateOnSurface::Components single
Definition: GetComponents.h:12
GetComponents(TrajectoryStateOnSurface const &tsos)
Definition: GetComponents.h:5
Components const & components() const