|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRT_STRAWNEIGHBOURSVC_H
6 #define TRT_STRAWNEIGHBOURSVC_H
16 #include "GaudiKernel/ServiceHandle.h"
81 std::vector<unsigned int>
m_m1;
82 std::vector<unsigned int>
m_m2;
83 std::vector<unsigned int>
m_m3;
107 inline int sign(
int a) {
return (
a == 0) ? 0 : (
a<0 ? -1 : 1); }
111 if ((strawnumber%1642)<=329)
mod =1;
112 else if ((strawnumber%1642)<=(329+520))
mod =2;
113 else if ((strawnumber%1642)<=(329+520+793))
mod =3;
virtual StatusCode initialize()
tool initialize
int m_endcapChipMapC0[12]
std::vector< unsigned int > m_layer_m2
int strawNumber(Identifier id)
std::vector< unsigned int > m_layer_m3_acc
int m_chipConversionChipToSocket_m1[22]
int strawLayerNumber(Identifier id)
void getChip(Identifier offlineID, int &chip)
int m_endcapChipMapA0[12]
void getPin(Identifier offlineID, int &pin)
int m_chipConversionChipToSocket_m2[34]
std::vector< double > m_chip_vector2
void getSocket(Identifier offlineID, int &socket)
int getModuleType(int strawnumber)
std::vector< unsigned int > m_m3
std::vector< std::vector< std::vector< int > > > m_pad_to_straw
std::vector< std::vector< std::vector< int > > > m_chip_to_straw
void getPad(Identifier offlineID, int &pad)
public methods
void getStrawsFromPad(Identifier offlineID, std::vector< Identifier > &neighbourIDs)
virtual ~TRT_StrawNeighbourSvc()
destructor
int m_chipConversionSocketToChip_m3[51]
TRTCond::ExpandedIdentifier getFirstStrawFromChip(Identifier offlineID)
TRT_StrawNeighbourSvc(const std::string &name, ISvcLocator *pSvcLocator)
constructor
int m_endcapChipMapC8[12]
int m_endcapChipMapA8[12]
virtual StatusCode finalize()
tool finalize
int m_chipConversionChipToSocket_m3[51]
The Athena Transient Store API.
void getStrawsFromChip(Identifier offlineID, std::vector< Identifier > &neighbourIDs)
::StatusCode StatusCode
StatusCode definition for legacy code.
ServiceHandle< StoreGateSvc > m_detStore
int getRunningNumbering(Identifier offlineID)
static int chipToBoardEndCap(int chip)
std::vector< unsigned int > m_layer_m2_acc
std::vector< unsigned int > m_layer_m3
std::vector< double > m_chip_vector3
std::vector< unsigned int > m_m1
Abstract interface to information on straws electronic grouping.
std::vector< unsigned int > m_layer_m1_acc
void getAtlasIdentifier(int strawnumber, Identifier &outputID, Identifier inputID)
int m_chipConversionSocketToChip_m1[22]
int m_TripletOrientation[2][32]
std::vector< double > m_chip_vector1
int chipToBoardBarrel(int chip, int layer)
std::vector< unsigned int > m_m2
Identifier for TRT detector elements in the conditions code.
int getRing(const Identifier &id)
std::vector< unsigned int > m_layer_m1
int m_chipConversionSocketToChip_m2[34]