#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 25 of file HcalNumberingFromDDD.cc.
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | int | det, |
const math::XYZVectorD & | pos, | ||
int | depth, | ||
int | lay = -1 |
||
) | const |
Definition at line 31 of file HcalNumberingFromDDD.cc.
References HcalDDDSimConstants::getEtaHO(), HcalBarrel, hcalConstants, HcalEndcap, HcalForward, cmsBatch::log, SiStripPI::max, min(), funct::sin(), mathSSE::sqrt(), and funct::tan().
Referenced by SimG4HcalValidation::fill(), HcalNumberingFromDDD::HcalID::HcalID(), unitID(), and SimG4HGCalValidation::update().
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | double | eta, |
double | phi, | ||
int | depth = 1 , |
||
int | lay = -1 |
||
) | const |
Definition at line 73 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 81 of file HcalNumberingFromDDD.cc.
References HcalDDDSimConstants::getEta(), HcalDDDSimConstants::getPhiCons(), hcalConstants, createfilelist::int, 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 106 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, tmp, HcalDDDSimConstants::unitPhi(), units(), and HcalNumberingFromDDD::HcalID::zside.
|
private |
Definition at line 38 of file HcalNumberingFromDDD.h.
Referenced by unitID().