ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcHardwareID.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#ifndef ZdcHARDWAREID_H
6#define ZdcHARDWAREID_H
7
11
12// based on the Tile calo identifier class
13
15
16 public:
17
18 typedef Identifier::size_type size_type ;
19
20
21 // default constructor
23
24 // default destructor
25 virtual ~ZdcHardwareID();
26
27 static int ppm(const HWIdentifier& hwid) ;
28 static int channel(const HWIdentifier& hwid) ;
29 static HWIdentifier ppm_id(int ppm) ;// {return HWIdentifier(0);}
30 static HWIdentifier channel_id(int ppm, int channel) ;// {return HWIdentifier(0);}
31
32 private:
33
34};
35
36CLASS_DEF( ZdcHardwareID , 179020 , 1 )
37
38#endif
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
AtlasDetectorID(const std::string &name, const std::string &group)
static int channel(const HWIdentifier &hwid)
virtual ~ZdcHardwareID()
Identifier::size_type size_type
static int ppm(const HWIdentifier &hwid)
static HWIdentifier channel_id(int ppm, int channel)
static HWIdentifier ppm_id(int ppm)