CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
DDExpandedNode Class Reference

represents one node in the DDExpandedView More...

#include <DDExpandedNode.h>

Public Member Functions

const DDRotationMatrixabsRotation () const
 absolute rotation of this node More...
 
const DDTranslationabsTranslation () const
 absolute translation of this node More...
 
int copyno () const
 copy number of this node More...
 
 DDExpandedNode (const DDLogicalPart &lp, const DDPosData *pd, const DDTranslation &t, const DDRotationMatrix &r, int siblingno)
 
const DDLogicalPartlogicalPart () const
 the LogicalPart describing this node More...
 
bool operator== (const DDExpandedNode &n) const
 
const DDPosDataposdata () const
 
int siblingno () const
 sibling number of this node More...
 
 ~DDExpandedNode ()
 

Private Attributes

DDLogicalPart logp_
 
const DDPosDataposd_
 
DDRotationMatrix rot_
 
int siblingno_
 
DDTranslation trans_
 

Friends

class DDExpandedView
 

Detailed Description

represents one node in the DDExpandedView

Definition at line 16 of file DDExpandedNode.h.

Constructor & Destructor Documentation

◆ DDExpandedNode()

DDExpandedNode::DDExpandedNode ( const DDLogicalPart lp,
const DDPosData pd,
const DDTranslation t,
const DDRotationMatrix r,
int  siblingno 
)

Definition at line 10 of file DDExpandedNode.cc.

12  : logp_(lp), posd_(pd), trans_(t), rot_(r), siblingno_(siblingno) {}

◆ ~DDExpandedNode()

DDExpandedNode::~DDExpandedNode ( )

Definition at line 14 of file DDExpandedNode.cc.

14 {}

Member Function Documentation

◆ absRotation()

const DDRotationMatrix& DDExpandedNode::absRotation ( ) const
inline

absolute rotation of this node

Definition at line 34 of file DDExpandedNode.h.

34 { return rot_; }

References rot_.

◆ absTranslation()

const DDTranslation& DDExpandedNode::absTranslation ( ) const
inline

absolute translation of this node

Definition at line 31 of file DDExpandedNode.h.

31 { return trans_; }

References trans_.

Referenced by DDExpandedNodeLess::operator()().

◆ copyno()

int DDExpandedNode::copyno ( ) const

copy number of this node

Definition at line 20 of file DDExpandedNode.cc.

20  {
21  assert(posd_);
22  return posd_->copyno();
23 }

References cms::cuda::assert(), DDPosData::copyno(), and posd_.

◆ logicalPart()

const DDLogicalPart& DDExpandedNode::logicalPart ( ) const
inline

the LogicalPart describing this node

Definition at line 28 of file DDExpandedNode.h.

28 { return logp_; }

References logp_.

Referenced by DDExpandedNodeLess::operator()().

◆ operator==()

bool DDExpandedNode::operator== ( const DDExpandedNode n) const

Definition at line 16 of file DDExpandedNode.cc.

16  {
17  return ((logp_ == n.logp_) && (posd_->copyno() == n.posd_->copyno()));
18 }

References DDPosData::copyno(), logp_, dqmiodumpmetadata::n, and posd_.

◆ posdata()

const DDPosData* DDExpandedNode::posdata ( ) const
inline

Definition at line 42 of file DDExpandedNode.h.

42 { return posd_; }

References posd_.

◆ siblingno()

int DDExpandedNode::siblingno ( ) const
inline

sibling number of this node

Definition at line 40 of file DDExpandedNode.h.

40 { return siblingno_; }

References siblingno_.

Referenced by DDExpandedNodeLess::operator()().

Friends And Related Function Documentation

◆ DDExpandedView

friend class DDExpandedView
friend

Definition at line 17 of file DDExpandedNode.h.

Member Data Documentation

◆ logp_

DDLogicalPart DDExpandedNode::logp_
private

Definition at line 45 of file DDExpandedNode.h.

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

◆ posd_

const DDPosData* DDExpandedNode::posd_
private

Definition at line 46 of file DDExpandedNode.h.

Referenced by copyno(), operator==(), and posdata().

◆ rot_

DDRotationMatrix DDExpandedNode::rot_
private

Definition at line 48 of file DDExpandedNode.h.

Referenced by absRotation(), and DDExpandedView::nextSibling().

◆ siblingno_

int DDExpandedNode::siblingno_
private

Definition at line 49 of file DDExpandedNode.h.

Referenced by siblingno().

◆ trans_

DDTranslation DDExpandedNode::trans_
private

Definition at line 47 of file DDExpandedNode.h.

Referenced by absTranslation(), and DDExpandedView::nextSibling().

dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
DDExpandedNode::rot_
DDRotationMatrix rot_
Definition: DDExpandedNode.h:48
DDExpandedNode::logp_
DDLogicalPart logp_
Definition: DDExpandedNode.h:45
cms::cuda::assert
assert(be >=bs)
DDExpandedNode::trans_
DDTranslation trans_
Definition: DDExpandedNode.h:47
DDPosData::copyno
int copyno() const
Definition: DDPosData.h:33
DDExpandedNode::siblingno_
int siblingno_
Definition: DDExpandedNode.h:49
DDExpandedNode::siblingno
int siblingno() const
sibling number of this node
Definition: DDExpandedNode.h:40
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DDExpandedNode::posd_
const DDPosData * posd_
Definition: DDExpandedNode.h:46
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644