CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
DetGroupElement Class Reference

#include <DetGroup.h>

Public Types

typedef GeomDet Det
 
typedef std::pair< const GeomDet *, TrajectoryStateOnSurfaceDetWithState
 

Public Member Functions

const Detdet () const
 
 DetGroupElement (const DetWithState &dws)
 
 DetGroupElement (const Det *d, const TrajectoryStateOnSurface &s)
 
 DetGroupElement (DetGroupElement const &rhs)
 
 DetGroupElement (DetGroupElement &&rhs) noexcept
 
 DetGroupElement (const Det *d, TrajectoryStateOnSurface &&s) noexcept
 
DetGroupElementoperator= (DetGroupElement const &rhs)
 
DetGroupElementoperator= (DetGroupElement &&rhs) noexcept
 
const TrajectoryStateOnSurfacetrajectoryState () const
 

Private Attributes

const Detdet_
 
TrajectoryStateOnSurface state_
 

Detailed Description

Definition at line 10 of file DetGroup.h.

Member Typedef Documentation

◆ Det

Definition at line 13 of file DetGroup.h.

◆ DetWithState

Definition at line 12 of file DetGroup.h.

Constructor & Destructor Documentation

◆ DetGroupElement() [1/5]

DetGroupElement::DetGroupElement ( const DetWithState dws)
inline

Definition at line 15 of file DetGroup.h.

15 : det_(dws.first), state_(dws.second) {}
const Det * det_
Definition: DetGroup.h:37
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38

◆ DetGroupElement() [2/5]

DetGroupElement::DetGroupElement ( const Det d,
const TrajectoryStateOnSurface s 
)
inline

Definition at line 17 of file DetGroup.h.

17 : det_(d), state_(s) {}
const Det * det_
Definition: DetGroup.h:37
d
Definition: ztail.py:151
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38

◆ DetGroupElement() [3/5]

DetGroupElement::DetGroupElement ( DetGroupElement const &  rhs)
inline

Definition at line 19 of file DetGroup.h.

19 : det_(rhs.det_), state_(rhs.state_) {}
const Det * det_
Definition: DetGroup.h:37
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38

◆ DetGroupElement() [4/5]

DetGroupElement::DetGroupElement ( DetGroupElement &&  rhs)
inlinenoexcept

Definition at line 20 of file DetGroup.h.

20 : det_(rhs.det_), state_(std::move(rhs.state_)) {}
const Det * det_
Definition: DetGroup.h:37
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38
def move(src, dest)
Definition: eostools.py:511

◆ DetGroupElement() [5/5]

DetGroupElement::DetGroupElement ( const Det d,
TrajectoryStateOnSurface &&  s 
)
inlinenoexcept

Definition at line 31 of file DetGroup.h.

31 : det_(d), state_(std::move(s)) {}
const Det * det_
Definition: DetGroup.h:37
d
Definition: ztail.py:151
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

◆ det()

const Det* DetGroupElement::det ( ) const
inline

Definition at line 33 of file DetGroup.h.

References det_.

33 { return det_; }
const Det * det_
Definition: DetGroup.h:37

◆ operator=() [1/2]

DetGroupElement& DetGroupElement::operator= ( DetGroupElement const &  rhs)
inline

Definition at line 21 of file DetGroup.h.

References det_, and state_.

21  {
22  det_ = rhs.det_;
23  state_ = rhs.state_;
24  return *this;
25  }
const Det * det_
Definition: DetGroup.h:37
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38

◆ operator=() [2/2]

DetGroupElement& DetGroupElement::operator= ( DetGroupElement &&  rhs)
inlinenoexcept

Definition at line 26 of file DetGroup.h.

References det_, eostools::move(), and state_.

26  {
27  det_ = rhs.det_;
28  state_ = std::move(rhs.state_);
29  return *this;
30  }
const Det * det_
Definition: DetGroup.h:37
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38
def move(src, dest)
Definition: eostools.py:511

◆ trajectoryState()

const TrajectoryStateOnSurface& DetGroupElement::trajectoryState ( ) const
inline

Definition at line 34 of file DetGroup.h.

References state_.

34 { return state_; }
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38

Member Data Documentation

◆ det_

const Det* DetGroupElement::det_
private

Definition at line 37 of file DetGroup.h.

Referenced by det(), and operator=().

◆ state_

TrajectoryStateOnSurface DetGroupElement::state_
private

Definition at line 38 of file DetGroup.h.

Referenced by operator=(), and trajectoryState().