ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
CaloIdentifier
CaloCell_SuperCell_ID.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4
*/
11
12
13
#ifndef CALOIDENTIFIER_CALOCELL_SUPERCELL_ID_H
14
#define CALOIDENTIFIER_CALOCELL_SUPERCELL_ID_H
15
16
17
#include "
AthenaKernel/CLASS_DEF.h
"
18
#include "
AtlasDetDescr/AtlasDetectorID.h
"
19
#include "
Identifier/IdentifierHash.h
"
20
21
#include "
CaloIdentifier/CaloID.h
"
22
#include "
CaloIdentifier/CaloCell_Base_ID.h
"
23
#include "
CaloIdentifier/LArNeighbours.h
"
24
#include "
AthenaKernel/BaseInfo.h
"
25
26
#include <vector>
27
#include <iostream>
28
29
30
class
IdentifierHash
;
31
class
CaloNeighbours
;
32
44
class
CaloCell_SuperCell_ID
:
public
CaloCell_Base_ID
45
{
46
47
public
:
48
49
typedef
CaloCell_Base_ID::size_type
size_type
;
50
52
CaloCell_SuperCell_ID
(
const
LArEM_SuperCell_ID
* em_id,
53
const
LArHEC_SuperCell_ID
* hec_id,
54
const
LArFCAL_SuperCell_ID
* fcal_id,
55
const
LArMiniFCAL_ID
* minifcal_id,
56
const
Tile_SuperCell_ID
* tile_id) ;
57
58
~CaloCell_SuperCell_ID
();
59
60
63
const
LArEM_SuperCell_ID
*
em_idHelper
()
const
64
{
65
return
static_cast<
const
LArEM_SuperCell_ID
*
>
66
(
CaloCell_Base_ID::em_idHelper
());
67
}
68
70
const
LArHEC_SuperCell_ID
*
hec_idHelper
()
const
71
{
72
return
static_cast<
const
LArHEC_SuperCell_ID
*
>
73
(
CaloCell_Base_ID::hec_idHelper
());
74
}
75
77
const
LArFCAL_SuperCell_ID
*
fcal_idHelper
()
const
78
{
79
return
static_cast<
const
LArFCAL_SuperCell_ID
*
>
80
(
CaloCell_Base_ID::fcal_idHelper
());
81
}
82
84
const
Tile_SuperCell_ID
*
tile_idHelper
()
const
85
{
86
return
static_cast<
const
Tile_SuperCell_ID
*
>
87
(
CaloCell_Base_ID::tile_idHelper
());
88
}
89
};
90
91
//This is required and checked at compile time when you try to record/retrieve
92
CLASS_DEF
(
CaloCell_SuperCell_ID
, 128365736 , 1 )
93
SG_BASE
(
CaloCell_SuperCell_ID
,
CaloCell_Base_ID
);
94
95
96
97
98
#endif
// not CALOIDENTIFIER_CALOCELL_SUPERCELL_ID_H
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
CaloCell_Base_ID.h
Helper base class for offline cell identifiers.
CaloID.h
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
IdentifierHash.h
LArNeighbours.h
CaloCell_Base_ID
Helper base class for offline cell identifiers.
Definition
CaloCell_Base_ID.h:40
CaloCell_Base_ID::fcal_idHelper
const LArFCAL_Base_ID * fcal_idHelper() const
access to FCAL idHelper
Definition
CaloCell_Base_ID.h:343
CaloCell_Base_ID::hec_idHelper
const LArHEC_Base_ID * hec_idHelper() const
access to HEC idHelper
Definition
CaloCell_Base_ID.h:337
CaloCell_Base_ID::tile_idHelper
const Tile_Base_ID * tile_idHelper() const
access to Tile idHelper
Definition
CaloCell_Base_ID.h:355
CaloCell_Base_ID::em_idHelper
const LArEM_Base_ID * em_idHelper() const
access to EM idHelper
Definition
CaloCell_Base_ID.h:332
CaloCell_Base_ID::CaloCell_Base_ID
CaloCell_Base_ID(const std::string &name, const LArEM_Base_ID *em_id, const LArHEC_Base_ID *hec_id, const LArFCAL_Base_ID *fcal_id, const LArMiniFCAL_ID *minifcal_id, const Tile_Base_ID *tile_id, bool supercell)
enumeration of samplings (i.e.layers) separately for various sub calorimeters
Definition
CaloCell_Base_ID.cxx:17
CaloCell_Base_ID::size_type
Identifier::size_type size_type
Definition
CaloCell_Base_ID.h:42
CaloCell_SuperCell_ID
Helper class for offline supercell identifiers.
Definition
CaloCell_SuperCell_ID.h:45
CaloCell_SuperCell_ID::fcal_idHelper
const LArFCAL_SuperCell_ID * fcal_idHelper() const
access to FCAL idHelper
Definition
CaloCell_SuperCell_ID.h:77
CaloCell_SuperCell_ID::CaloCell_SuperCell_ID
CaloCell_SuperCell_ID(const LArEM_SuperCell_ID *em_id, const LArHEC_SuperCell_ID *hec_id, const LArFCAL_SuperCell_ID *fcal_id, const LArMiniFCAL_ID *minifcal_id, const Tile_SuperCell_ID *tile_id)
Constructor.
Definition
CaloCell_SuperCell_ID.cxx:15
CaloCell_SuperCell_ID::~CaloCell_SuperCell_ID
~CaloCell_SuperCell_ID()
CaloCell_SuperCell_ID::size_type
CaloCell_Base_ID::size_type size_type
Definition
CaloCell_SuperCell_ID.h:49
CaloCell_SuperCell_ID::em_idHelper
const LArEM_SuperCell_ID * em_idHelper() const
access to EM idHelper
Definition
CaloCell_SuperCell_ID.h:63
CaloCell_SuperCell_ID::hec_idHelper
const LArHEC_SuperCell_ID * hec_idHelper() const
access to HEC idHelper
Definition
CaloCell_SuperCell_ID.h:70
CaloCell_SuperCell_ID::tile_idHelper
const Tile_SuperCell_ID * tile_idHelper() const
access to FCAL idHelper
Definition
CaloCell_SuperCell_ID.h:84
CaloNeighbours
Definition
CaloNeighbours.h:92
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
LArEM_SuperCell_ID
Helper class for LArEM offline identifiers for supercells.
Definition
LArEM_SuperCell_ID.h:119
LArFCAL_SuperCell_ID
Helper class for LArFCAL offline identifiers for supercells.
Definition
LArFCAL_SuperCell_ID.h:48
LArHEC_SuperCell_ID
Helper class for LArHEC offline identifiers for supercells.
Definition
LArHEC_SuperCell_ID.h:56
LArMiniFCAL_ID
Helper class for LArMiniFCAL offline identifiers.
Definition
LArMiniFCAL_ID.h:51
Tile_SuperCell_ID
Helper class for Tile offline identifiers for supercells.
Definition
Tile_SuperCell_ID.h:60
Generated on
for ATLAS Offline Software by
1.17.0