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:
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::measurements_
std::vector< TrajectoryMeasurement > measurements_
Definition: TrajectoryMeasurementGroup.h:33
TrajectoryMeasurementGroup::TrajectoryMeasurementGroup
TrajectoryMeasurementGroup(std::vector< TrajectoryMeasurement > &&meas, DetGroup &&dg)
Definition: TrajectoryMeasurementGroup.h:25
TrajectoryMeasurementGroup::TrajectoryMeasurementGroup
TrajectoryMeasurementGroup()
Definition: TrajectoryMeasurementGroup.h:19
TrajectoryMeasurement.h
TrajectoryMeasurementGroup::measurements
std::vector< TrajectoryMeasurement > & measurements()
Definition: TrajectoryMeasurementGroup.h:29
DetGroup.h
TrajectoryMeasurementGroup::detGroup_
DetGroup detGroup_
Definition: TrajectoryMeasurementGroup.h:34
TrajectoryMeasurementGroup::TrajectoryMeasurementGroup
TrajectoryMeasurementGroup(std::vector< TrajectoryMeasurement > &&meas, const DetGroup &dg)
Definition: TrajectoryMeasurementGroup.h:23
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
TrajectoryMeasurementGroup::measurements
const std::vector< TrajectoryMeasurement > & measurements() const
Definition: TrajectoryMeasurementGroup.h:28
TrajectoryMeasurementGroup
Definition: TrajectoryMeasurementGroup.h:17
TrajectoryMeasurementGroup::TrajectoryMeasurementGroup
TrajectoryMeasurementGroup(const std::vector< TrajectoryMeasurement > &meas, const DetGroup &dg)
Definition: TrajectoryMeasurementGroup.h:20
DetGroup
Definition: DetGroup.h:41
TrajectoryMeasurementGroup::detGroup
const DetGroup & detGroup() const
Definition: TrajectoryMeasurementGroup.h:30