ATLAS Offline Software
Loading...
Searching...
No Matches
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
17class Identifier;
18
19// Class definition for this Service
20class 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
virtual int get_HV_CoolChanNum(const Identifier)=0
Returns the COOL channel number for an identifier.
virtual int get_HV_EndcapCellNum(const Identifier)=0
Returns the HV cell for an endcap identifier.
virtual int hashThisBarrelPad(int, int, int)=0
Hashes a Barrel HV pad by sector/module/pad#.
virtual int get_HV_BarrelPadNum(const Identifier)=0
Returns the HV pad for a barrel identifier.
virtual int get_HV_Endcap4PlaneNum(const Identifier)=0
Returns the 4-plane wheel number for an endcap identifier.
virtual std::string get_HV_CoolChanName(const Identifier)=0
Returns the HV line logical name in COOL channel format (":","/" -> "_")
virtual void DumpMaps()=0
Dump HV-line/pad maps.
DeclareInterfaceID(ITRT_HWMappingSvc, 1, 0)
Interface ID declaration.
virtual int get_HV_EndcapFuseNum(const Identifier)=0
Returns the fuse number (0-3) for an endcap identifier.
virtual int hashThisEndcapCell(int, int, int, int)=0
Hashes an Endcap HV cell by sector/wheel/layer/cell#.