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
 
std::vector< TrajectoryMeasurement > & measurements ()
 
const std::vector< TrajectoryMeasurement > & measurements () const
 
 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() [1/4]

TrajectoryMeasurementGroup::TrajectoryMeasurementGroup ( )
inline

Definition at line 19 of file TrajectoryMeasurementGroup.h.

19 {}

◆ TrajectoryMeasurementGroup() [2/4]

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

Definition at line 20 of file TrajectoryMeasurementGroup.h.

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

◆ TrajectoryMeasurementGroup() [3/4]

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

Definition at line 23 of file TrajectoryMeasurementGroup.h.

24  : measurements_(std::move(meas)), detGroup_(dg) {}

◆ TrajectoryMeasurementGroup() [4/4]

TrajectoryMeasurementGroup::TrajectoryMeasurementGroup ( std::vector< TrajectoryMeasurement > &&  meas,
DetGroup &&  dg 
)
inline

Definition at line 25 of file TrajectoryMeasurementGroup.h.

26  : measurements_(std::move(meas)), detGroup_(std::move(dg)) {}

Member Function Documentation

◆ detGroup()

const DetGroup& TrajectoryMeasurementGroup::detGroup ( ) const
inline

Definition at line 30 of file TrajectoryMeasurementGroup.h.

30 { return detGroup_; }

References detGroup_.

◆ measurements() [1/2]

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

Definition at line 29 of file TrajectoryMeasurementGroup.h.

29 { return measurements_; }

References measurements_.

◆ measurements() [2/2]

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

Definition at line 28 of file TrajectoryMeasurementGroup.h.

28 { return measurements_; }

References measurements_.

Member Data Documentation

◆ detGroup_

DetGroup TrajectoryMeasurementGroup::detGroup_
private

Definition at line 34 of file TrajectoryMeasurementGroup.h.

Referenced by detGroup().

◆ measurements_

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

Definition at line 33 of file TrajectoryMeasurementGroup.h.

Referenced by measurements().

TrajectoryMeasurementGroup::measurements_
std::vector< TrajectoryMeasurement > measurements_
Definition: TrajectoryMeasurementGroup.h:33
TrajectoryMeasurementGroup::detGroup_
DetGroup detGroup_
Definition: TrajectoryMeasurementGroup.h:34
eostools.move
def move(src, dest)
Definition: eostools.py:511