|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "Identifier/Identifier.h"
21 float epsilonWidth) : m_neighbours(),m_halfWidth(0)
28 int res = idHelper.
get_id(idHash,compact, &idCntxt);
38 if (
res==0) m_neighbours.push_back(otherHash);
40 if (
res==0) m_neighbours.push_back(neighbourHash);
42 if (
res==0) m_neighbours.push_back(neighbourHash);
50 m_neighbours.push_back(neighbourHash);
53 m_neighbours.push_back(neighbourHash);
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 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)
std::pair< std::vector< unsigned int >, bool > res
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)
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)
virtual double minWidth() const =0
Method to calculate minimum width of a module.
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...