  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   13     return StatusCode::SUCCESS;
 
   21         return StatusCode::FAILURE;
 
   38     return StatusCode::SUCCESS;
 
   45     if (!rdoColl->
empty()) {
 
   63                 bcTag = ~(3 - relBcid);
 
   65                 bcTag = (relBcid - 3);
 
   72             if (
m_idHelperSvc->stgcIdHelper().get_hash(elementId, coll_hash, &stgcContext)) {
 
   74                                 << 
"context begin_index = " << stgcContext.
begin_index()
 
   75                                 << 
" context end_index  = " << stgcContext.
end_index() << 
" the identifier is ");
 
   79             if (oldId != elementId) {
 
   81                 if (
nullptr == coll) {
 
   84                     collection = newCollection;
 
   85                     if (stgcContainer->
addCollection(newCollection, coll_hash).isFailure())
 
   86                         ATH_MSG_WARNING(
"Couldn't record sTgcDigitCollection with key=" << coll_hash << 
" in StoreGate!");
 
   90                     collection = oldCollection;
 
   98     return StatusCode::SUCCESS;
 
  
Use IdentifiableContainer with sTgcDigitCollection.
 
char data[hepevt_bytes_allocation_ATLAS]
 
void set_bcTag(uint16_t newbcTag)
 
const_pointer_type cptr()
Dereference the pointer.
 
virtual StatusCode addCollection(const T *coll, IdentifierHash hashId) override final
insert collection into container with id hash if IDC should not take ownership of collection,...
 
virtual StatusCode initialize() override final
 
size_type end_index() const
 
size_t size() const
Duplicate of fullSize for backwards compatability.
 
size_type begin_index() const
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
pointer_type ptr()
Dereference the pointer.
 
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
 
void show() const
Print out in hex form.
 
virtual bool isValid() override final
Can the handle be successfully dereferenced?
 
SG::WriteHandleKey< sTgcDigitContainer > m_stgcDigitKey
 
SG::ReadHandleKey< Muon::STGC_RawDataContainer > m_stgcRdoKey
 
ToolHandle< Muon::ISTGC_RDO_Decoder > m_stgcRdoDecoderTool
 
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
 
value_type push_back(value_type pElem)
Add an element to the end of the collection.
 
virtual const T * indexFindPtr(IdentifierHash hashId) const override final
return pointer on the found entry or null if out of range using hashed index - fast version,...
 
Identifier identify() const
 
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
 
#define ATH_MSG_WARNING(x)
 
unsigned bcTag(unsigned bcBitMap)
 
#define ATLAS_THREAD_SAFE
 
StatusCode decodeSTGC(const EventContext &ctx, const Muon::STGC_RawDataCollection *, sTgcDigitContainer *, sTgcDigitCollection *&, Identifier &) const
 
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
 
virtual StatusCode execute(const EventContext &ctx) const override final
 
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
 
size_type size() const noexcept
Returns the number of elements in the collection.
 
bool empty() const noexcept
Returns true if the collection is empty.