1 #ifndef DetLayers_DetGroup_h
2 #define DetLayers_DetGroup_h
12 typedef std::pair<const GeomDet*,TrajectoryStateOnSurface>
DetWithState;
22 #if defined( __GXX_EXPERIMENTAL_CXX0X__)
32 state_ = std::move(rhs.state_);
48 class DetGroup :
public std::vector< DetGroupElement> {
51 typedef std::vector< DetGroupElement>
Base;
55 #if defined( __GXX_EXPERIMENTAL_CXX0X__)
65 Base::operator=(std::forward<Base>(rhs));
75 DetGroup(
const std::vector<DetWithState>& vec) {
77 for (std::vector<DetWithState>::const_iterator
i=vec.begin();
i!=vec.end();
i++) {
void incrementIndex(int incr)
DetGroup(const std::vector< DetWithState > &vec)
DetGroup(int ind, int indSize)
DetGroupElement::DetWithState DetWithState
std::pair< const GeomDet *, TrajectoryStateOnSurface > DetWithState
U second(std::pair< T, U > const &p)
std::vector< DetGroupElement > Base
void setIndexSize(int newSize)
DetGroupElement(const Det *d, const TrajectoryStateOnSurface &s)
TrajectoryStateOnSurface state_
const TrajectoryStateOnSurface & trajectoryState() const
DetGroupElement(const DetWithState &dws)