Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "Identifier/Identifier.h"
22 const bool doEndcapEtaNeighbours) : m_neighbours(),m_halfWidth(0)
29 int res = idHelper.
get_id(idHash,compact, &idCntxt);
56 else if(doEndcapEtaNeighbours){
59 neighbourHash =
nextInEta->identifyHash();
int get_next_in_phi(const IdentifierHash &id, IdentifierHash &next) const
Next wafer hash in phi (return == 0 for neighbor found)
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
int get_prev_in_phi(const IdentifierHash &id, IdentifierHash &prev) const
Previous wafer hash in phi (return == 0 for neighbor found)
virtual IdentifierHash identifyHash() const override final
identifier hash (inline)
virtual int get_id(const IdentifierHash &hash_id, Identifier &id, const IdContext *context=0) const override final
Create compact id from hash id (return == 0 for OK)
const SiDetectorElement * prevInEta() const
std::pair< std::vector< unsigned int >, bool > res
std::vector< IdentifierHash > m_neighbours
IdContext wafer_context(void) const
virtual double maxWidth() const =0
Method to calculate maximum width of a module.
int get_other_side(const IdentifierHash &id, IdentifierHash &other) const
Wafer hash on other side.
SiElementProperties(const IdentifierHash &idHash, const SCT_ID &idHelper, const InDetDD::SiDetectorElement &element, float epsilonWidth, const bool doEncapEtaNeighbours=false)
int get_prev_in_eta(const IdentifierHash &id, IdentifierHash &prev) const
Previous wafer hash in eta (return == 0 for neighbor found)
int get_next_in_eta(const IdentifierHash &id, IdentifierHash &next) const
Next wafer hash in eta (return == 0 for neighbor found)
const SiDetectorElement * nextInEta() const
virtual double minWidth() const =0
Method to calculate minimum width of a module.
int eta_module(const Identifier &id) const
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
bool isStereo() const
Check if it is the stereo side (useful for SCT)
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
bool is_barrel(const Identifier &id) const
Test for barrel - WARNING: id MUST be sct id, otherwise answer is not accurate. Use SiliconID for gen...