#include <HcalNumberingFromDDD.h>
Classes | |
struct | HcalID |
Public Member Functions | |
HcalNumberingFromDDD (HcalDDDSimConstants *hcons) | |
HcalID | unitID (int det, const CLHEP::Hep3Vector &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 | |
HcalDDDSimConstants * | hcalConstants |
Definition at line 16 of file HcalNumberingFromDDD.h.
HcalNumberingFromDDD::HcalNumberingFromDDD | ( | HcalDDDSimConstants * | hcons | ) |
Definition at line 17 of file HcalNumberingFromDDD.cc.
HcalNumberingFromDDD::~HcalNumberingFromDDD | ( | ) |
Definition at line 22 of file HcalNumberingFromDDD.cc.
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | int | det, |
const CLHEP::Hep3Vector & | pos, | ||
int | depth, | ||
int | lay = -1 |
||
) | const |
Definition at line 26 of file HcalNumberingFromDDD.cc.
References HcalDDDSimConstants::getEtaHO(), HcalBarrel, hcalConstants, HcalEndcap, HcalForward, dqm-mbProfile::log, LogDebug, bookConverter::max, min(), funct::sin(), mathSSE::sqrt(), and funct::tan().
Referenced by unitID().
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | double | eta, |
double | phi, | ||
int | depth = 1 , |
||
int | lay = -1 |
||
) | const |
Definition at line 67 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 75 of file HcalNumberingFromDDD.cc.
References HcalDDDSimConstants::getEta(), HcalDDDSimConstants::getPhiCons(), hcalConstants, LogDebug, 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 100 of file HcalNumberingFromDDD.cc.
References HcalNumberingFromDDD::HcalID::depth, HcalNumberingFromDDD::HcalID::etaR, HcalDDDSimConstants::getEtaDepth(), HcalBarrel, hcalConstants, HcalOuter, HcalNumberingFromDDD::HcalID::lay, LogDebug, HcalNumberingFromDDD::HcalID::phi, HcalDDDSimConstants::phiNumber(), HcalNumberingFromDDD::HcalID::subdet, tmp, HcalDDDSimConstants::unitPhi(), units(), and HcalNumberingFromDDD::HcalID::zside.
|
private |
Definition at line 38 of file HcalNumberingFromDDD.h.
Referenced by unitID().