CMS 3D CMS Logo

Public Member Functions | Private Attributes

TrajectoryMeasurementGroup Class Reference

#include <TrajectoryMeasurementGroup.h>

List of all members.

Public Member Functions

const DetGroupdetGroup () const
std::vector
< TrajectoryMeasurement > & 
measurements ()
const std::vector
< TrajectoryMeasurement > & 
measurements () const
 TrajectoryMeasurementGroup ()
 TrajectoryMeasurementGroup (const std::vector< TrajectoryMeasurement > &meas, const DetGroup &dg)

Private Attributes

DetGroup detGroup_
std::vector
< TrajectoryMeasurement
measurements_

Detailed Description

A class that facilitates grouping of trajectory measurements according to the group of Dets from which they come. Functionally equivalent to pair<vector<TrajectoryMeasurement>, vector<DetWithState> > but with a more convenient interface. Used as a return type for the CompositeDet::groupedMeasurements method.

Definition at line 17 of file TrajectoryMeasurementGroup.h.


Constructor & Destructor Documentation

TrajectoryMeasurementGroup::TrajectoryMeasurementGroup ( ) [inline]

Definition at line 20 of file TrajectoryMeasurementGroup.h.

{}
TrajectoryMeasurementGroup::TrajectoryMeasurementGroup ( const std::vector< TrajectoryMeasurement > &  meas,
const DetGroup dg 
) [inline]

Definition at line 21 of file TrajectoryMeasurementGroup.h.

                                                  : measurements_(meas), detGroup_(dg) {}

Member Function Documentation

const DetGroup& TrajectoryMeasurementGroup::detGroup ( ) const [inline]

Definition at line 34 of file TrajectoryMeasurementGroup.h.

References detGroup_.

{return detGroup_;}
const std::vector<TrajectoryMeasurement>& TrajectoryMeasurementGroup::measurements ( ) const [inline]

Definition at line 32 of file TrajectoryMeasurementGroup.h.

References measurements_.

{return measurements_;}
std::vector<TrajectoryMeasurement>& TrajectoryMeasurementGroup::measurements ( ) [inline]

Definition at line 33 of file TrajectoryMeasurementGroup.h.

References measurements_.

{return measurements_;}

Member Data Documentation

Definition at line 39 of file TrajectoryMeasurementGroup.h.

Referenced by detGroup().

Definition at line 38 of file TrajectoryMeasurementGroup.h.

Referenced by measurements().