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 Det *d, const TrajectoryStateOnSurface &s)
 
 DetGroupElement (const Det *d, TrajectoryStateOnSurface &&s) noexcept
 
 DetGroupElement (const DetWithState &dws)
 
 DetGroupElement (DetGroupElement &&rhs) noexcept
 
 DetGroupElement (DetGroupElement const &rhs)
 
DetGroupElementoperator= (DetGroupElement &&rhs) noexcept
 
DetGroupElementoperator= (DetGroupElement const &rhs)
 
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) {}

◆ 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) {}

◆ DetGroupElement() [3/5]

DetGroupElement::DetGroupElement ( DetGroupElement const &  rhs)
inline

Definition at line 19 of file DetGroup.h.

19 : det_(rhs.det_), state_(rhs.state_) {}

◆ 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_)) {}

◆ 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)) {}

Member Function Documentation

◆ det()

const Det* DetGroupElement::det ( ) const
inline

Definition at line 33 of file DetGroup.h.

33 { return det_; }

References det_.

◆ operator=() [1/2]

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

Definition at line 26 of file DetGroup.h.

26  {
27  det_ = rhs.det_;
28  state_ = std::move(rhs.state_);
29  return *this;
30  }

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

◆ operator=() [2/2]

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

Definition at line 21 of file DetGroup.h.

21  {
22  det_ = rhs.det_;
23  state_ = rhs.state_;
24  return *this;
25  }

References det_, and state_.

◆ trajectoryState()

const TrajectoryStateOnSurface& DetGroupElement::trajectoryState ( ) const
inline

Definition at line 34 of file DetGroup.h.

34 { return state_; }

References state_.

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().

alignCSCRings.s
s
Definition: alignCSCRings.py:92
DetGroupElement::state_
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38
eostools.move
def move(src, dest)
Definition: eostools.py:511
DetGroupElement::det_
const Det * det_
Definition: DetGroup.h:37
ztail.d
d
Definition: ztail.py:151