CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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:
20  TrajectoryMeasurementGroup(const std::vector<TrajectoryMeasurement>& meas, const DetGroup& dg)
21  : measurements_(meas), detGroup_(dg) {}
22 
23  TrajectoryMeasurementGroup(std::vector<TrajectoryMeasurement>&& meas, const DetGroup& dg)
24  : measurements_(std::move(meas)), detGroup_(dg) {}
25  TrajectoryMeasurementGroup(std::vector<TrajectoryMeasurement>&& meas, DetGroup&& dg)
26  : measurements_(std::move(meas)), detGroup_(std::move(dg)) {}
27 
28  const std::vector<TrajectoryMeasurement>& measurements() const { return measurements_; }
29  std::vector<TrajectoryMeasurement>& measurements() { return measurements_; }
30  const DetGroup& detGroup() const { return detGroup_; }
31 
32 private:
33  std::vector<TrajectoryMeasurement> measurements_;
35 };
36 
37 #endif
TrajectoryMeasurementGroup(std::vector< TrajectoryMeasurement > &&meas, const DetGroup &dg)
const DetGroup & detGroup() const
std::vector< TrajectoryMeasurement > measurements_
def move
Definition: eostools.py:511
TrajectoryMeasurementGroup(const std::vector< TrajectoryMeasurement > &meas, const DetGroup &dg)
const std::vector< TrajectoryMeasurement > & measurements() const
TrajectoryMeasurementGroup(std::vector< TrajectoryMeasurement > &&meas, DetGroup &&dg)
std::vector< TrajectoryMeasurement > & measurements()