|
ATLAS Offline Software
|
Go to the documentation of this file.
58 double phi=fabs(phiUpper+phiLower)/2.0;
63 unsigned int iPhi =
int((
phi - phiBinning.getStart())/phiBinning.getDelta()) + phiBinning.getFirstDivisionNumber();
64 unsigned int iEta = etaBinning.getFirstDivisionNumber();
65 unsigned int lastDivision=etaBinning.getFirstDivisionNumber()+etaBinning.getNumDivisions();
66 while (
iEta<lastDivision) {
72 if (
iEta==lastDivision)
throw std::runtime_error (
"Error in EMBCell: Presampler HV not found");
88 double phi=fabs(phiUpper+phiLower)/2.0;
91 unsigned int iEta =
int((
eta - etaBinning.getStart())/etaBinning.getDelta()) + etaBinning.getFirstDivisionNumber();
92 unsigned int iPhi =
int((
phi - phiBinning.getStart())/phiBinning.getDelta()) + phiBinning.getFirstDivisionNumber();
93 unsigned int iSector =
int(2.0*(
phi - phiBinning.binLower(
iPhi))/phiBinning.getDelta());
99 double dPhi = fabs((phiUpper-phiLower));
102 unsigned int iOffset=
int(sPhi*(M_1_PI/2*1024.)+0.5);
103 unsigned int N =
int(
dPhi*(M_1_PI/2*1024.)+0.5);
106 for (
unsigned int iElectrode=iOffset;iElectrode<iOffset+
N;iElectrode++) {
const HVInfo & getHVInfo() const
GeoIntrusivePtr< const EMBHVPathologies > EMBHVPathologiesConstLink
double getPhiLocalUpper() const
Gets the phi value at the "upper" edge of a cell.
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
void addHVPathologies(const EMBHVPathologiesConstLink &)
@Add HVPathologies
unsigned int getSamplingIndex() const
The sampling index of this cell.
unsigned int getNumElectrodes() const
@Get num electrodes
const EMBHVElectrode & getElectrode(unsigned int i) const
@Get electrode
const EMBHVManager & getHVManager() const
Get the HV Manager.
const EMBDetectorManager * getManager() const
The manager.
void initHV(HVInfo &hvinfo) const
std::vector< const EMBHVElectrode * > m_electrode
const EMBHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi, unsigned int iSector) const
const EMBHVDescriptor & getDescriptor() const
This class provides direct access to information on the HV electrodes within the barrels....
std::vector< EMBHVPathologiesConstLink > m_hvPathologies
const EMBPresamplerHVModule & getPresamplerHVModule() const
@Get HVModule (presampler cells)
bool dPhi(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
const EMBPresamplerHVModule * m_presamplerModule
double getEtaMin() const
Minimum Eta.
const EMBPresamplerHVDescriptor * getDescriptor() const
const EMBDetDescr * getDescriptor() const
Returns a pointer to the descriptor.
unsigned int getNumHVPathologies() const
@Get num HVPathologies
double getPhiMaxNominal() const
returns a nominal phi max in global coords; assume canonical placement
double getPhiMinNominal() const
returns a nominal phi min in global coords; assume canonical placement
This class provides direct access to information on the HV electrodes within the barrels....
const EMBPresamplerHVManager & getPresamplerHVManager() const
Get the HV Manager (Presampler)
const CellPartitioning & getEtaPartitioning() const
const CellBinning & getEtaBinning() const
unsigned int getEndcapIndex() const
The Side Index of this Cell (0=negatiive, 1=positive)
const CellBinning & getPhiBinning() const
const EMBHVElectrode & getElectrode(unsigned int iElectrode) const
double getEtaMax() const
Maximum Eta.
const EMBHVPathologiesConstLink & getHVPathologies(unsigned int i) const
@Get HVPathologies
Describes one HV Module within the EMB.
const CellBinning & getPhiBinning() const
const EMBPresamplerHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi) const
CxxUtils::CachedValue< HVInfo > m_hvinfo
setScale setgFexType iEta
double getPhiLocalLower() const
Gets the phi value at the "lower" edge of a cell.
Describes one HV Module within the EMB Presampler.