ATLAS Offline Software
ITRT_HWMappingSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ITRT_HWMappingSvc_H
6 #define ITRT_HWMappingSvc_H
7 
8 /*----------------------------------------------------------
9  * @file ITRT_HWMappingSvc.h
10  * @Service Interface for TRT_HWMappingSvc
11  * @author Denver Whittington <Denver.Whittington@cern.ch>
12  *///-------------------------------------------------------
13 
14 // Header Includes
15 #include "GaudiKernel/IService.h"
16 
17 class Identifier;
18 
19 // Class definition for this Service
20 class ITRT_HWMappingSvc : virtual public IService {
21 
22  public:
25 
27  virtual int get_HV_BarrelPadNum( const Identifier ) = 0;
28 
30  virtual int get_HV_EndcapCellNum( const Identifier ) = 0;
31 
33  virtual int get_HV_Endcap4PlaneNum( const Identifier ) = 0;
34 
36  virtual int get_HV_EndcapFuseNum( const Identifier ) = 0;
37 
39  virtual std::string get_HV_CoolChanName( const Identifier ) = 0;
40 
42  virtual int get_HV_CoolChanNum( const Identifier ) = 0;
43 
45  virtual int hashThisBarrelPad( int, int, int ) = 0;
46 
48  virtual int hashThisEndcapCell( int, int, int, int ) = 0;
49 
51  virtual void DumpMaps() = 0;
52 };
53 
54 #endif // ITRT_HWMappingSvc_H
ITRT_HWMappingSvc::get_HV_CoolChanName
virtual std::string get_HV_CoolChanName(const Identifier)=0
Returns the HV line logical name in COOL channel format (":","/" -> "_")
ITRT_HWMappingSvc::get_HV_EndcapFuseNum
virtual int get_HV_EndcapFuseNum(const Identifier)=0
Returns the fuse number (0-3) for an endcap identifier.
ITRT_HWMappingSvc::DeclareInterfaceID
DeclareInterfaceID(ITRT_HWMappingSvc, 1, 0)
Interface ID declaration.
ITRT_HWMappingSvc
Definition: ITRT_HWMappingSvc.h:20
ITRT_HWMappingSvc::DumpMaps
virtual void DumpMaps()=0
Dump HV-line/pad maps.
ITRT_HWMappingSvc::get_HV_EndcapCellNum
virtual int get_HV_EndcapCellNum(const Identifier)=0
Returns the HV cell for an endcap identifier.
ITRT_HWMappingSvc::get_HV_CoolChanNum
virtual int get_HV_CoolChanNum(const Identifier)=0
Returns the COOL channel number for an identifier.
ITRT_HWMappingSvc::get_HV_Endcap4PlaneNum
virtual int get_HV_Endcap4PlaneNum(const Identifier)=0
Returns the 4-plane wheel number for an endcap identifier.
ITRT_HWMappingSvc::get_HV_BarrelPadNum
virtual int get_HV_BarrelPadNum(const Identifier)=0
Returns the HV pad for a barrel identifier.
ITRT_HWMappingSvc::hashThisBarrelPad
virtual int hashThisBarrelPad(int, int, int)=0
Hashes a Barrel HV pad by sector/module/pad#.
ITRT_HWMappingSvc::hashThisEndcapCell
virtual int hashThisEndcapCell(int, int, int, int)=0
Hashes an Endcap HV cell by sector/wheel/layer/cell#.
Identifier
Definition: IdentifierFieldParser.cxx:14