#include <HcalNumberingFromDDD.h>
Classes | |
struct | HcalID |
Public Member Functions | |
HcalNumberingFromDDD (const HcalDDDSimConstants *hcons) | |
HcalID | unitID (int det, const math::XYZVectorD &pos, int depth, int lay=-1) const |
HcalID | unitID (double eta, double phi, int depth=1, int lay=-1) const |
HcalID | unitID (int det, double etaR, double phi, int depth, int lay=-1) const |
HcalID | unitID (int det, int zside, int depth, int etaR, int phi, int lay=-1) const |
~HcalNumberingFromDDD () | |
Private Attributes | |
const HcalDDDSimConstants * | hcalConstants |
Definition at line 16 of file HcalNumberingFromDDD.h.
HcalNumberingFromDDD::HcalNumberingFromDDD | ( | const HcalDDDSimConstants * | hcons | ) |
Definition at line 18 of file HcalNumberingFromDDD.cc.
HcalNumberingFromDDD::~HcalNumberingFromDDD | ( | ) |
Definition at line 24 of file HcalNumberingFromDDD.cc.
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | int | det, |
const math::XYZVectorD & | pos, | ||
int | depth, | ||
int | lay = -1 |
||
) | const |
Definition at line 30 of file HcalNumberingFromDDD.cc.
References HcalDDDSimConstants::getEtaHO(), HcalBarrel, hcalConstants, HcalEndcap, HcalForward, log, SiStripPI::max, SiStripPI::min, funct::sin(), mathSSE::sqrt(), and funct::tan().
Referenced by HcalDumpGeometry::dumpTouch(), and unitID().
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | double | eta, |
double | phi, | ||
int | depth = 1 , |
||
int | lay = -1 |
||
) | const |
Definition at line 68 of file HcalNumberingFromDDD.cc.
References HcalDDDSimConstants::getDetEta(), hcalConstants, and unitID().
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | int | det, |
double | etaR, | ||
double | phi, | ||
int | depth, | ||
int | lay = -1 |
||
) | const |
Definition at line 73 of file HcalNumberingFromDDD.cc.
References HcalDDDSimConstants::getEta(), HcalDDDSimConstants::getPhiCons(), hcalConstants, nphi, unitID(), and ecaldqm::zside().
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | int | det, |
int | zside, | ||
int | depth, | ||
int | etaR, | ||
int | phi, | ||
int | lay = -1 |
||
) | const |
Definition at line 94 of file HcalNumberingFromDDD.cc.
References HcalNumberingFromDDD::HcalID::depth, HcalNumberingFromDDD::HcalID::etaR, HcalDDDSimConstants::getEtaDepth(), HcalBarrel, hcalConstants, HcalOuter, HcalNumberingFromDDD::HcalID::lay, HcalNumberingFromDDD::HcalID::phi, HcalDDDSimConstants::phiNumber(), HcalNumberingFromDDD::HcalID::subdet, createJobs::tmp, HcalDDDSimConstants::unitPhi(), units(), and HcalNumberingFromDDD::HcalID::zside.
|
private |
Definition at line 33 of file HcalNumberingFromDDD.h.
Referenced by unitID().