ATLAS Offline Software
Public Member Functions | Public Attributes | Friends | List of all members
Muon::MuonPRD_Collection_p2 Class Reference

Class to hold the persistent representation of MuonPRD_Collection. More...

#include <MuonPRD_Collection_p2.h>

Collaboration diagram for Muon::MuonPRD_Collection_p2:

Public Member Functions

 MuonPRD_Collection_p2 ()
 

Public Attributes

unsigned int m_id
 Identifier of this collection. More...
 
unsigned int m_hashId
 Hash Identifier of this collection. More...
 
unsigned short m_size
 Collection size into master collection Note I use a short. More...
 

Friends

class CscPrepDataContainerCnv_p2
 
class CscStripPrepDataContainerCnv_p2
 
class RpcPrepDataContainerCnv_p2
 
class TgcPrepDataContainerCnv_p2
 
class TgcPrepDataContainerCnv_p3
 
class MdtPrepDataContainerCnv_p2
 

Detailed Description

Class to hold the persistent representation of MuonPRD_Collection.

It's similar in design to the InDet classes, and therefore uses a very different structure to the transient class. No actual PRDs are contained in here, as the PRDs are contained in the container. Instead, here we just have the size of this collection in the container's collection of PRDs, along with the hash of this collection. See the convertor documentations for more information, e.g.

Definition at line 21 of file MuonPRD_Collection_p2.h.

Constructor & Destructor Documentation

◆ MuonPRD_Collection_p2()

Muon::MuonPRD_Collection_p2::MuonPRD_Collection_p2 ( )
inline

Definition at line 24 of file MuonPRD_Collection_p2.h.

25  :
26  m_id(0),
27  m_hashId(0),
28  m_size(0)
29  {}

Friends And Related Function Documentation

◆ CscPrepDataContainerCnv_p2

friend class CscPrepDataContainerCnv_p2
friend

Definition at line 32 of file MuonPRD_Collection_p2.h.

◆ CscStripPrepDataContainerCnv_p2

friend class CscStripPrepDataContainerCnv_p2
friend

Definition at line 33 of file MuonPRD_Collection_p2.h.

◆ MdtPrepDataContainerCnv_p2

friend class MdtPrepDataContainerCnv_p2
friend

Definition at line 37 of file MuonPRD_Collection_p2.h.

◆ RpcPrepDataContainerCnv_p2

friend class RpcPrepDataContainerCnv_p2
friend

Definition at line 34 of file MuonPRD_Collection_p2.h.

◆ TgcPrepDataContainerCnv_p2

friend class TgcPrepDataContainerCnv_p2
friend

Definition at line 35 of file MuonPRD_Collection_p2.h.

◆ TgcPrepDataContainerCnv_p3

friend class TgcPrepDataContainerCnv_p3
friend

Definition at line 36 of file MuonPRD_Collection_p2.h.

Member Data Documentation

◆ m_hashId

unsigned int Muon::MuonPRD_Collection_p2::m_hashId

Hash Identifier of this collection.

Definition at line 46 of file MuonPRD_Collection_p2.h.

◆ m_id

unsigned int Muon::MuonPRD_Collection_p2::m_id

Identifier of this collection.

Todo:
Ideally we wouldn't write this out, and would get the Id from the hash, but this doesn't seem to be easy to do with the current MdtIdHelper.

Definition at line 43 of file MuonPRD_Collection_p2.h.

◆ m_size

unsigned short Muon::MuonPRD_Collection_p2::m_size

Collection size into master collection Note I use a short.

If a collection has more than 2^16 elements (unlikely) it has to be split into two separate collections

Definition at line 51 of file MuonPRD_Collection_p2.h.


The documentation for this class was generated from the following file:
Muon::MuonPRD_Collection_p2::m_size
unsigned short m_size
Collection size into master collection Note I use a short.
Definition: MuonPRD_Collection_p2.h:51
Muon::MuonPRD_Collection_p2::m_hashId
unsigned int m_hashId
Hash Identifier of this collection.
Definition: MuonPRD_Collection_p2.h:46
Muon::MuonPRD_Collection_p2::m_id
unsigned int m_id
Identifier of this collection.
Definition: MuonPRD_Collection_p2.h:43