DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | Private Member Functions | List of all members
dd4hep::TwistedTubeObject Class Reference

Concrete object implementation for the Header handle. More...

#include <ShapesInterna.h>

Inheritance diagram for dd4hep::TwistedTubeObject:

Public Member Functions

 TwistedTubeObject ()=default
 Standard constructor. More...
 
 TwistedTubeObject (const char *pName, double twistedangle, double endinnerrad, double endouterrad, double negativeEndz, double positiveEndz, int nseg, double totphi)
 Initializing constructor. More...
 
virtual ~TwistedTubeObject ()=default
 Default destructor. More...
 
double GetPhiTwist () const
 Access twist angle. More...
 
double GetNegativeEndZ () const
 Access the negative z. More...
 
double GetPositiveEndZ () const
 Access the positive z. More...
 
int GetNsegments () const
 Access the number of segments. More...
 
virtual TGeoShape * GetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const override
 in case shape has some negative parameters, these has to be computed in order to fit the mother More...
 
virtual void InspectShape () const override
 print shape parameters More...
 
 ClassDefOverride (TwistedTubeObject, 0)
 

Public Attributes

double fPhiTwist {0.0}
 
double fNegativeEndz {0.0}
 
double fPositiveEndz {0.0}
 
int fNsegments {0}
 

Private Member Functions

 TwistedTubeObject (TwistedTubeObject &&)=delete
 Inhibit move constructor. More...
 
 TwistedTubeObject (const TwistedTubeObject &)=delete
 Inhibit copy constructor. More...
 
TwistedTubeObjectoperator= (TwistedTubeObject &&)=delete
 Inhibit move assignment. More...
 
TwistedTubeObjectoperator= (const TwistedTubeObject &)=delete
 Inhibit copy assignment. More...
 

Detailed Description

Concrete object implementation for the Header handle.

Author
M.Frank
Version
1.0

Definition at line 29 of file ShapesInterna.h.

Constructor & Destructor Documentation

◆ TwistedTubeObject() [1/4]

dd4hep::TwistedTubeObject::TwistedTubeObject ( TwistedTubeObject &&  )
privatedelete

Inhibit move constructor.

◆ TwistedTubeObject() [2/4]

dd4hep::TwistedTubeObject::TwistedTubeObject ( const TwistedTubeObject )
privatedelete

Inhibit copy constructor.

◆ TwistedTubeObject() [3/4]

dd4hep::TwistedTubeObject::TwistedTubeObject ( )
default

Standard constructor.

◆ TwistedTubeObject() [4/4]

dd4hep::TwistedTubeObject::TwistedTubeObject ( const char *  pName,
double  twistedangle,
double  endinnerrad,
double  endouterrad,
double  negativeEndz,
double  positiveEndz,
int  nseg,
double  totphi 
)

Initializing constructor.

◆ ~TwistedTubeObject()

virtual dd4hep::TwistedTubeObject::~TwistedTubeObject ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ ClassDefOverride()

dd4hep::TwistedTubeObject::ClassDefOverride ( TwistedTubeObject  ,
 
)

◆ GetMakeRuntimeShape()

TGeoShape * TwistedTubeObject::GetMakeRuntimeShape ( TGeoShape *  mother,
TGeoMatrix *  mat 
) const
overridevirtual

in case shape has some negative parameters, these has to be computed in order to fit the mother

Definition at line 59 of file ShapesInterna.cpp.

◆ GetNegativeEndZ()

double dd4hep::TwistedTubeObject::GetNegativeEndZ ( ) const
inline

Access the negative z.

Definition at line 62 of file ShapesInterna.h.

◆ GetNsegments()

int dd4hep::TwistedTubeObject::GetNsegments ( ) const
inline

Access the number of segments.

Definition at line 66 of file ShapesInterna.h.

◆ GetPhiTwist()

double dd4hep::TwistedTubeObject::GetPhiTwist ( ) const
inline

Access twist angle.

Definition at line 60 of file ShapesInterna.h.

◆ GetPositiveEndZ()

double dd4hep::TwistedTubeObject::GetPositiveEndZ ( ) const
inline

Access the positive z.

Definition at line 64 of file ShapesInterna.h.

◆ InspectShape()

void TwistedTubeObject::InspectShape ( ) const
overridevirtual

print shape parameters

Definition at line 43 of file ShapesInterna.cpp.

◆ operator=() [1/2]

TwistedTubeObject& dd4hep::TwistedTubeObject::operator= ( const TwistedTubeObject )
privatedelete

Inhibit copy assignment.

◆ operator=() [2/2]

TwistedTubeObject& dd4hep::TwistedTubeObject::operator= ( TwistedTubeObject &&  )
privatedelete

Inhibit move assignment.

Member Data Documentation

◆ fNegativeEndz

double dd4hep::TwistedTubeObject::fNegativeEndz {0.0}

Definition at line 41 of file ShapesInterna.h.

◆ fNsegments

int dd4hep::TwistedTubeObject::fNsegments {0}

Definition at line 43 of file ShapesInterna.h.

◆ fPhiTwist

double dd4hep::TwistedTubeObject::fPhiTwist {0.0}

Definition at line 40 of file ShapesInterna.h.

◆ fPositiveEndz

double dd4hep::TwistedTubeObject::fPositiveEndz {0.0}

Definition at line 42 of file ShapesInterna.h.


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