ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
TRT_ConditionsServices
TRT_ConditionsServices
ITRT_StrawNeighbourSvc.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_STRAWNEIGHBOURSVC_H
6
#define ITRT_STRAWNEIGHBOURSVC_H
7
12
13
#include <vector>
14
#include "GaudiKernel/IService.h"
15
16
class
Identifier
;
17
namespace
TRTCond
{
18
class
ExpandedIdentifier
;
19
}
20
21
22
class
ITRT_StrawNeighbourSvc
:
virtual
public
IService
23
{
24
public
:
25
26
DeclareInterfaceID
(
ITRT_StrawNeighbourSvc
,1,0);
27
28
virtual
void
getPad
(
Identifier
,
int
& ) = 0;
29
30
virtual
void
getChip
(
Identifier
,
int
& ) = 0;
31
32
virtual
void
getPin
(
Identifier
,
int
& ) = 0;
// Only for barrel
33
34
virtual
void
getSocket
(
Identifier
,
int
& ) =0;
35
36
//Disclaimers: getStrawFrom*** functions tested thouroughly for barrel only
37
// : getStrawsFromPad works only for barrel
38
39
virtual
void
getStrawsFromPad
(
Identifier
, std::vector<Identifier>& ) = 0;
40
virtual
void
getStrawsFromChip
(
Identifier
, std::vector<Identifier>& ) = 0;
41
42
virtual
TRTCond::ExpandedIdentifier
getFirstStrawFromChip
(
Identifier
) = 0;
43
44
virtual
int
getRunningNumbering
(
Identifier
) = 0;
45
46
virtual
int
strawNumber
(
Identifier
) = 0;
47
48
virtual
int
strawLayerNumber
(
Identifier
) = 0;
49
50
virtual
void
getAtlasIdentifier
(
int
,
Identifier
&,
Identifier
) = 0;
51
52
// chip to board conversion. Works for barrel only!
53
virtual
int
chipToBoardBarrel
(
int
,
int
) =0;
54
55
virtual
int
getRing
(
const
Identifier
&
id
) = 0;
56
57
};
58
59
#endif
ITRT_StrawNeighbourSvc
Definition
ITRT_StrawNeighbourSvc.h:23
ITRT_StrawNeighbourSvc::strawNumber
virtual int strawNumber(Identifier)=0
ITRT_StrawNeighbourSvc::getRunningNumbering
virtual int getRunningNumbering(Identifier)=0
ITRT_StrawNeighbourSvc::getFirstStrawFromChip
virtual TRTCond::ExpandedIdentifier getFirstStrawFromChip(Identifier)=0
ITRT_StrawNeighbourSvc::strawLayerNumber
virtual int strawLayerNumber(Identifier)=0
ITRT_StrawNeighbourSvc::chipToBoardBarrel
virtual int chipToBoardBarrel(int, int)=0
ITRT_StrawNeighbourSvc::getSocket
virtual void getSocket(Identifier, int &)=0
ITRT_StrawNeighbourSvc::getAtlasIdentifier
virtual void getAtlasIdentifier(int, Identifier &, Identifier)=0
ITRT_StrawNeighbourSvc::getStrawsFromPad
virtual void getStrawsFromPad(Identifier, std::vector< Identifier > &)=0
ITRT_StrawNeighbourSvc::getRing
virtual int getRing(const Identifier &id)=0
ITRT_StrawNeighbourSvc::getPin
virtual void getPin(Identifier, int &)=0
ITRT_StrawNeighbourSvc::getStrawsFromChip
virtual void getStrawsFromChip(Identifier, std::vector< Identifier > &)=0
ITRT_StrawNeighbourSvc::DeclareInterfaceID
DeclareInterfaceID(ITRT_StrawNeighbourSvc, 1, 0)
ITRT_StrawNeighbourSvc::getPad
virtual void getPad(Identifier, int &)=0
ITRT_StrawNeighbourSvc::getChip
virtual void getChip(Identifier, int &)=0
TRTCond::ExpandedIdentifier
Identifier for TRT detector elements in the conditions code.
Definition
InnerDetector/InDetConditions/TRT_ConditionsData/TRT_ConditionsData/ExpandedIdentifier.h:30
Identifier
Definition
IdentifierFieldParser.cxx:14
TRTCond
Definition
BasicRtRelation.cxx:8
Generated on
for ATLAS Offline Software by
1.17.0