CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
TrajectoryMeasurementGroup Class Reference

#include <TrajectoryMeasurementGroup.h>

Public Member Functions

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

Private Attributes

DetGroup detGroup_
 
std::vector< TrajectoryMeasurementmeasurements_
 

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.

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

Definition at line 21 of file TrajectoryMeasurementGroup.h.

22  : measurements_(meas), detGroup_(dg) {}
std::vector< TrajectoryMeasurement > measurements_
TrajectoryMeasurementGroup::TrajectoryMeasurementGroup ( std::vector< TrajectoryMeasurement > &&  meas,
const DetGroup dg 
)
inline

Definition at line 24 of file TrajectoryMeasurementGroup.h.

25  : measurements_(std::move(meas)), detGroup_(dg) {}
std::vector< TrajectoryMeasurement > measurements_
def move(src, dest)
Definition: eostools.py:510
TrajectoryMeasurementGroup::TrajectoryMeasurementGroup ( std::vector< TrajectoryMeasurement > &&  meas,
DetGroup &&  dg 
)
inline

Definition at line 26 of file TrajectoryMeasurementGroup.h.

27  : measurements_(std::move(meas)), detGroup_(std::move(dg)) {}
std::vector< TrajectoryMeasurement > measurements_
def move(src, dest)
Definition: eostools.py:510

Member Function Documentation

const DetGroup& TrajectoryMeasurementGroup::detGroup ( ) const
inline

Definition at line 31 of file TrajectoryMeasurementGroup.h.

References detGroup_.

const std::vector<TrajectoryMeasurement>& TrajectoryMeasurementGroup::measurements ( ) const
inline

Definition at line 29 of file TrajectoryMeasurementGroup.h.

References measurements_.

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

Definition at line 30 of file TrajectoryMeasurementGroup.h.

References measurements_.

30 {return measurements_;}
std::vector< TrajectoryMeasurement > measurements_

Member Data Documentation

DetGroup TrajectoryMeasurementGroup::detGroup_
private

Definition at line 36 of file TrajectoryMeasurementGroup.h.

Referenced by detGroup().

std::vector<TrajectoryMeasurement> TrajectoryMeasurementGroup::measurements_
private

Definition at line 35 of file TrajectoryMeasurementGroup.h.

Referenced by measurements().