#include <DDEcalEndcapTrapX.h>
Public Member Functions | |
void | calculateCentres () |
void | calculateCorners () |
DDTranslation | centrePos () |
DDTranslation | cornerPos (const int icorner) |
void | cornerPos (const int icorner, const DDTranslation &cc) |
DDEcalEndcapTrapX ()=delete | |
DDEcalEndcapTrapX (const int hand, const double front, const double rear, const double length) | |
double | elevationAngle () |
double | elevationAngle (const DDTranslation &trans) |
DDTranslation | fcentrePos () |
void | moveto (const DDTranslation &frontCentre, const DDTranslation &rearCentre) |
double | polarAngle () |
double | polarAngle (const DDTranslation &trans) |
void | print () |
DDTranslation | rcentrePos () |
void | rotate (const DDRotationMatrix &rot) |
void | rotateX (const double angle) |
void | rotateY (const double angle) |
DDRotationMatrix | rotation () |
void | translate () |
void | translate (const DDTranslation &trans) |
Private Attributes | |
double | m_centre [4] |
double | m_corners [25] |
double | m_fcentre [4] |
double | m_front |
int | m_hand |
double | m_length |
double | m_rcentre [4] |
double | m_rear |
DDRotationMatrix | m_rotation |
DDTranslation | m_translation |
int | m_update |
Definition at line 11 of file DDEcalEndcapTrapX.h.
DDEcalEndcapTrapX::DDEcalEndcapTrapX | ( | const int | hand, |
const double | front, | ||
const double | rear, | ||
const double | length | ||
) |
Definition at line 7 of file DDEcalEndcapTrapX.cc.
References calculateCentres(), m_corners, m_front, m_hand, m_length, m_rear, and translate().
|
delete |
void DDEcalEndcapTrapX::calculateCentres | ( | ) |
Definition at line 170 of file DDEcalEndcapTrapX.cc.
References m_centre, m_corners, m_fcentre, and m_rcentre.
Referenced by DDEcalEndcapTrapX(), rotate(), and translate().
void DDEcalEndcapTrapX::calculateCorners | ( | ) |
DDTranslation DDEcalEndcapTrapX::centrePos | ( | ) |
Definition at line 214 of file DDEcalEndcapTrapX.cc.
References m_centre.
Referenced by algorithm(), moveto(), print(), and translate().
DDTranslation DDEcalEndcapTrapX::cornerPos | ( | const int | icorner | ) |
Definition at line 197 of file DDEcalEndcapTrapX.cc.
References m_corners.
Referenced by print(), rotate(), and translate().
void DDEcalEndcapTrapX::cornerPos | ( | const int | icorner, |
const DDTranslation & | cc | ||
) |
Definition at line 204 of file DDEcalEndcapTrapX.cc.
References m_corners.
double DDEcalEndcapTrapX::elevationAngle | ( | ) |
Definition at line 243 of file DDEcalEndcapTrapX.cc.
References fcentrePos(), and rcentrePos().
Referenced by moveto().
double DDEcalEndcapTrapX::elevationAngle | ( | const DDTranslation & | trans | ) |
Definition at line 235 of file DDEcalEndcapTrapX.cc.
DDTranslation DDEcalEndcapTrapX::fcentrePos | ( | ) |
Definition at line 221 of file DDEcalEndcapTrapX.cc.
References m_fcentre.
Referenced by elevationAngle(), polarAngle(), and print().
void DDEcalEndcapTrapX::moveto | ( | const DDTranslation & | frontCentre, |
const DDTranslation & | rearCentre | ||
) |
Definition at line 120 of file DDEcalEndcapTrapX.cc.
References centrePos(), elevationAngle(), polarAngle(), rotateX(), rotateY(), and translate().
Referenced by algorithm().
double DDEcalEndcapTrapX::polarAngle | ( | ) |
Definition at line 259 of file DDEcalEndcapTrapX.cc.
References fcentrePos(), and rcentrePos().
Referenced by moveto().
double DDEcalEndcapTrapX::polarAngle | ( | const DDTranslation & | trans | ) |
Definition at line 251 of file DDEcalEndcapTrapX.cc.
void DDEcalEndcapTrapX::print | ( | void | ) |
Definition at line 267 of file DDEcalEndcapTrapX.cc.
References centrePos(), cornerPos(), fcentrePos(), and rcentrePos().
DDTranslation DDEcalEndcapTrapX::rcentrePos | ( | ) |
Definition at line 228 of file DDEcalEndcapTrapX.cc.
References m_rcentre.
Referenced by elevationAngle(), polarAngle(), and print().
void DDEcalEndcapTrapX::rotate | ( | const DDRotationMatrix & | rot | ) |
Definition at line 74 of file DDEcalEndcapTrapX.cc.
References calculateCentres(), cornerPos(), m_rotation, and makeMuonMisalignmentScenario::rot.
void DDEcalEndcapTrapX::rotateX | ( | const double | angle | ) |
void DDEcalEndcapTrapX::rotateY | ( | const double | angle | ) |
|
inline |
Definition at line 34 of file DDEcalEndcapTrapX.h.
References m_rotation.
Referenced by algorithm().
void DDEcalEndcapTrapX::translate | ( | ) |
Definition at line 99 of file DDEcalEndcapTrapX.cc.
References centrePos().
Referenced by DDEcalEndcapTrapX(), and moveto().
void DDEcalEndcapTrapX::translate | ( | const DDTranslation & | trans | ) |
Definition at line 106 of file DDEcalEndcapTrapX.cc.
References calculateCentres(), cornerPos(), and m_translation.
Referenced by algorithm().
|
private |
Definition at line 41 of file DDEcalEndcapTrapX.h.
Referenced by calculateCentres(), and centrePos().
|
private |
Definition at line 44 of file DDEcalEndcapTrapX.h.
Referenced by calculateCentres(), cornerPos(), and DDEcalEndcapTrapX().
|
private |
Definition at line 42 of file DDEcalEndcapTrapX.h.
Referenced by calculateCentres(), and fcentrePos().
|
private |
Definition at line 45 of file DDEcalEndcapTrapX.h.
Referenced by DDEcalEndcapTrapX().
|
private |
Definition at line 49 of file DDEcalEndcapTrapX.h.
Referenced by DDEcalEndcapTrapX().
|
private |
Definition at line 47 of file DDEcalEndcapTrapX.h.
Referenced by DDEcalEndcapTrapX().
|
private |
Definition at line 43 of file DDEcalEndcapTrapX.h.
Referenced by calculateCentres(), and rcentrePos().
|
private |
Definition at line 46 of file DDEcalEndcapTrapX.h.
Referenced by DDEcalEndcapTrapX().
|
private |
Definition at line 38 of file DDEcalEndcapTrapX.h.
Referenced by rotate(), and rotation().
|
private |
Definition at line 39 of file DDEcalEndcapTrapX.h.
Referenced by translate().
|
private |
Definition at line 50 of file DDEcalEndcapTrapX.h.