CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrajectoryMeasurementGroup.h
Go to the documentation of this file.
1 #ifndef TrajectoryMeasurementGroup_H
2 #define TrajectoryMeasurementGroup_H
3 
6 #include <vector>
7 #include <utility>
8 
18 public:
19 
21  TrajectoryMeasurementGroup( const std::vector<TrajectoryMeasurement>& meas,
22  const DetGroup& dg) : measurements_(meas), detGroup_(dg) {}
23 
24 #if defined( __GXX_EXPERIMENTAL_CXX0X__)
25  TrajectoryMeasurementGroup(std::vector<TrajectoryMeasurement>&& meas,
26  const DetGroup& dg) : measurements_(std::move(meas)), detGroup_(dg) {}
27  TrajectoryMeasurementGroup(std::vector<TrajectoryMeasurement>&& meas,
28  DetGroup&& dg) : measurements_(std::move(meas)), detGroup_(std::move(dg)) {}
29 
30 #endif
31 
32  const std::vector<TrajectoryMeasurement>& measurements() const {return measurements_;}
33  std::vector<TrajectoryMeasurement>& measurements() {return measurements_;}
34  const DetGroup& detGroup() const {return detGroup_;}
35 
36 private:
37 
38  std::vector<TrajectoryMeasurement> measurements_;
40 
41 };
42 
43 
44 
45 #endif
const DetGroup & detGroup() const
std::vector< TrajectoryMeasurement > measurements_
def move
Definition: eostools.py:508
TrajectoryMeasurementGroup(const std::vector< TrajectoryMeasurement > &meas, const DetGroup &dg)
const std::vector< TrajectoryMeasurement > & measurements() const
std::vector< TrajectoryMeasurement > & measurements()