ATLAS Offline Software
ZdcHardwareID.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ZdcHARDWAREID_H
6 #define ZdcHARDWAREID_H
7 
10 #include "AthenaKernel/CLASS_DEF.h"
11 
12 // based on the Tile calo identifier class
13 
15 
16  public:
17 
19 
20 
21  // default constructor
22  ZdcHardwareID(void);
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 
36 CLASS_DEF( ZdcHardwareID , 179020 , 1 )
37 
38 #endif
ZdcHardwareID::channel_id
static HWIdentifier channel_id(int ppm, int channel)
Definition: ZdcHardwareID.cxx:34
ZdcHardwareID::ppm
static int ppm(const HWIdentifier &hwid)
Definition: ZdcHardwareID.cxx:19
ZdcHardwareID::size_type
Identifier::size_type size_type
Definition: ZdcHardwareID.h:18
HWIdentifier
Definition: HWIdentifier.h:13
ZdcHardwareID::~ZdcHardwareID
virtual ~ZdcHardwareID()
Definition: ZdcHardwareID.cxx:15
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
ZdcHardwareID::ZdcHardwareID
ZdcHardwareID(void)
Definition: ZdcHardwareID.cxx:11
ZdcHardwareID
Definition: ZdcHardwareID.h:14
HWIdentifier.h
ZdcHardwareID::ppm_id
static HWIdentifier ppm_id(int ppm)
Definition: ZdcHardwareID.cxx:29
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:64
Identifier::size_type
unsigned long long size_type
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:29
CLASS_DEF.h
macros to associate a CLID to a type
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
ZdcHardwareID::channel
static int channel(const HWIdentifier &hwid)
Definition: ZdcHardwareID.cxx:24