ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
TileDetDescrRegion Class Reference

#include <TileDetDescrRegion.h>

Inheritance diagram for TileDetDescrRegion:
Collaboration diagram for TileDetDescrRegion:

Public Types

typedef TileDetDescriptor descriptor_type
 

Public Member Functions

 TileDetDescrRegion (void)
 
 TileDetDescrRegion (const Identifier &id, const descriptor_type *descriptor)
 
virtual Identifier identify () const
 
const descriptor_typedescriptor () const
 
void print () const
 
virtual IdentifierHash identifyHash () const
 
virtual const IdHelpergetHelper () const
 

Private Attributes

Identifier m_id
 
const descriptor_typem_descriptor
 

Detailed Description

class TileDetDescriptor

This class provides an interface to detector description information for the regions (sub-detectors) of the Tile calorimeter. Each instance of an TileDetDescrRegion corresponds to the description for a SINGLE region.

Information available:

Identifier: Each TileDetDescrRegion has an Identifier which uniquely identifies to which region it corresponds, i.e. which sub-detector and positive/negative half, (See classes Tile_ID, ... in TileDetDescr/TileID.h for more info.).

Print: A general print method is available.

Object ownership:

Clients are NOT responsible for deleting the objects connected to the pointers received for DetectorPosition or TileDetDescriptor objects.

Definition at line 39 of file TileDetDescrRegion.h.

Member Typedef Documentation

◆ descriptor_type

Definition at line 46 of file TileDetDescrRegion.h.

Constructor & Destructor Documentation

◆ TileDetDescrRegion() [1/2]

TileDetDescrRegion::TileDetDescrRegion ( void  )
inline

Definition at line 48 of file TileDetDescrRegion.h.

48 : m_id(id) , m_descriptor(descriptor) {}

◆ TileDetDescrRegion() [2/2]

TileDetDescrRegion::TileDetDescrRegion ( const Identifier id,
const descriptor_type descriptor 
)
inline

Definition at line 50 of file TileDetDescrRegion.h.

50  { return m_id; }
51  const descriptor_type* descriptor() const { return m_descriptor; }

Member Function Documentation

◆ descriptor()

const descriptor_type* TileDetDescrRegion::descriptor ( ) const
inline

Definition at line 54 of file TileDetDescrRegion.h.

54 :
55 

◆ getHelper()

const IdHelper * Identifiable::getHelper ( ) const
virtualinherited

Definition at line 18 of file Identifiable.cxx.

18  {
19  return (nullptr);
20 }

◆ identify()

virtual Identifier TileDetDescrRegion::identify ( ) const
inlinevirtual

Implements Identifiable.

Definition at line 53 of file TileDetDescrRegion.h.

54 :
55 

◆ identifyHash()

IdentifierHash Identifiable::identifyHash ( ) const
virtualinherited

◆ print()

void TileDetDescrRegion::print ( ) const

Definition at line 16 of file TileDetDescrRegion.cxx.

17 {
18 
20  std::cout << std::endl << " TileDetDescrRegion print: "
21  << std::endl << std::endl;
22 
23  id.print(m_id);
25 }

Member Data Documentation

◆ m_descriptor

const descriptor_type* TileDetDescrRegion::m_descriptor
private

Definition at line 60 of file TileDetDescrRegion.h.

◆ m_id

Identifier TileDetDescrRegion::m_id
private

Definition at line 59 of file TileDetDescrRegion.h.


The documentation for this class was generated from the following files:
get_generator_info.result
result
Definition: get_generator_info.py:21
TileDetDescrRegion::m_descriptor
const descriptor_type * m_descriptor
Definition: TileDetDescrRegion.h:60
TileDetDescriptor::print
void print() const
Definition: TileDetDescriptor.cxx:125
TileDetDescrRegion::descriptor_type
TileDetDescriptor descriptor_type
Definition: TileDetDescrRegion.h:46
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
TileDetDescrRegion::m_id
Identifier m_id
Definition: TileDetDescrRegion.h:59
TileDetDescrRegion::descriptor
const descriptor_type * descriptor() const
Definition: TileDetDescrRegion.h:54
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
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57