CMS 3D CMS Logo

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  TrajectoryMeasurementGroup(std::vector<TrajectoryMeasurement>&& meas,
25  const DetGroup& dg) : measurements_(std::move(meas)), detGroup_(dg) {}
26  TrajectoryMeasurementGroup(std::vector<TrajectoryMeasurement>&& meas,
27  DetGroup&& dg) : measurements_(std::move(meas)), detGroup_(std::move(dg)) {}
28 
29  const std::vector<TrajectoryMeasurement>& measurements() const {return measurements_;}
30  std::vector<TrajectoryMeasurement>& measurements() {return measurements_;}
31  const DetGroup& detGroup() const {return detGroup_;}
32 
33 private:
34 
35  std::vector<TrajectoryMeasurement> measurements_;
37 
38 };
39 
40 
41 
42 #endif
TrajectoryMeasurementGroup(std::vector< TrajectoryMeasurement > &&meas, const DetGroup &dg)
const DetGroup & detGroup() const
std::vector< TrajectoryMeasurement > measurements_
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()
def move(src, dest)
Definition: eostools.py:510