ATLAS Offline Software
Loading...
Searching...
No Matches
TileID.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6 Tile Calorimeter detector description package
7 -----------------------------------------
8 ***************************************************************************/
9
10//<doc><file> $Id: TileID.h,v 1.14 2008-07-10 00:55:04 solodkov Exp $
11//<version> $Name: not supported by cvs2svn $
12
13// TileID.h
14//
15// Atlas detector Identifier class for Tile Calorimeter
16//
17
18#ifndef CALOIDENTIFIER_TILEID_H
19#define CALOIDENTIFIER_TILEID_H
20
22// #include "Identifier/IdentifierHash.h"
26
29
30#include <string>
31#include <vector>
32#include <set>
33
67class TileID : public Tile_Base_ID {
68
69 friend class TileNeighbour;
70
71public:
72
73 // default constructor
74 TileID();
75
77 virtual int initialize_from_dictionary (const IdDictMgr& dict_mgr);
78};
79
80
81//using the macro below we can assign an identifier (and a version)
82//This is required and checked at compile time when you try to record/retrieve
83CLASS_DEF( TileID , 2901 , 1 )
85
86#endif // CALOIDENTIFIER_TILEID_H
87
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Provide an interface for finding inheritance information at run time.
#define SG_BASE(D, B)
Declare that class D derives from class B.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Factor out code common between TileID and Tile_SuperCell_ID.
Helper class for TileCal offline identifiers.
Definition TileID.h:67
TileID()
Definition TileID.cxx:22
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition TileID.cxx:27
friend class TileNeighbour
Definition TileID.h:69
This class factors out code common between TileID and Tile_SuperCell_ID.
Tile_Base_ID(const std::string &name, const std::string &group, bool supercell)
Constructor.