|
ATLAS Offline Software
|
Go to the documentation of this file.
23 #ifndef SIDIGITIZATION_SICHARGEDDIODECOLLECTION_H
24 #define SIDIGITIZATION_SICHARGEDDIODECOLLECTION_H
30 #include <unordered_map>
32 #include "Identifier/Identifier.h"
63 std::equal_to<InDetDD::SiCellId>,
65 std::pair<const InDetDD::SiCellId, SiChargedDiode> > >
94 return a->diode().word() <
b->diode().word();
146 return (
element()->identifierFromCellId(
id));
309 #endif // SIDIGITIZATION_SICHARGEDDIODECOLLECTION_H
JetConstituentVector::iterator iterator
const InDetDD::SolidStateDetectorElementBase * element() const
static void noise(SiChargedDiode &chDiode, bool flag, bool mask=false)
virtual IdentifierHash identifyHash() const override final
SiChargedDiodeCollection()
size_t operator()(const InDetDD::SiCellId &id) const
bool isValid() const
Test if its in a valid state.
SiChargedDiodeIterator end()
SiChargedDiodeOrderedIterator orderedEnd()
SiChargedDiodeCollection(const SiChargedDiodeCollection &)
bool const RAWDATA *ch2 const
std::unordered_map< InDetDD::SiCellId, SiChargedDiode, SiChargedDiodeHash, std::equal_to< InDetDD::SiCellId >, SG::ArenaPoolSTLAllocator< std::pair< const InDetDD::SiCellId, SiChargedDiode > > > SiChargedDiodeMap
SiChargedDiodeIterator begin()
IMessageSvc * getMessageSvc(bool quiet=false)
virtual IdentifierHash identifyHash() const override final
identifier hash (inline)
const AtlasDetectorID * getIdHelper() const
Returns the id helper (inline)
SiChargedDiodeMap::iterator SiChargedDiodeIterator
void add(const SiCharge &charge)
SiChargedDiode * find(const InDetDD::SiCellId &siId)
virtual SiReadoutCellId readoutIdOfCell(const SiCellId &cellId) const =0
diode id -> readout id NB assignment of a SiReadoutCellId to a SiCellId is allowed so you are can pas...
STL-style allocator wrapper for ArenaPoolAllocator.
Identifier getId(const InDetDD::SiCellId &id) const
~SiChargedDiodeCollection()
void setDetectorElement(const InDetDD::SolidStateDetectorElementBase *SiElement)
SiChargedDiodeCollection & operator=(const SiChargedDiodeCollection &)
virtual const DetectorDesign & design() const
access to the local description (inline):
std::set< SiChargedDiode *, SiChargedDiodeOrderedSetCompare, SG::ArenaPoolSTLAllocator< SiChargedDiode * > > SiChargedDiodeOrderedSet
SiChargedDiodeMap m_chargedDiodes
const InDetDD::SolidStateDetectorElementBase * m_sielement
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
const AtlasDetectorID * id_helper()
double charge(const T &p)
void add(const InDetDD::SiCellId &diode, const T &charge)
SiChargedDiodeMap & chargedDiodes()
This class provides an abstract interface to an Identifiable object.
STL-style allocator wrapper for ArenaPoolAllocator.
size_t operator()(const SiChargedDiode *a, const SiChargedDiode *b) const
SiChargedDiodeOrderedSet m_orderedChargedDiodes
SiChargedDiodeOrderedSet::iterator SiChargedDiodeOrderedIterator
void emplace_charge(const InDetDD::SiCellId &diode, const T &charge)
SiChargedDiodeOrderedIterator orderedBegin()
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
bool AlreadyHit(const InDetDD::SiCellId &siId)
virtual Identifier identify() const override final
identifier of this detector element (inline)
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
const InDetDD::DetectorDesign & design() const
virtual Identifier identify() const override final