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)
 
 DetGroupElement (const Det *d, TrajectoryStateOnSurface &&s)
 
DetGroupElementoperator= (DetGroupElement const &rhs)
 
DetGroupElementoperator= (DetGroupElement &&rhs)
 
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 16 of file DetGroup.h.

Referenced by DetGroup::DetGroup().

16  :
17  det_(dws.first), state_(dws.second) {}
const Det * det_
Definition: DetGroup.h:42
TrajectoryStateOnSurface state_
Definition: DetGroup.h:43
DetGroupElement::DetGroupElement ( const Det d,
const TrajectoryStateOnSurface s 
)
inline

Definition at line 19 of file DetGroup.h.

19  :
20  det_(d), state_(s) {}
const Det * det_
Definition: DetGroup.h:42
TrajectoryStateOnSurface state_
Definition: DetGroup.h:43
DetGroupElement::DetGroupElement ( DetGroupElement const &  rhs)
inline

Definition at line 22 of file DetGroup.h.

22 : det_(rhs.det_), state_(rhs.state_){}
const Det * det_
Definition: DetGroup.h:42
TrajectoryStateOnSurface state_
Definition: DetGroup.h:43
DetGroupElement::DetGroupElement ( DetGroupElement &&  rhs)
inline

Definition at line 23 of file DetGroup.h.

23 : det_(rhs.det_), state_(std::move(rhs.state_)){}
const Det * det_
Definition: DetGroup.h:42
TrajectoryStateOnSurface state_
Definition: DetGroup.h:43
def move(src, dest)
Definition: eostools.py:511
DetGroupElement::DetGroupElement ( const Det d,
TrajectoryStateOnSurface &&  s 
)
inline

Definition at line 34 of file DetGroup.h.

34  :
35  det_(d), state_(std::move(s)) {}
const Det * det_
Definition: DetGroup.h:42
TrajectoryStateOnSurface state_
Definition: DetGroup.h:43
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

const Det* DetGroupElement::det ( ) const
inline

Definition at line 37 of file DetGroup.h.

References det_.

37 {return det_;}
const Det * det_
Definition: DetGroup.h:42
DetGroupElement& DetGroupElement::operator= ( DetGroupElement const &  rhs)
inline

Definition at line 24 of file DetGroup.h.

References det_, and state_.

24  {
25  det_=rhs.det_;
26  state_ = rhs.state_;
27  return *this;
28  }
const Det * det_
Definition: DetGroup.h:42
TrajectoryStateOnSurface state_
Definition: DetGroup.h:43
DetGroupElement& DetGroupElement::operator= ( DetGroupElement &&  rhs)
inline

Definition at line 29 of file DetGroup.h.

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

29  {
30  det_=rhs.det_;
31  state_ = std::move(rhs.state_);
32  return *this;
33  }
const Det * det_
Definition: DetGroup.h:42
TrajectoryStateOnSurface state_
Definition: DetGroup.h:43
def move(src, dest)
Definition: eostools.py:511
const TrajectoryStateOnSurface& DetGroupElement::trajectoryState ( ) const
inline

Definition at line 38 of file DetGroup.h.

References state_.

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

Member Data Documentation

const Det* DetGroupElement::det_
private

Definition at line 42 of file DetGroup.h.

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

TrajectoryStateOnSurface DetGroupElement::state_
private

Definition at line 43 of file DetGroup.h.

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