EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EicCadWizardTorus Class Reference

#include <EicRoot/blob/master/eic/cad/wizard/EicCadWizardTorus.h>

+ Inheritance diagram for EicCadWizardTorus:
+ Collaboration diagram for EicCadWizardTorus:

Public Member Functions

 EicCadWizardTorus (const gp_Torus &torus)
 
 ~EicCadWizardTorus ()
 
bool IsEqual (const EicCadWizardCut *cut) const
 
TGeoCombiTrans * BuildRootVolume (const char *vname, const char *tname)
 
- Public Member Functions inherited from EicCadWizardCut
 EicCadWizardCut ()
 
 ~EicCadWizardCut ()
 
const TopoDS_Shape & GetSolid (void) const
 
void IncrementMultiplicity (void)
 
unsigned GetMultiplicity (void) const
 
void AddCommonSolid (TopoDS_Shape *solid)
 
void AddCutSolid (TopoDS_Shape *solid)
 
unsigned GetCommonSolidsCount (void) const
 
unsigned GetCutSolidsCount (void) const
 

Private Attributes

gp_Torus * mTorus
 

Additional Inherited Members

- Public Attributes inherited from EicCadWizardCut
std::vector< TopoDS_Shape * > mCutSolids
 
std::vector< TopoDS_Shape * > mCommonSolids
 
- Protected Attributes inherited from EicCadWizardCut
double mDimension
 
TopoDS_Shape * mSolid
 
unsigned mMultiplicity
 

Detailed Description

Definition at line 9 of file EicCadWizardTorus.h.

View newest version in sPHENIX GitHub at line 9 of file EicCadWizardTorus.h

Constructor & Destructor Documentation

EicCadWizardTorus::EicCadWizardTorus ( const gp_Torus &  torus)

Definition at line 12 of file EicCadWizardTorus.cxx.

View newest version in sPHENIX GitHub at line 12 of file EicCadWizardTorus.cxx

References EicCadWizardCut::mSolid, and mTorus.

EicCadWizardTorus::~EicCadWizardTorus ( )
inline

Definition at line 12 of file EicCadWizardTorus.h.

View newest version in sPHENIX GitHub at line 12 of file EicCadWizardTorus.h

Member Function Documentation

TGeoCombiTrans * EicCadWizardTorus::BuildRootVolume ( const char *  vname,
const char *  tname 
)
virtual

Implements EicCadWizardCut.

Definition at line 49 of file EicCadWizardTorus.cxx.

View newest version in sPHENIX GitHub at line 49 of file EicCadWizardTorus.cxx

References Ax3ToCombiTrans(), and mTorus.

+ Here is the call graph for this function:

bool EicCadWizardTorus::IsEqual ( const EicCadWizardCut cut) const
virtual

Implements EicCadWizardCut.

Definition at line 22 of file EicCadWizardTorus.cxx.

View newest version in sPHENIX GitHub at line 22 of file EicCadWizardTorus.cxx

References _ANGULAR_TOLERANCE_, _SPATIAL_TOLERANCE_, mTorus, and SQR.

Member Data Documentation

gp_Torus* EicCadWizardTorus::mTorus
private

Definition at line 18 of file EicCadWizardTorus.h.

View newest version in sPHENIX GitHub at line 18 of file EicCadWizardTorus.h

Referenced by BuildRootVolume(), EicCadWizardTorus(), and IsEqual().


The documentation for this class was generated from the following files: