ATLAS Offline Software
InnerDetector
InDetDetDescr
TRT_Cabling
TRT_Cabling
ITRT_CablingSvc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//
6
// TRT_CablingSvc class - interface class for TRT Mapping
7
//
8
9
#ifndef ITRT_CABLINGSVC_H
10
#define ITRT_CABLINGSVC_H
11
12
#include "GaudiKernel/IInterface.h"
13
14
#include "eformat/SourceIdentifier.h"
15
16
#include <vector>
17
18
19
class
IdentifierHash
;
20
class
Identifier
;
21
22
23
class
ITRT_CablingSvc
:
virtual
public
IInterface
24
{
25
26
public
:
27
28
virtual
~ITRT_CablingSvc
(){}
29
30
static
const
InterfaceID&
interfaceID
( ) ;
31
32
33
// Get Identifiers of Collections for the given ROBID
34
// virtual const std::vector<IdentifierHash>& getCollID(uint32_t rob_id) = 0 ;
35
36
// Get Identifier for each straw from BS
37
virtual
Identifier
getIdentifier
(
const
eformat::SubDetector& subdetector,
38
const
unsigned
&
rod
,
const
int
& bufferOffset,
39
IdentifierHash
& hashId)
const
= 0 ;
40
41
// Get buffer offset from staw Identifier
42
virtual
uint32_t
getBufferOffset
(
const
Identifier
&StrawId ) = 0;
43
44
// Get ROBIDs for each Detector Element (Straw Layer)
45
virtual
std::vector<uint32_t>
getRobID
(
Identifier
&
id
)
const
= 0;
46
47
// Get all RODIDs for TRT
48
virtual
const
std::vector<uint32_t>&
getAllRods
()
const
= 0;
49
50
// Get number of straws in ROD (DC, BS creation)
51
// virtual int getNumStrawInROD(uint32_t rod_id) const = 0;
52
53
// Get ROD for each straw (DC, BS creation)
54
// virtual uint32_t getRodID(Identifier& id) const = 0;
55
56
// Get Straw and ROD ID (DC, BS creation)
57
// virtual void getStrawRodID(Identifier& id, uint32_t& rod_id,
58
// uint32_t& straw_number) const = 0;
59
60
// Set parameters
61
// virtual void set_parameters() = 0;
62
63
};
64
65
inline
const
InterfaceID&
ITRT_CablingSvc::interfaceID
( )
66
{
67
static
const
InterfaceID IID (
"ITRT_CablingSvc"
, 1, 0 );
68
69
return
IID;
70
}
71
72
#endif // ITRT_CABLINGSVC_H
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
ITRT_CablingSvc::interfaceID
static const InterfaceID & interfaceID()
Definition:
ITRT_CablingSvc.h:65
ITRT_CablingSvc
Definition:
ITRT_CablingSvc.h:24
Identifier
Definition:
DetectorDescription/Identifier/Identifier/Identifier.h:32
ITRT_CablingSvc::~ITRT_CablingSvc
virtual ~ITRT_CablingSvc()
Definition:
ITRT_CablingSvc.h:28
ITRT_CablingSvc::getRobID
virtual std::vector< uint32_t > getRobID(Identifier &id) const =0
RunTileMonitoring.rod
rod
Definition:
RunTileMonitoring.py:134
ITRT_CablingSvc::getBufferOffset
virtual uint32_t getBufferOffset(const Identifier &StrawId)=0
ITRT_CablingSvc::getAllRods
virtual const std::vector< uint32_t > & getAllRods() const =0
IdentifierHash
Definition:
IdentifierHash.h:38
ITRT_CablingSvc::getIdentifier
virtual Identifier getIdentifier(const eformat::SubDetector &subdetector, const unsigned &rod, const int &bufferOffset, IdentifierHash &hashId) const =0
Generated on Sun Jun 30 2024 21:18:20 for ATLAS Offline Software by
1.8.18