CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
*, TrajectoryStateOnSurface
DetWithState
 

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

Definition at line 13 of file DetGroup.h.

Definition at line 12 of file DetGroup.h.

Constructor & Destructor Documentation

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::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
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38
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::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
def move
Definition: eostools.py:511
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38
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
def move
Definition: eostools.py:511
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38

Member Function Documentation

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
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
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
def move
Definition: eostools.py:511
TrajectoryStateOnSurface state_
Definition: DetGroup.h:38
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

const Det* DetGroupElement::det_
private

Definition at line 37 of file DetGroup.h.

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

TrajectoryStateOnSurface DetGroupElement::state_
private

Definition at line 38 of file DetGroup.h.

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