#include <DDEcalEndcapTrap.h>
Public Member Functions | |
void | calculateCentres () |
void | calculateCorners () |
DDTranslation | centrePos () |
DDTranslation | cornerPos (const int icorner) |
void | cornerPos (const int icorner, const DDTranslation &cc) |
DDEcalEndcapTrap ()=delete | |
DDEcalEndcapTrap (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 | rotate (const DDTranslation &frontCentre, const DDTranslation &rearCentre) |
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 DDEcalEndcapTrap.h.
DDEcalEndcapTrap::DDEcalEndcapTrap | ( | const int | hand, |
const double | front, | ||
const double | rear, | ||
const double | length | ||
) |
Definition at line 14 of file DDEcalEndcapTrap.cc.
References calculateCentres(), m_corners, m_front, m_hand, m_length, m_rear, and translate().
|
delete |
void DDEcalEndcapTrap::calculateCentres | ( | ) |
Definition at line 191 of file DDEcalEndcapTrap.cc.
References m_centre, m_corners, m_fcentre, and m_rcentre.
Referenced by DDEcalEndcapTrap(), rotate(), and translate().
void DDEcalEndcapTrap::calculateCorners | ( | ) |
DDTranslation DDEcalEndcapTrap::centrePos | ( | ) |
Definition at line 235 of file DDEcalEndcapTrap.cc.
References m_centre.
Referenced by DDEcalEndcapAlgo::EEPositionCRs(), DDEcalEndcapAlgo::execute(), moveto(), print(), and translate().
DDTranslation DDEcalEndcapTrap::cornerPos | ( | const int | icorner | ) |
Definition at line 218 of file DDEcalEndcapTrap.cc.
References m_corners.
Referenced by print(), rotate(), and translate().
void DDEcalEndcapTrap::cornerPos | ( | const int | icorner, |
const DDTranslation & | cc | ||
) |
Definition at line 225 of file DDEcalEndcapTrap.cc.
References m_corners.
double DDEcalEndcapTrap::elevationAngle | ( | ) |
Definition at line 264 of file DDEcalEndcapTrap.cc.
References fcentrePos(), and rcentrePos().
Referenced by moveto().
double DDEcalEndcapTrap::elevationAngle | ( | const DDTranslation & | trans | ) |
Definition at line 256 of file DDEcalEndcapTrap.cc.
DDTranslation DDEcalEndcapTrap::fcentrePos | ( | ) |
Definition at line 242 of file DDEcalEndcapTrap.cc.
References m_fcentre.
Referenced by elevationAngle(), polarAngle(), and print().
void DDEcalEndcapTrap::moveto | ( | const DDTranslation & | frontCentre, |
const DDTranslation & | rearCentre | ||
) |
Definition at line 141 of file DDEcalEndcapTrap.cc.
References centrePos(), elevationAngle(), polarAngle(), rotateX(), rotateY(), and translate().
Referenced by DDEcalEndcapAlgo::EEPositionCRs(), and DDEcalEndcapAlgo::execute().
double DDEcalEndcapTrap::polarAngle | ( | ) |
Definition at line 280 of file DDEcalEndcapTrap.cc.
References fcentrePos(), and rcentrePos().
Referenced by moveto().
double DDEcalEndcapTrap::polarAngle | ( | const DDTranslation & | trans | ) |
Definition at line 272 of file DDEcalEndcapTrap.cc.
void DDEcalEndcapTrap::print | ( | void | ) |
Definition at line 288 of file DDEcalEndcapTrap.cc.
References centrePos(), cornerPos(), fcentrePos(), and rcentrePos().
DDTranslation DDEcalEndcapTrap::rcentrePos | ( | ) |
Definition at line 249 of file DDEcalEndcapTrap.cc.
References m_rcentre.
Referenced by elevationAngle(), polarAngle(), and print().
void DDEcalEndcapTrap::rotate | ( | const DDRotationMatrix & | rot | ) |
Definition at line 95 of file DDEcalEndcapTrap.cc.
References calculateCentres(), cornerPos(), m_rotation, and makeMuonMisalignmentScenario::rot.
void DDEcalEndcapTrap::rotate | ( | const DDTranslation & | frontCentre, |
const DDTranslation & | rearCentre | ||
) |
Definition at line 88 of file DDEcalEndcapTrap.cc.
void DDEcalEndcapTrap::rotateX | ( | const double | angle | ) |
void DDEcalEndcapTrap::rotateY | ( | const double | angle | ) |
|
inline |
Definition at line 35 of file DDEcalEndcapTrap.h.
References m_rotation.
Referenced by DDEcalEndcapAlgo::EEPositionCRs(), and DDEcalEndcapAlgo::execute().
void DDEcalEndcapTrap::translate | ( | ) |
Definition at line 120 of file DDEcalEndcapTrap.cc.
References centrePos().
Referenced by DDEcalEndcapTrap(), and moveto().
void DDEcalEndcapTrap::translate | ( | const DDTranslation & | trans | ) |
Definition at line 127 of file DDEcalEndcapTrap.cc.
References calculateCentres(), cornerPos(), and m_translation.
Referenced by DDEcalEndcapAlgo::execute().
|
private |
Definition at line 42 of file DDEcalEndcapTrap.h.
Referenced by calculateCentres(), and centrePos().
|
private |
Definition at line 45 of file DDEcalEndcapTrap.h.
Referenced by calculateCentres(), cornerPos(), and DDEcalEndcapTrap().
|
private |
Definition at line 43 of file DDEcalEndcapTrap.h.
Referenced by calculateCentres(), and fcentrePos().
|
private |
Definition at line 46 of file DDEcalEndcapTrap.h.
Referenced by DDEcalEndcapTrap().
|
private |
Definition at line 50 of file DDEcalEndcapTrap.h.
Referenced by DDEcalEndcapTrap().
|
private |
Definition at line 48 of file DDEcalEndcapTrap.h.
Referenced by DDEcalEndcapTrap().
|
private |
Definition at line 44 of file DDEcalEndcapTrap.h.
Referenced by calculateCentres(), and rcentrePos().
|
private |
Definition at line 47 of file DDEcalEndcapTrap.h.
Referenced by DDEcalEndcapTrap().
|
private |
Definition at line 39 of file DDEcalEndcapTrap.h.
Referenced by rotate(), and rotation().
|
private |
Definition at line 40 of file DDEcalEndcapTrap.h.
Referenced by translate().
|
private |
Definition at line 51 of file DDEcalEndcapTrap.h.