#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 24 of file HcalNumberingFromDDD.cc.
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | int | det, |
const CLHEP::Hep3Vector & | pos, | ||
int | depth, | ||
int | lay = -1 |
||
) | const |
Definition at line 30 of file HcalNumberingFromDDD.cc.
References gather_cfg::cout, HcalDDDSimConstants::getEtaHO(), HcalBarrel, hcalConstants, HcalEndcap, HcalForward, cmsBatch::log, SiStripPI::max, min(), funct::sin(), mathSSE::sqrt(), and funct::tan().
Referenced by HcalTestAnalysis::fill(), SimG4HcalValidation::fill(), HCalSD::getHitFibreBundle(), HCalSD::getHitPMT(), HcalNumberingFromDDD::HcalID::HcalID(), HCalSD::layerWeight(), HcalTestAnalysis::qieAnalysis(), HCalSD::setDetUnitId(), unitID(), and SimG4HGCalValidation::update().
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | double | eta, |
double | phi, | ||
int | depth = 1 , |
||
int | lay = -1 |
||
) | const |
Definition at line 72 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 80 of file HcalNumberingFromDDD.cc.
References gather_cfg::cout, HcalDDDSimConstants::getEta(), HcalDDDSimConstants::getPhiCons(), hcalConstants, createfilelist::int, unitID(), and HcalDigiParam_cfi::zside.
HcalNumberingFromDDD::HcalID HcalNumberingFromDDD::unitID | ( | int | det, |
int | zside, | ||
int | depth, | ||
int | etaR, | ||
int | phi, | ||
int | lay = -1 |
||
) | const |
Definition at line 105 of file HcalNumberingFromDDD.cc.
References gather_cfg::cout, 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().