ATLAS Offline Software
HighGranularityTimingDetector
HGTD_RawEvent
HGTD_RawData
HGTD_RawData
HGTD_RDO_Collection.h
Go to the documentation of this file.
1
12
#ifndef HGTD_RAWDATA_HGTD_RDO_COLLECTION_H
13
#define HGTD_RAWDATA_HGTD_RDO_COLLECTION_H
14
15
#include "
AthContainers/DataVector.h
"
16
#include "
HGTD_RawData/HGTD_RDO.h
"
17
#include "
Identifier/IdentifierHash.h
"
18
19
class
HGTD_RDO_Collection
:
public
DataVector
<HGTD_RDO> {
20
// friend class HGTD_RDO_RawDataCollectionCnv_p1; //FIXME probably later
21
22
public
:
26
HGTD_RDO_Collection
() =
default
;
27
HGTD_RDO_Collection
(
IdentifierHash
hash
) :
m_id_hash
(
hash
) {}
28
29
void
setIdentifier
(
Identifier
id
) {
m_id
=
id
; }
30
31
const
IdentifierHash
&
identifierHash
()
const
{
return
m_id_hash
; }
32
const
Identifier
&
identify
()
const
{
return
m_id
; }
33
34
private
:
35
IdentifierHash
m_id_hash
;
36
Identifier
m_id
;
37
};
38
39
#endif // HGTD_RAWDATA_HGTD_RDO_COLLECTION_H
HGTD_RDO_Collection::m_id
Identifier m_id
Definition:
HGTD_RDO_Collection.h:36
HGTD_RDO_Collection
Definition:
HGTD_RDO_Collection.h:19
HGTD_RDO_Collection::HGTD_RDO_Collection
HGTD_RDO_Collection()=default
Default constructor should NOT be used, but is needed for pool I/O.
HGTD_RDO_Collection::setIdentifier
void setIdentifier(Identifier id)
Definition:
HGTD_RDO_Collection.h:29
HGTD_RDO_Collection::m_id_hash
IdentifierHash m_id_hash
Definition:
HGTD_RDO_Collection.h:35
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
HGTD_RDO_Collection::HGTD_RDO_Collection
HGTD_RDO_Collection(IdentifierHash hash)
Definition:
HGTD_RDO_Collection.h:27
id
SG::auxid_t id
Definition:
Control/AthContainers/Root/debug.cxx:220
HGTD_RDO_Collection::identifierHash
const IdentifierHash & identifierHash() const
Definition:
HGTD_RDO_Collection.h:31
IdentifierHash.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:109
HGTD_RDO.h
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
HGTD_RDO_Collection::identify
const Identifier & identify() const
Definition:
HGTD_RDO_Collection.h:32
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition:
IdentifierHash.h:25
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Thu Nov 7 2024 21:16:12 for ATLAS Offline Software by
1.8.18