|
ATLAS Offline Software
|
Go to the documentation of this file.
47 double phi=fabs(phiUpper+phiLower)/2.0;
49 const CellBinning * phiBinning=presamplerHVManager.
getPhiBinning();
50 unsigned int iPhi =
int((
phi - phiBinning->getStart())/phiBinning->getDelta()) + phiBinning->getFirstDivisionNumber();
64 double phiMid=(phiLower+phiUpper)/2.0;
70 for (
unsigned int i=etaBinning.getFirstDivisionNumber();
i<=etaBinning.getFirstDivisionNumber()+etaBinning.getNumDivisions();
i++) {
71 if (
eta>=etaBinning.binLower(
i) &&
eta<=etaBinning.binUpper(
i)) {
75 unsigned int iPhi =
int((phiMid - phiBinning.getStart())/phiBinning.getDelta()) + phiBinning.getFirstDivisionNumber();
79 unsigned int iSector =
int((phiMid - phiBinning.binLower(
iPhi) - sectorBinning.getStart())/sectorBinning.getDelta()) + sectorBinning.getFirstDivisionNumber();
80 double phiSectorStart = phiBinning.binLower(
iPhi) +iSector*sectorBinning.getDelta();
86 const double inv_2pi = M_1_PI/2;
87 unsigned int iOffset =
int(
N*(phiLower-phiSectorStart +
phi0)*inv_2pi +0.5);
88 double dPhi = fabs((phiUpper-phiLower));
99 for (
unsigned int iElectrode=iOffset;iElectrode<iOffset+
NE;iElectrode++) {
const EMECDetectorManager * getManager() const
The manager.
This class provides direct access to information on the HV electrodes within the EMEC....
const EMECHVElectrode & getElectrode(unsigned int i) const
@Get electrode
const EMECHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi, unsigned int iSector) const
double getPhiMaxNominal() const
returns a nominal phi max in global coords; assume canonical placement
Scalar phi() const
phi method
std::vector< const EMECHVElectrode * > m_electrode
Scalar eta() const
pseudorapidity method
const EMECHVElectrode & getElectrode(unsigned int iElectrode) const
unsigned int getNumElectrodes() const
@Get num electrodes
const CellBinning & getPhiBinning() const
CxxUtils::CachedValue< HVInfo > m_hvinfo
double getEtaMin() const
Minimum Eta.
const EMECDetDescr * getDescriptor() const
Returns a pointer to the descriptor.
unsigned int getEndcapIndex() const
The EndcapIndex of this Cell (0=negatiive, 1=positive)
const EMECPresamplerHVModule & getHVModule(unsigned int iSide, unsigned int iPhi) const
bool dPhi(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
const EMECHVManager & getHVManager(EMECHVManager::IOType io) const
Get the HV Managers.
const HVInfo & getHVInfo() const
const CellBinning * getPhiBinning() const
const EMECPresamplerHVModule * m_presamplerModule
const EMECPresamplerHVModule & getPresamplerHVModule() const
@Get HVModule (presampler cells)
const EMECPresamplerHVManager & getPresamplerHVManager() const
Get the HV Manager (presampler)
Describes one HV Module within the EMEc Presampler.
const EMECHVDescriptor & getDescriptor() const
const CellPartitioning & getEtaBinning() const
double getEtaMax() const
Maximum Eta.
This class provides direct access to information on the HV electrodes within the EMEC....
void initHV(HVInfo &hvinfo) const
setScale setgFexType iEta
const CellBinning & getSectorBinning() const
unsigned int getSamplingIndex() const
The sampling index of this cell.
double getPhiMinNominal() const
returns a nominal phi min in global coords; assume canonical placement